Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 169 kB / 24.24 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9521/0.9521, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.148/0.148, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.875e-05, allocations: 6.25 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.01057/0.0106, allocations: 14.7 MB / 362.4 MB, free: 11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.02189, allocations: 5 MB / 367.4 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/0.02432, allocations: 127.3 kB / 367.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005189/0.02951, allocations: 4.481 MB / 372 MB, free: 1.363 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00458/0.03409, allocations: 2.593 MB / 374.6 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.03575, allocations: 1.201 MB / 375.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006129/0.04188, allocations: 7.826 MB / 383.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004088/0.04596, allocations: 5.068 MB / 388.7 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/0.04994, allocations: 3.664 MB / 392.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003268/0.05321, allocations: 3.636 MB / 396 MB, free: 9.262 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005885/0.0538, allocations: 0.5195 MB / 396.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.05536, allocations: 1.362 MB / 397.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00226/0.05762, allocations: 3.074 MB / 400.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.0592, allocations: 1.963 MB / 402.9 MB, free: 2.328 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005948/0.06515, allocations: 6.571 MB / 409.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.06515, allocations: 0 / 409.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.06516, allocations: 0 / 409.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001134/0.06527, allocations: 3.938 kB / 409.5 MB, free: 11.73 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2030 * Number of variables: 2030 Notification: Performance of Generate backend data structure: time 0.009681/0.07495, allocations: 7.696 MB / 417.2 MB, free: 3.953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.07499, allocations: 16.02 kB / 417.2 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/0.08879, allocations: 4.031 MB / 421.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006623/0.09541, allocations: 4.078 MB / 425.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.09565, allocations: 337 kB / 425.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.09672, allocations: 460 kB / 426.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.1098, allocations: 8.208 MB / 434.3 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001543/0.11, allocations: 71.41 kB / 434.3 MB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004603/0.1104, allocations: 211.8 kB / 434.6 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002783/0.1132, allocations: 2.656 MB / 437.2 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.1237, allocations: 4.569 MB / 441.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2172/0.3409, allocations: 56.25 MB / 498 MB, free: 55.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006379/0.3473, allocations: 2.819 MB / 0.4891 GB, free: 54.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.3486, allocations: 1.037 MB / 0.4901 GB, free: 54.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003243/0.3489, allocations: 235.5 kB / 0.4903 GB, free: 54.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.349, allocations: 62.45 kB / 0.4904 GB, free: 54.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=254): time 5.521e-06/0.349, allocations: 0 / 0.4904 GB, free: 54.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=324): time 0.04966/0.3986, allocations: 25.26 MB / 0.5151 GB, free: 33.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.3987, allocations: 265.4 kB / 0.5153 GB, free: 32.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/0.4032, allocations: 4.455 MB / 0.5197 GB, free: 28.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003088/0.4035, allocations: 69.7 kB / 0.5197 GB, free: 28.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.4053, allocations: 4.346 MB / 0.524 GB, free: 24.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.4063, allocations: 1.304 MB / 0.5253 GB, free: 23.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001506/0.4078, allocations: 1.731 MB / 0.527 GB, free: 21.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.984e-05/0.4079, allocations: 476.8 kB / 0.5274 GB, free: 20.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.4096, allocations: 1.137 MB / 0.5285 GB, free: 19.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003506/0.4132, allocations: 7.554 MB / 0.5359 GB, free: 9.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007684/0.4208, allocations: 9.462 MB / 0.5451 GB, free: 12.9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/0.4209, allocations: 43.94 kB / 0.5452 GB, free: 12.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=1049) (initialization): time 0.01424/0.4352, allocations: 8.396 MB / 0.5534 GB, free: 4.414 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.828e-05/0.4353, allocations: 68 kB / 0.5534 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003014/0.4356, allocations: 148 kB / 0.5536 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004092/0.4396, allocations: 1.774 MB / 0.5553 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003911/0.4436, allocations: 1.829 MB / 0.5571 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.4539, allocations: 8.316 MB / 0.5652 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00537/0.4593, allocations: 0.5656 MB / 0.5658 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007473/0.4601, allocations: 463.5 kB / 0.5662 GB, free: 7.035 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 42 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (973): * Single equations (assignments): 968 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,24,100.0%), (4,23,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002429/0.4625, allocations: 0.7778 MB / 0.567 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/0.4638, allocations: 0.5556 MB / 0.5675 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00723/0.471, allocations: 4.006 MB / 0.5714 GB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.042e-05/0.4711, allocations: 32 kB / 0.5715 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.4711, allocations: 12 kB / 0.5715 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.4711, allocations: 19.88 kB / 0.5715 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.4867, allocations: 10.5 MB / 0.5817 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.4867, allocations: 4 kB / 0.5817 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.4881, allocations: 0.5109 MB / 0.5822 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003556/0.4916, allocations: 1.54 MB / 0.5837 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/0.4919, allocations: 64 kB / 0.5838 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00774/0.4996, allocations: 7.01 MB / 0.5907 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.4996, allocations: 14.61 kB / 0.5907 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008462/0.5081, allocations: 5.56 MB / 0.5961 GB, free: 7.766 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/0.51, allocations: 0.9964 MB / 0.5971 GB, free: 6.766 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005326/0.5105, allocations: 56 kB / 0.5971 GB, free: 6.711 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.5122, allocations: 311.5 kB / 0.5974 GB, free: 6.406 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005446/0.5127, allocations: 221.4 kB / 0.5976 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/0.5129, allocations: 87.98 kB / 0.5977 GB, free: 6.105 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002925/0.5158, allocations: 2.002 MB / 0.5997 GB, free: 4.105 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5158, allocations: 0 / 0.5997 GB, free: 4.105 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005364/0.5212, allocations: 1.769 MB / 0.6014 GB, free: 2.336 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.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 (263): * Single equations (assignments): 258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,21,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006285/0.5218, allocations: 226.5 kB / 0.6016 GB, free: 2.109 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.1681/0.69, allocations: 5.067 MB / 0.6066 GB, free: 149.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/0.69, allocations: 0 / 0.6066 GB, free: 149.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003151/0.6931, allocations: 1.886 MB / 0.6084 GB, free: 149.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/0.6968, allocations: 0.6155 MB / 0.609 GB, free: 149.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/0.7132, allocations: 11.97 MB / 0.6207 GB, free: 144.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.7147, allocations: 1.805 MB / 0.6225 GB, free: 144.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003239/0.718, allocations: 2.045 MB / 0.6245 GB, free: 144.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000818/0.7188, allocations: 352.9 kB / 0.6248 GB, free: 144.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.914e-06/0.7188, allocations: 0 / 0.6248 GB, free: 144.2 MB / 442.7 MB Notification: Performance of Templates: time 0.07122/0.79, allocations: 65.21 MB / 0.6885 GB, free: 80.38 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0318704231176525]