Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.001687/0.001687, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 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.001563/0.001563, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 46.96 MB / 361.6 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.91 kB / 0.4973 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3038, allocations: 66.04 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01503/0.3188, allocations: 11.92 MB / 0.5735 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.3292, allocations: 4.536 MB / 0.5779 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.3312, allocations: 103.5 kB / 0.578 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009195/0.3404, allocations: 4.334 MB / 0.5822 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00598/0.3463, allocations: 2.288 MB / 0.5845 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.3488, allocations: 1.143 MB / 0.5856 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008181/0.357, allocations: 6.351 MB / 0.5918 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005139/0.3622, allocations: 4.314 MB / 0.596 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.3656, allocations: 2.282 MB / 0.5982 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004596/0.3702, allocations: 3.158 MB / 0.6013 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.3712, allocations: 500 kB / 0.6018 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.374, allocations: 1.412 MB / 0.6032 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002747/0.3767, allocations: 2.762 MB / 0.6059 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003131/0.3798, allocations: 2.295 MB / 0.6081 GB, free: 4.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.3924, allocations: 9.791 MB / 0.6177 GB, free: 10.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3924, allocations: 4 kB / 0.6177 GB, free: 10.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3924, allocations: 0 / 0.6177 GB, free: 10.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003629/0.3927, allocations: 0 / 0.6177 GB, free: 10.71 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1985 * Number of variables: 1985 Notification: Performance of Generate backend data structure: time 0.01858/0.4113, allocations: 6.774 MB / 0.6243 GB, free: 3.863 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4114, allocations: 15.95 kB / 0.6243 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.4232, allocations: 2.614 MB / 0.6269 GB, free: 1.227 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.4334, allocations: 3.823 MB / 0.6306 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.4338, allocations: 340.9 kB / 0.6309 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/0.4354, allocations: 455.9 kB / 0.6313 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02862/0.464, allocations: 14.15 MB / 0.6452 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/0.4642, allocations: 55.53 kB / 0.6452 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007664/0.4649, allocations: 211.8 kB / 0.6454 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004737/0.4697, allocations: 2.535 MB / 0.6479 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02624/0.4959, allocations: 12.1 MB / 0.6597 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07247/0.5684, allocations: 47.97 MB / 0.7066 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01689/0.5853, allocations: 5.548 MB / 0.712 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005249/0.5905, allocations: 3.565 MB / 0.7155 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02288/0.6134, allocations: 12.02 MB / 0.7272 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/0.6135, allocations: 60.56 kB / 0.7272 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=228): time 6.553e-06/0.6135, allocations: 0 / 0.7272 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=270): time 0.3456/0.959, allocations: 29.48 MB / 0.756 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.9591, allocations: 209.9 kB / 0.7562 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004756/0.9638, allocations: 4.461 MB / 0.7606 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006644/0.9645, allocations: 61.7 kB / 0.7607 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001618/0.9661, allocations: 3.994 MB / 0.7646 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009795/0.9671, allocations: 1.06 MB / 0.7656 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/0.9688, allocations: 1.516 MB / 0.7671 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.9689, allocations: 305.1 kB / 0.7674 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003576/0.9724, allocations: 3.289 MB / 0.7706 GB, free: 134 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004969/0.9774, allocations: 7.392 MB / 0.7778 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009525/0.9869, allocations: 11.39 MB / 0.7889 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.532e-05/0.987, allocations: 43.94 kB / 0.789 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.01854/1.006, allocations: 12.45 MB / 0.8011 GB, free: 98.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-05/1.006, allocations: 64 kB / 0.8012 GB, free: 98.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.662e-05/1.006, allocations: 140 kB / 0.8013 GB, free: 98.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005017/1.011, allocations: 2.246 MB / 0.8035 GB, free: 96.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/1.016, allocations: 1.696 MB / 0.8052 GB, free: 94.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/1.03, allocations: 13.98 MB / 0.8188 GB, free: 80.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/1.035, allocations: 439.5 kB / 0.8192 GB, free: 80.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007585/1.036, allocations: 435.8 kB / 0.8196 GB, free: 79.64 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 59 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (888): * Single equations (assignments): 883 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003282/1.039, allocations: 2.691 MB / 0.8223 GB, free: 76.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007729/1.04, allocations: 417.2 kB / 0.8227 GB, free: 76.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.05, allocations: 6.917 MB / 0.8294 GB, free: 69.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/1.05, allocations: 11.95 kB / 0.8294 GB, free: 69.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.05, allocations: 7.844 kB / 0.8294 GB, free: 69.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007509/1.051, allocations: 377 kB / 0.8298 GB, free: 69.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005639/1.051, allocations: 44 kB / 0.8298 GB, free: 69.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/1.053, allocations: 212.2 kB / 0.83 GB, free: 68.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/1.054, allocations: 201.5 kB / 0.8302 GB, free: 68.75 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01119/1.065, allocations: 7.36 MB / 0.8374 GB, free: 61.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008891/1.074, allocations: 9.109 MB / 0.8463 GB, free: 52.26 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002302/1.076, allocations: 2.323 MB / 0.8486 GB, free: 49.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002899/1.079, allocations: 2.593 MB / 0.8511 GB, free: 47.34 MB / 0.5606 GB Notification: Performance of Backend: time 3.9e-07/1.079, allocations: 4 kB / 0.8511 GB, free: 47.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009221/1.088, allocations: 5.739 MB / 0.8567 GB, free: 41.61 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01644/1.105, allocations: 12.58 MB / 0.869 GB, free: 28.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.1207/1.225, allocations: 76.28 MB / 0.9435 GB, free: 1.344 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.771402461003163]