Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001628/0.001628, allocations: 104.9 kB / 17.08 MB, free: 5.84 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.002162/0.002162, allocations: 195.3 kB / 18.02 MB, free: 4.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2149/0.2149, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 67.91 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.11, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01878/0.1288, allocations: 17.11 MB / 0.5053 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.1405, allocations: 5.261 MB / 0.5104 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002819/0.1434, allocations: 111.7 kB / 0.5105 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008121/0.1515, allocations: 4.848 MB / 0.5153 GB, free: 320 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007057/0.1586, allocations: 2.863 MB / 0.5181 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002728/0.1614, allocations: 1.146 MB / 0.5192 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01013/0.1715, allocations: 6.999 MB / 0.526 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2482/0.4197, allocations: 6.076 MB / 0.532 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005194/0.425, allocations: 2.622 MB / 0.5345 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005872/0.4309, allocations: 3.564 MB / 0.538 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002086/0.433, allocations: 0.5806 MB / 0.5386 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004109/0.4371, allocations: 1.6 MB / 0.5401 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004657/0.4418, allocations: 3.321 MB / 0.5434 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006127/0.4479, allocations: 3.787 MB / 0.5471 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.4618, allocations: 11.94 MB / 0.5587 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4618, allocations: 0 / 0.5587 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4619, allocations: 0 / 0.5587 GB, free: 2.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003921/0.4623, allocations: 0 / 0.5587 GB, free: 2.801 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.0242/0.4865, allocations: 8.076 MB / 0.5666 GB, free: 13.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.4865, allocations: 16.67 kB / 0.5666 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.5014, allocations: 2.863 MB / 0.5694 GB, free: 12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.5125, allocations: 4.627 MB / 0.574 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.5128, allocations: 401.8 kB / 0.5743 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001831/0.5146, allocations: 0.5255 MB / 0.5748 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03416/0.5488, allocations: 16.9 MB / 0.5914 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003324/0.5491, allocations: 68.5 kB / 0.5914 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002236/0.5514, allocations: 252.1 kB / 0.5917 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006733/0.5581, allocations: 3.256 MB / 0.5948 GB, free: 7.262 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03329/0.5915, allocations: 14.51 MB / 0.609 GB, free: 8.992 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09157/0.683, allocations: 62.42 MB / 0.67 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01971/0.7028, allocations: 6.913 MB / 0.6767 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007002/0.7098, allocations: 4.242 MB / 0.6809 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02015/0.73, allocations: 9.658 MB / 0.6903 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.902e-05/0.7301, allocations: 71.25 kB / 0.6904 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=297): time 7.373e-06/0.7301, allocations: 0 / 0.6904 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=339): time 0.1017/0.8318, allocations: 34.78 MB / 0.7243 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.832, allocations: 254.9 kB / 0.7246 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01572/0.8477, allocations: 6.74 MB / 0.7311 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001266/0.849, allocations: 76.83 kB / 0.7312 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004744/0.8538, allocations: 4.748 MB / 0.7359 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00234/0.8562, allocations: 1.271 MB / 0.7371 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006484/0.8627, allocations: 1.882 MB / 0.7389 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.8628, allocations: 301.1 kB / 0.7392 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007758/0.8705, allocations: 4.07 MB / 0.7432 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/0.8824, allocations: 9.142 MB / 0.7521 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2522/1.135, allocations: 14.16 MB / 0.766 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/1.135, allocations: 53.56 kB / 0.766 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02787/1.163, allocations: 15.12 MB / 0.7808 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/1.163, allocations: 81.31 kB / 0.7809 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002284/1.163, allocations: 177.5 kB / 0.781 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005653/1.169, allocations: 2.28 MB / 0.7832 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007032/1.176, allocations: 2.154 MB / 0.7854 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/1.191, allocations: 14.45 MB / 0.7995 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008077/1.199, allocations: 0.5471 MB / 0.8 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.201, allocations: 0.5275 MB / 0.8005 GB, free: 175.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (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 (1125): * Single equations (assignments): 1118 * 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.005341/1.206, allocations: 3.293 MB / 0.8037 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.207, allocations: 0.5753 MB / 0.8043 GB, free: 174 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01331/1.22, allocations: 8.46 MB / 0.8126 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-05/1.22, allocations: 15.05 kB / 0.8126 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.22, allocations: 0 / 0.8126 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003328/1.224, allocations: 1.227 MB / 0.8138 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.225, allocations: 56.55 kB / 0.8138 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/1.228, allocations: 238.7 kB / 0.814 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005622/1.229, allocations: 224.4 kB / 0.8143 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01404/1.243, allocations: 8.556 MB / 0.8226 GB, free: 159 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01216/1.255, allocations: 11.1 MB / 0.8335 GB, free: 148 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003391/1.258, allocations: 3.057 MB / 0.8364 GB, free: 145 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007278/1.266, allocations: 4.313 MB / 0.8407 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of Backend: time 8.11e-07/1.266, allocations: 0 / 0.8407 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01588/1.282, allocations: 7.397 MB / 0.8479 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02316/1.305, allocations: 15.16 MB / 0.8627 GB, free: 118.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1245/1.429, allocations: 84.99 MB / 0.9457 GB, free: 33.25 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches