Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 111.3 kB / 17.09 MB, free: 5.984 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.001269/0.00127, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.358/1.358, 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.1989/0.1989, allocations: 43.52 MB / 314.8 MB, free: 468 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.001403/0.001403, allocations: 65.45 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1017, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.01867/0.1204, allocations: 18.75 MB / 0.5069 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1321, allocations: 5.459 MB / 0.5122 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.135, allocations: 119.8 kB / 0.5124 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.1453, allocations: 5.852 MB / 0.5181 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007682/0.153, allocations: 2.952 MB / 0.5209 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.1561, allocations: 1.221 MB / 0.5221 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.1673, allocations: 7.479 MB / 0.5294 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2526/0.42, allocations: 7.546 MB / 0.5368 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005834/0.4258, allocations: 2.94 MB / 0.5397 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007649/0.4335, allocations: 4.019 MB / 0.5436 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002414/0.436, allocations: 0.6679 MB / 0.5443 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004536/0.4405, allocations: 1.539 MB / 0.5458 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005444/0.446, allocations: 3.745 MB / 0.5494 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008956/0.4549, allocations: 4.22 MB / 0.5535 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.4706, allocations: 13.22 MB / 0.5665 GB, free: 13.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4706, allocations: 1.594 kB / 0.5665 GB, free: 13.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4706, allocations: 0 / 0.5665 GB, free: 13.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004315/0.4711, allocations: 0 / 0.5665 GB, free: 13.91 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02236/0.4934, allocations: 8.854 MB / 0.5751 GB, free: 8.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4935, allocations: 13.05 kB / 0.5751 GB, free: 8.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01378/0.5073, allocations: 2.979 MB / 0.578 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/0.5208, allocations: 4.963 MB / 0.5829 GB, free: 3.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004862/0.5213, allocations: 452.3 kB / 0.5833 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002688/0.524, allocations: 0.5868 MB / 0.5839 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03413/0.5582, allocations: 18.49 MB / 0.6019 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000185/0.5584, allocations: 76.7 kB / 0.602 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007323/0.5592, allocations: 278.4 kB / 0.6023 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005993/0.5652, allocations: 3.544 MB / 0.6057 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03497/0.6001, allocations: 15.68 MB / 0.621 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09856/0.6987, allocations: 69.88 MB / 0.6893 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02226/0.721, allocations: 8.438 MB / 0.6975 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007533/0.7286, allocations: 4.988 MB / 0.7024 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02153/0.7502, allocations: 11.86 MB / 0.714 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.7503, allocations: 75.89 kB / 0.7141 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=347): time 7.494e-06/0.7503, allocations: 0 / 0.7141 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=389): time 0.1043/0.8546, allocations: 38.93 MB / 0.7521 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.8547, allocations: 259.3 kB / 0.7523 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2556/1.11, allocations: 7.424 MB / 0.7596 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001112/1.111, allocations: 82.67 kB / 0.7597 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003729/1.115, allocations: 5.209 MB / 0.7647 GB, free: 198.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001858/1.117, allocations: 1.448 MB / 0.7662 GB, free: 197.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003424/1.121, allocations: 2.085 MB / 0.7682 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/1.121, allocations: 303.8 kB / 0.7685 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007325/1.128, allocations: 4.464 MB / 0.7728 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009887/1.138, allocations: 10.09 MB / 0.7827 GB, free: 186 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01699/1.155, allocations: 15.64 MB / 0.798 GB, free: 174 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002158/1.155, allocations: 60.61 kB / 0.798 GB, free: 174 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.03055/1.186, allocations: 16.48 MB / 0.8141 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/1.186, allocations: 92.95 kB / 0.8142 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002414/1.186, allocations: 195.6 kB / 0.8144 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005471/1.192, allocations: 2.31 MB / 0.8166 GB, free: 167.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008568/1.2, allocations: 2.442 MB / 0.819 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/1.215, allocations: 14.44 MB / 0.8331 GB, free: 152.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009207/1.225, allocations: 0.5986 MB / 0.8337 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001936/1.226, allocations: 0.5808 MB / 0.8343 GB, free: 151.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1261): * Single equations (assignments): 1254 * 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.007399/1.234, allocations: 3.622 MB / 0.8378 GB, free: 148.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.235, allocations: 0.6401 MB / 0.8384 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.249, allocations: 9.193 MB / 0.8474 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-05/1.249, allocations: 21.42 kB / 0.8474 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/1.249, allocations: 4 kB / 0.8474 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003663/1.253, allocations: 1.332 MB / 0.8487 GB, free: 137.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001424/1.254, allocations: 62.75 kB / 0.8488 GB, free: 137.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003155/1.257, allocations: 271.5 kB / 0.8491 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006739/1.258, allocations: 250.9 kB / 0.8493 GB, free: 137.2 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01487/1.273, allocations: 9.287 MB / 0.8584 GB, free: 128 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01344/1.287, allocations: 12.22 MB / 0.8703 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003563/1.29, allocations: 3.381 MB / 0.8736 GB, free: 112.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006904/1.297, allocations: 4.742 MB / 0.8782 GB, free: 107.6 MB / 0.5919 GB Notification: Performance of Backend: time 5.51e-07/1.297, allocations: 0 / 0.8782 GB, free: 107.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01764/1.315, allocations: 8.077 MB / 0.8861 GB, free: 99.59 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02915/1.344, allocations: 16.54 MB / 0.9023 GB, free: 83.05 MB / 0.5919 GB Notification: Performance of Templates: time 0.3661/1.71, allocations: 92.44 MB / 0.9926 GB, free: 192.4 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches