Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.Torque,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.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 110.6 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.001642/0.001642, 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.319/1.319, 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.1934/0.1934, 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.001385/0.001385, allocations: 73.45 kB / 442.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01949/0.1276, allocations: 17.1 MB / 0.5053 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.1382, allocations: 5.105 MB / 0.5103 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.141, allocations: 111.7 kB / 0.5104 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009404/0.1505, allocations: 5.077 MB / 0.5153 GB, free: 248 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007807/0.1584, allocations: 2.711 MB / 0.518 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.1611, allocations: 1.076 MB / 0.519 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009383/0.1705, allocations: 6.836 MB / 0.5257 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2214/0.3919, allocations: 5.931 MB / 0.5315 GB, free: 8.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005147/0.397, allocations: 2.56 MB / 0.534 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007476/0.4045, allocations: 3.476 MB / 0.5374 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002456/0.407, allocations: 0.547 MB / 0.5379 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003825/0.4109, allocations: 1.429 MB / 0.5393 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004662/0.4155, allocations: 3.257 MB / 0.5425 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006555/0.4221, allocations: 3.658 MB / 0.5461 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.4356, allocations: 11.38 MB / 0.5572 GB, free: 3.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4357, allocations: 1.5 kB / 0.5572 GB, free: 3.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4357, allocations: 4.75 kB / 0.5572 GB, free: 3.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003758/0.436, allocations: 0 / 0.5572 GB, free: 3.496 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.01905/0.4551, allocations: 7.921 MB / 0.5649 GB, free: 14.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4552, allocations: 11.55 kB / 0.565 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/0.4679, allocations: 2.831 MB / 0.5677 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.4782, allocations: 4.59 MB / 0.5722 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.4785, allocations: 382 kB / 0.5726 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/0.4798, allocations: 0.5023 MB / 0.5731 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02862/0.5084, allocations: 15.64 MB / 0.5883 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002139/0.5087, allocations: 79.05 kB / 0.5884 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007549/0.5095, allocations: 250.3 kB / 0.5886 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005163/0.5146, allocations: 3.062 MB / 0.5916 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02728/0.5419, allocations: 13.24 MB / 0.6046 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09228/0.6343, allocations: 61.32 MB / 0.6644 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01701/0.6513, allocations: 6.655 MB / 0.6709 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006683/0.658, allocations: 4.029 MB / 0.6749 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0196/0.6777, allocations: 9.47 MB / 0.6841 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/0.6778, allocations: 56.56 kB / 0.6842 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=269): time 6.703e-06/0.6778, allocations: 4 kB / 0.6842 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=311): time 0.09224/0.7701, allocations: 32.57 MB / 0.716 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.7702, allocations: 235.9 kB / 0.7162 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01458/0.7848, allocations: 6.995 MB / 0.723 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/0.7859, allocations: 69.7 kB / 0.7231 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004301/0.7902, allocations: 4.762 MB / 0.7278 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002034/0.7923, allocations: 1.184 MB / 0.7289 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005622/0.7979, allocations: 1.919 MB / 0.7308 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.798, allocations: 305.1 kB / 0.7311 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006215/0.8043, allocations: 3.918 MB / 0.7349 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009719/0.814, allocations: 9.251 MB / 0.7439 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2692/1.083, allocations: 14.14 MB / 0.7578 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001963/1.083, allocations: 54.12 kB / 0.7578 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.03335/1.117, allocations: 14.98 MB / 0.7724 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002751/1.117, allocations: 86.39 kB / 0.7725 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004307/1.118, allocations: 186.9 kB / 0.7727 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00639/1.124, allocations: 2.293 MB / 0.7749 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00786/1.132, allocations: 2.179 MB / 0.7771 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/1.148, allocations: 14.38 MB / 0.7911 GB, free: 182.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009418/1.157, allocations: 0.5473 MB / 0.7916 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002277/1.159, allocations: 0.5438 MB / 0.7922 GB, free: 182.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1140): * Single equations (assignments): 1133 * 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.167, allocations: 3.232 MB / 0.7953 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.168, allocations: 0.5868 MB / 0.7959 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.18, allocations: 7.711 MB / 0.8034 GB, free: 177 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.767e-05/1.18, allocations: 23.14 kB / 0.8035 GB, free: 177 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.181, allocations: 0 / 0.8035 GB, free: 177 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003385/1.184, allocations: 1.178 MB / 0.8046 GB, free: 176.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00171/1.186, allocations: 52 kB / 0.8047 GB, free: 176.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003494/1.189, allocations: 217.7 kB / 0.8049 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000589/1.19, allocations: 208.5 kB / 0.8051 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01304/1.203, allocations: 8.011 MB / 0.8129 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01141/1.214, allocations: 10.23 MB / 0.8229 GB, free: 159.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002862/1.217, allocations: 2.779 MB / 0.8256 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006519/1.224, allocations: 4.456 MB / 0.8299 GB, free: 152 MB / 0.5919 GB Notification: Performance of Backend: time 6.41e-07/1.224, allocations: 0 / 0.8299 GB, free: 152 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01369/1.237, allocations: 7.246 MB / 0.837 GB, free: 144.8 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02464/1.262, allocations: 14.9 MB / 0.8516 GB, free: 129.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1301/1.392, allocations: 81.9 MB / 0.9316 GB, free: 48.25 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches