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.001337/0.001337, allocations: 106.9 kB / 17.08 MB, free: 6.074 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.001411/0.001411, allocations: 195.3 kB / 18.01 MB, free: 5.168 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.36/1.36, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.2162/0.2162, allocations: 43.52 MB / 314.8 MB, free: 460 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.001566/0.001566, allocations: 73.78 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1317, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01847/0.1502, allocations: 17.11 MB / 0.5053 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.1624, allocations: 5.116 MB / 0.5103 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.165, allocations: 107.8 kB / 0.5104 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008832/0.1739, allocations: 5.066 MB / 0.5153 GB, free: 260 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007135/0.1811, allocations: 2.801 MB / 0.5181 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.1835, allocations: 1.084 MB / 0.5191 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009491/0.193, allocations: 6.832 MB / 0.5258 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2471/0.4401, allocations: 5.924 MB / 0.5316 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004792/0.4449, allocations: 2.563 MB / 0.5341 GB, free: 8.086 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007153/0.4521, allocations: 3.475 MB / 0.5375 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002829/0.455, allocations: 0.552 MB / 0.538 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005254/0.4603, allocations: 1.432 MB / 0.5394 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006882/0.4672, allocations: 3.251 MB / 0.5426 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007643/0.4748, allocations: 3.662 MB / 0.5462 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.4894, allocations: 11.42 MB / 0.5573 GB, free: 3.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4894, allocations: 0 / 0.5573 GB, free: 3.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4894, allocations: 5 kB / 0.5573 GB, free: 3.457 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003725/0.4898, allocations: 0 / 0.5573 GB, free: 3.457 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.02127/0.5111, allocations: 8.125 MB / 0.5653 GB, free: 14.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.5112, allocations: 14.05 kB / 0.5653 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01376/0.5249, allocations: 2.868 MB / 0.5681 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.5362, allocations: 4.619 MB / 0.5726 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.5365, allocations: 387.1 kB / 0.573 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/0.5385, allocations: 0.5053 MB / 0.5735 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02814/0.5667, allocations: 15.64 MB / 0.5887 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001967/0.5669, allocations: 69.8 kB / 0.5888 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007231/0.5676, allocations: 244.5 kB / 0.589 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005184/0.5728, allocations: 3.061 MB / 0.592 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02715/0.6, allocations: 13.24 MB / 0.6049 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08064/0.6807, allocations: 61.43 MB / 0.6649 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01625/0.697, allocations: 6.662 MB / 0.6714 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005375/0.7024, allocations: 4.031 MB / 0.6754 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0171/0.7195, allocations: 9.492 MB / 0.6847 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.524e-05/0.7196, allocations: 63.84 kB / 0.6847 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=269): time 5.41e-06/0.7196, allocations: 0 / 0.6847 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=311): time 0.08838/0.808, allocations: 33.02 MB / 0.717 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.8081, allocations: 243.9 kB / 0.7172 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/0.8187, allocations: 7.001 MB / 0.724 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008945/0.8196, allocations: 73.7 kB / 0.7241 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003501/0.8231, allocations: 4.951 MB / 0.7289 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001454/0.8246, allocations: 1.232 MB / 0.7301 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002837/0.8275, allocations: 1.931 MB / 0.732 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.8276, allocations: 305.1 kB / 0.7323 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005891/0.8335, allocations: 3.922 MB / 0.7361 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009213/0.8427, allocations: 9.245 MB / 0.7452 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2795/1.122, allocations: 14.13 MB / 0.759 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002622/1.123, allocations: 53.47 kB / 0.759 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.03405/1.157, allocations: 15.01 MB / 0.7737 GB, free: 190 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.157, allocations: 88.56 kB / 0.7738 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002159/1.157, allocations: 188 kB / 0.7739 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005779/1.163, allocations: 2.298 MB / 0.7762 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007235/1.17, allocations: 2.17 MB / 0.7783 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01519/1.185, allocations: 14.41 MB / 0.7924 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009253/1.195, allocations: 0.5431 MB / 0.7929 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002131/1.197, allocations: 0.5515 MB / 0.7934 GB, free: 181.8 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.007409/1.204, allocations: 3.226 MB / 0.7966 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/1.205, allocations: 0.6122 MB / 0.7972 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/1.218, allocations: 7.726 MB / 0.8047 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.491e-05/1.218, allocations: 17.2 kB / 0.8048 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.465e-06/1.218, allocations: 0 / 0.8048 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00309/1.221, allocations: 1.215 MB / 0.8059 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/1.223, allocations: 53.17 kB / 0.806 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.225, allocations: 216.5 kB / 0.8062 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000569/1.226, allocations: 215.1 kB / 0.8064 GB, free: 174.5 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01286/1.239, allocations: 8.023 MB / 0.8142 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01111/1.25, allocations: 10.25 MB / 0.8242 GB, free: 157.9 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002858/1.253, allocations: 2.78 MB / 0.827 GB, free: 155.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007652/1.261, allocations: 4.451 MB / 0.8313 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of Backend: time 1.523e-06/1.261, allocations: 0 / 0.8313 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.275, allocations: 7.256 MB / 0.8384 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02324/1.299, allocations: 15.14 MB / 0.8532 GB, free: 128.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1233/1.422, allocations: 81.18 MB / 0.9325 GB, free: 47.2 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