Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 104.2 kB / 17.08 MB, free: 5.988 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.00165/0.001651, allocations: 198.2 kB / 18.02 MB, free: 5.07 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.389/1.389, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.203/0.203, allocations: 43.53 MB / 314.8 MB, free: 472 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.001465/0.001465, allocations: 67.89 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1117, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01798/0.1297, allocations: 17.67 MB / 0.5058 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.141, allocations: 5.377 MB / 0.5111 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003329/0.1444, allocations: 115.7 kB / 0.5112 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009325/0.1538, allocations: 5.085 MB / 0.5162 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007118/0.1609, allocations: 2.84 MB / 0.5189 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.1638, allocations: 1.252 MB / 0.5202 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009991/0.1738, allocations: 7.916 MB / 0.5279 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2422/0.416, allocations: 6.248 MB / 0.534 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005873/0.4219, allocations: 2.767 MB / 0.5367 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007032/0.4289, allocations: 3.862 MB / 0.5405 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002492/0.4315, allocations: 0.607 MB / 0.5411 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00613/0.4376, allocations: 1.608 MB / 0.5426 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006104/0.4437, allocations: 3.545 MB / 0.5461 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007728/0.4515, allocations: 3.946 MB / 0.55 GB, free: 5.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.4662, allocations: 12.34 MB / 0.562 GB, free: 1.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4663, allocations: 0 / 0.562 GB, free: 1.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4663, allocations: 0 / 0.562 GB, free: 1.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003981/0.4667, allocations: 0 / 0.562 GB, free: 1.258 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.01926/0.4859, allocations: 8.318 MB / 0.5701 GB, free: 11.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.486, allocations: 9.344 kB / 0.5701 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.5017, allocations: 3.217 MB / 0.5733 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/0.5146, allocations: 5.297 MB / 0.5785 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.5149, allocations: 406.9 kB / 0.5788 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002545/0.5175, allocations: 0.5428 MB / 0.5794 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0307/0.5482, allocations: 16.38 MB / 0.5954 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000213/0.5484, allocations: 81.36 kB / 0.5954 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007031/0.5492, allocations: 256.1 kB / 0.5957 GB, free: 6.516 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004976/0.5541, allocations: 3.07 MB / 0.5987 GB, free: 3.484 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0274/0.5816, allocations: 13.65 MB / 0.612 GB, free: 6.098 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08227/0.6639, allocations: 62.09 MB / 0.6727 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01462/0.6785, allocations: 6.119 MB / 0.6786 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005132/0.6837, allocations: 3.418 MB / 0.682 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/0.6839, allocations: 49.73 kB / 0.682 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/0.684, allocations: 66.73 kB / 0.6821 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 6.562e-06/0.684, allocations: 0 / 0.6821 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.07771/0.7618, allocations: 26.3 MB / 0.7078 GB, free: 3.027 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/0.762, allocations: 269.1 kB / 0.708 GB, free: 2.711 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01619/0.7782, allocations: 7.035 MB / 0.7149 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008767/0.7791, allocations: 65.7 kB / 0.715 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004318/0.7834, allocations: 4.959 MB / 0.7198 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001784/0.7852, allocations: 1.041 MB / 0.7208 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003658/0.7889, allocations: 1.844 MB / 0.7226 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.789, allocations: 301.1 kB / 0.7229 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005212/0.7942, allocations: 3.414 MB / 0.7262 GB, free: 60 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009197/0.8034, allocations: 8.714 MB / 0.7347 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/0.8203, allocations: 12.98 MB / 0.7474 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001544/0.8205, allocations: 52 kB / 0.7475 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.2894/1.11, allocations: 13.41 MB / 0.7606 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/1.11, allocations: 88.44 kB / 0.7606 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003002/1.11, allocations: 186.5 kB / 0.7608 GB, free: 192.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00517/1.116, allocations: 1.786 MB / 0.7626 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00716/1.123, allocations: 2.092 MB / 0.7646 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/1.137, allocations: 12.63 MB / 0.7769 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007704/1.145, allocations: 0.5071 MB / 0.7774 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/1.146, allocations: 0.5302 MB / 0.778 GB, free: 187 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1110): * Single equations (assignments): 1104 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005964/1.152, allocations: 3.326 MB / 0.7812 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.153, allocations: 0.5837 MB / 0.7818 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.164, allocations: 5.992 MB / 0.7876 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.349e-05/1.164, allocations: 17.38 kB / 0.7876 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.164, allocations: 3.938 kB / 0.7876 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003742/1.167, allocations: 1.064 MB / 0.7887 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009254/1.168, allocations: 43.69 kB / 0.7887 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/1.171, allocations: 186.3 kB / 0.7889 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004667/1.171, allocations: 177.8 kB / 0.7891 GB, free: 183 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009664/1.181, allocations: 6.41 MB / 0.7953 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008867/1.19, allocations: 8.304 MB / 0.8034 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002349/1.192, allocations: 2.205 MB / 0.8056 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0068/1.199, allocations: 4.476 MB / 0.81 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of Backend: time 9.428e-06/1.199, allocations: 4 kB / 0.81 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01336/1.212, allocations: 6.665 MB / 0.8165 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02346/1.236, allocations: 15.27 MB / 0.8314 GB, free: 150 MB / 0.5919 GB Notification: Performance of Templates: time 0.1175/1.353, allocations: 75.77 MB / 0.9054 GB, free: 74.41 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches