Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 113.8 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 190 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2019/0.2019, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 60.14 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3256, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01472/0.3403, allocations: 14.4 MB / 0.5336 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.3507, allocations: 4.817 MB / 0.5384 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.3528, allocations: 93.56 kB / 0.5384 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00769/0.3605, allocations: 4.529 MB / 0.5429 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006117/0.3667, allocations: 2.413 MB / 0.5452 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.3691, allocations: 1.137 MB / 0.5463 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0082/0.3773, allocations: 6.485 MB / 0.5527 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005844/0.3832, allocations: 5.532 MB / 0.5581 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.3863, allocations: 2.274 MB / 0.5603 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.3898, allocations: 3.065 MB / 0.5633 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.391, allocations: 0.5 MB / 0.5638 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.394, allocations: 1.522 MB / 0.5653 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002672/0.3967, allocations: 2.895 MB / 0.5681 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002902/0.3996, allocations: 3.255 MB / 0.5713 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009975/0.4096, allocations: 10.33 MB / 0.5814 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4096, allocations: 0 / 0.5814 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.4096, allocations: 3.938 kB / 0.5814 GB, free: 12.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002117/0.4098, allocations: 0 / 0.5814 GB, free: 12.61 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.01272/0.4226, allocations: 7.21 MB / 0.5884 GB, free: 5.312 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4226, allocations: 11.97 kB / 0.5884 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.4347, allocations: 2.762 MB / 0.5911 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007644/0.4424, allocations: 4.068 MB / 0.5951 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.4426, allocations: 353.3 kB / 0.5954 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008981/0.4435, allocations: 467.8 kB / 0.5959 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0239/0.4674, allocations: 14.75 MB / 0.6103 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002077/0.4677, allocations: 63.45 kB / 0.6103 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009387/0.4686, allocations: 219.8 kB / 0.6105 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004969/0.4736, allocations: 2.786 MB / 0.6133 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02653/0.5001, allocations: 12.62 MB / 0.6256 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07019/0.5704, allocations: 54.98 MB / 0.6793 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/0.5885, allocations: 6.504 MB / 0.6856 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004322/0.5928, allocations: 3.592 MB / 0.6891 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.593, allocations: 37.27 kB / 0.6892 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.593, allocations: 67.8 kB / 0.6892 GB, free: 11.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=218): time 5.641e-06/0.5931, allocations: 0 / 0.6892 GB, free: 11.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=260): time 0.3395/0.9325, allocations: 32.12 MB / 0.7206 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/0.9326, allocations: 210.4 kB / 0.7208 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009967/0.9426, allocations: 6.092 MB / 0.7268 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006873/0.9433, allocations: 63.14 kB / 0.7268 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002476/0.9458, allocations: 4.317 MB / 0.731 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.947, allocations: 1.037 MB / 0.732 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002198/0.9492, allocations: 1.636 MB / 0.7336 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.605e-05/0.9493, allocations: 306.1 kB / 0.7339 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004637/0.9539, allocations: 3.487 MB / 0.7373 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005364/0.9593, allocations: 7.978 MB / 0.7451 GB, free: 152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.9697, allocations: 12.28 MB / 0.7571 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.671e-05/0.9698, allocations: 46.66 kB / 0.7572 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.01967/0.9895, allocations: 13.34 MB / 0.7702 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.311e-05/0.9896, allocations: 76.53 kB / 0.7703 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/0.9897, allocations: 156 kB / 0.7704 GB, free: 130.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005001/0.9947, allocations: 2.265 MB / 0.7726 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005581/1, allocations: 1.829 MB / 0.7744 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/1.015, allocations: 14.43 MB / 0.7885 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006886/1.022, allocations: 492 kB / 0.789 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009016/1.023, allocations: 471.9 kB / 0.7894 GB, free: 111.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 715 * Number of states: 0 () * Number of discrete variables: 62 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (952): * Single equations (assignments): 947 * 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.003724/1.026, allocations: 2.876 MB / 0.7922 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009993/1.028, allocations: 0.5355 MB / 0.7928 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/1.038, allocations: 7.132 MB / 0.7997 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/1.038, allocations: 15.91 kB / 0.7997 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.038, allocations: 3.984 kB / 0.7997 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.04, allocations: 0.6153 MB / 0.8003 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.041, allocations: 39.98 kB / 0.8004 GB, free: 100 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/1.044, allocations: 223.7 kB / 0.8006 GB, free: 99.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/1.044, allocations: 181.7 kB / 0.8008 GB, free: 99.64 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01198/1.056, allocations: 7.449 MB / 0.808 GB, free: 92.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009696/1.066, allocations: 9.461 MB / 0.8173 GB, free: 82.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002454/1.068, allocations: 2.584 MB / 0.8198 GB, free: 80.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004596/1.073, allocations: 3.866 MB / 0.8236 GB, free: 76.29 MB / 0.5606 GB Notification: Performance of Backend: time 3.71e-07/1.073, allocations: 0 / 0.8236 GB, free: 76.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.083, allocations: 6.436 MB / 0.8299 GB, free: 69.87 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01752/1.101, allocations: 13.55 MB / 0.8431 GB, free: 56.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.1066/1.208, allocations: 74.62 MB / 0.916 GB, free: 14.04 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches