Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001776/0.001777, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 71.89 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4193, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01551/0.4349, allocations: 13.46 MB / 0.5437 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.4456, allocations: 4.207 MB / 0.5478 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003216/0.4488, allocations: 68.34 kB / 0.5478 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004428/0.4533, allocations: 1.964 MB / 0.5498 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.459, allocations: 1.886 MB / 0.5516 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.4608, allocations: 0.5537 MB / 0.5521 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006105/0.4669, allocations: 4.047 MB / 0.5561 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004547/0.4715, allocations: 2.86 MB / 0.5589 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.4745, allocations: 1.448 MB / 0.5603 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.4779, allocations: 2.013 MB / 0.5623 GB, free: 1.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00122/0.4792, allocations: 308 kB / 0.5626 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.4823, allocations: 1.003 MB / 0.5635 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00272/0.4851, allocations: 1.854 MB / 0.5653 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004633/0.4897, allocations: 2.24 MB / 0.5675 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.5009, allocations: 7.286 MB / 0.5746 GB, free: 4.414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.501, allocations: 4 kB / 0.5747 GB, free: 4.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.501, allocations: 0 / 0.5747 GB, free: 4.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003283/0.5014, allocations: 4 kB / 0.5747 GB, free: 4.406 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01291/0.5143, allocations: 4.881 MB / 0.5794 GB, free: 15.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.5144, allocations: 12.03 kB / 0.5794 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002127/0.5165, allocations: 0.8196 MB / 0.5802 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.5276, allocations: 3.141 MB / 0.5833 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005727/0.5334, allocations: 2.407 MB / 0.5857 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.5337, allocations: 238.2 kB / 0.5859 GB, free: 8.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/0.5349, allocations: 315.6 kB / 0.5862 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02305/0.558, allocations: 12.08 MB / 0.598 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/0.5582, allocations: 31.66 kB / 0.598 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001318/0.5596, allocations: 147.8 kB / 0.5981 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004935/0.5645, allocations: 2.831 MB / 0.6009 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02327/0.5878, allocations: 11.36 MB / 0.612 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0633/0.6512, allocations: 41.03 MB / 0.6521 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01242/0.6636, allocations: 6.082 MB / 0.658 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004319/0.668, allocations: 3.006 MB / 0.6609 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001881/0.6699, allocations: 1.884 MB / 0.6628 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/0.67, allocations: 53.12 kB / 0.6628 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 7.924e-06/0.67, allocations: 0 / 0.6628 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.04941/0.7194, allocations: 20.15 MB / 0.6825 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.7195, allocations: 73.41 kB / 0.6826 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004812/0.7244, allocations: 3.031 MB / 0.6855 GB, free: 352 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004015/0.7248, allocations: 61.7 kB / 0.6856 GB, free: 284 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001903/0.7267, allocations: 2.985 MB / 0.6885 GB, free: 13.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.7279, allocations: 1.014 MB / 0.6895 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002238/0.7301, allocations: 1.194 MB / 0.6907 GB, free: 11.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.7302, allocations: 305.1 kB / 0.691 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004254/0.7345, allocations: 2.846 MB / 0.6937 GB, free: 7.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006387/0.7409, allocations: 6.022 MB / 0.6996 GB, free: 304 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.7523, allocations: 9.661 MB / 0.7091 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/0.7525, allocations: 35.98 kB / 0.7091 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01844/0.7709, allocations: 10.01 MB / 0.7189 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.7711, allocations: 55.94 kB / 0.7189 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/0.7713, allocations: 116 kB / 0.719 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/0.775, allocations: 1.362 MB / 0.7204 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004923/0.78, allocations: 1.372 MB / 0.7217 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.7905, allocations: 7.804 MB / 0.7293 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3091/1.1, allocations: 361.1 kB / 0.7297 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/1.101, allocations: 340.3 kB / 0.73 GB, free: 174.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 711 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005858/1.107, allocations: 2.301 MB / 0.7322 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008336/1.108, allocations: 306.6 kB / 0.7325 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/1.121, allocations: 6.617 MB / 0.739 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001487/1.122, allocations: 53.06 kB / 0.739 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-05/1.122, allocations: 10 kB / 0.7391 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.597e-05/1.122, allocations: 11.2 kB / 0.7391 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02811/1.15, allocations: 13.88 MB / 0.7526 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/1.15, allocations: 6.219 kB / 0.7526 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/1.152, allocations: 459.4 kB / 0.7531 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003155/1.155, allocations: 1.211 MB / 0.7542 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007131/1.156, allocations: 47.81 kB / 0.7543 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007657/1.164, allocations: 7.024 MB / 0.7612 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.164, allocations: 11.94 kB / 0.7612 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/1.178, allocations: 9.864 MB / 0.7708 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009209/1.179, allocations: 363.7 kB / 0.7711 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001213/1.18, allocations: 44 kB / 0.7712 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/1.182, allocations: 191.7 kB / 0.7714 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008007/1.183, allocations: 169.5 kB / 0.7715 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002738/1.183, allocations: 78.88 kB / 0.7716 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003063/1.186, allocations: 1.871 MB / 0.7734 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.22e-07/1.187, allocations: 0 / 0.7734 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005993/1.193, allocations: 1.096 MB / 0.7745 GB, free: 148.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01443/1.207, allocations: 10.54 MB / 0.7848 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.217, allocations: 6.975 MB / 0.7916 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.217, allocations: 4 kB / 0.7916 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003764/1.221, allocations: 2.857 MB / 0.7944 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/1.224, allocations: 416 kB / 0.7948 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07565/1.299, allocations: 48.83 MB / 0.8425 GB, free: 73.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005757/1.305, allocations: 3.574 MB / 0.846 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005922/1.311, allocations: 2.196 MB / 0.8481 GB, free: 67.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004012/1.315, allocations: 2.069 MB / 0.8501 GB, free: 65.62 MB / 0.5762 GB Notification: Performance of SimCode: time 2.014e-06/1.315, allocations: 0 / 0.8501 GB, free: 65.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1196/1.435, allocations: 71.21 MB / 0.9197 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.42/24.85, allocations: 7.703 kB / 0.9197 GB, free: 10.69 MB / 0.5919 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches