Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 113.9 kB / 18.46 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.001832/0.001832, allocations: 186.1 kB / 19.39 MB, free: 3.691 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.342/1.342, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.2031/0.2031, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3278, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01569/0.3435, allocations: 14.96 MB / 0.5342 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.3553, allocations: 4.978 MB / 0.5391 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.3586, allocations: 107 kB / 0.5392 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009695/0.3683, allocations: 4.776 MB / 0.5438 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007714/0.376, allocations: 2.586 MB / 0.5463 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.379, allocations: 1.139 MB / 0.5475 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.3891, allocations: 6.801 MB / 0.5541 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00781/0.3969, allocations: 5.844 MB / 0.5598 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004151/0.4011, allocations: 2.399 MB / 0.5622 GB, free: 328 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004603/0.4057, allocations: 3.174 MB / 0.5652 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001569/0.4073, allocations: 0.5156 MB / 0.5658 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.4108, allocations: 1.561 MB / 0.5673 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003507/0.4143, allocations: 3.02 MB / 0.5702 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005318/0.4197, allocations: 3.406 MB / 0.5736 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.4322, allocations: 10.73 MB / 0.584 GB, free: 9.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.4323, allocations: 4 kB / 0.584 GB, free: 9.828 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4323, allocations: 0 / 0.584 GB, free: 9.828 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003498/0.4326, allocations: 4 kB / 0.584 GB, free: 9.824 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01752/0.4502, allocations: 7.601 MB / 0.5915 GB, free: 2.125 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4502, allocations: 8.031 kB / 0.5915 GB, free: 2.117 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.4633, allocations: 2.797 MB / 0.5942 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009359/0.4727, allocations: 4.348 MB / 0.5984 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/0.473, allocations: 361.6 kB / 0.5988 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/0.4746, allocations: 479.7 kB / 0.5992 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0278/0.5024, allocations: 15.26 MB / 0.6141 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002551/0.5026, allocations: 59.5 kB / 0.6142 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/0.5039, allocations: 231.8 kB / 0.6144 GB, free: 9.559 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00521/0.5091, allocations: 2.883 MB / 0.6172 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02861/0.5378, allocations: 12.99 MB / 0.6299 GB, free: 9.648 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07639/0.6142, allocations: 57.11 MB / 0.6857 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/0.6307, allocations: 5.793 MB / 0.6914 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004679/0.6354, allocations: 3.651 MB / 0.6949 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01408/0.6495, allocations: 8.215 MB / 0.7029 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.6496, allocations: 60.14 kB / 0.703 GB, free: 13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 6.241e-06/0.6496, allocations: 0 / 0.703 GB, free: 13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=269): time 0.3992/1.049, allocations: 31.57 MB / 0.7338 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/1.049, allocations: 235.5 kB / 0.7341 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007725/1.057, allocations: 6.448 MB / 0.7404 GB, free: 159 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005013/1.057, allocations: 72.92 kB / 0.7404 GB, free: 159 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002121/1.059, allocations: 4.523 MB / 0.7448 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009449/1.06, allocations: 1.073 MB / 0.7459 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/1.062, allocations: 1.714 MB / 0.7476 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.421e-05/1.062, allocations: 309 kB / 0.7479 GB, free: 154 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/1.066, allocations: 3.449 MB / 0.7512 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005156/1.071, allocations: 8.165 MB / 0.7592 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009893/1.081, allocations: 12.47 MB / 0.7714 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-05/1.081, allocations: 48 kB / 0.7714 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.01883/1.1, allocations: 13.47 MB / 0.7846 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.409e-05/1.1, allocations: 79.84 kB / 0.7847 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/1.1, allocations: 164 kB / 0.7848 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005096/1.105, allocations: 2.273 MB / 0.787 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005655/1.111, allocations: 1.883 MB / 0.7889 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/1.125, allocations: 14.4 MB / 0.8029 GB, free: 96.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006902/1.132, allocations: 483.4 kB / 0.8034 GB, free: 96.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009607/1.133, allocations: 499.8 kB / 0.8039 GB, free: 96.03 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 750 * Number of states: 0 () * Number of discrete variables: 65 (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,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (993): * Single equations (assignments): 986 * Array equations: 5 * 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.003849/1.137, allocations: 2.997 MB / 0.8068 GB, free: 93.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.138, allocations: 0.5627 MB / 0.8073 GB, free: 92.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/1.148, allocations: 6.999 MB / 0.8142 GB, free: 85.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.148, allocations: 15.95 kB / 0.8142 GB, free: 85.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/1.148, allocations: 4 kB / 0.8142 GB, free: 85.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.15, allocations: 0.6299 MB / 0.8148 GB, free: 84.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000668/1.15, allocations: 47.98 kB / 0.8149 GB, free: 84.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/1.152, allocations: 187.7 kB / 0.815 GB, free: 84.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004185/1.153, allocations: 181.7 kB / 0.8152 GB, free: 84.36 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01146/1.164, allocations: 7.372 MB / 0.8224 GB, free: 77.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009/1.173, allocations: 9.152 MB / 0.8313 GB, free: 67.81 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002384/1.176, allocations: 2.461 MB / 0.8337 GB, free: 65.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005822/1.182, allocations: 4.094 MB / 0.8377 GB, free: 61.26 MB / 0.5606 GB Notification: Performance of Backend: time 7.01e-07/1.182, allocations: 0 / 0.8377 GB, free: 61.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.192, allocations: 6.532 MB / 0.8441 GB, free: 54.76 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01861/1.211, allocations: 14.19 MB / 0.858 GB, free: 40.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.1393/1.35, allocations: 74.87 MB / 0.9311 GB, free: 14.05 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches