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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 94.3 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3244/0.3244, allocations: 43.5 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.001031, allocations: 55.91 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1254, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3171/0.4425, allocations: 101.6 MB / 0.5748 GB, free: 13.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05487/0.4975, allocations: 19.34 MB / 0.5937 GB, free: 480 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02842/0.5259, allocations: 435.4 kB / 0.5941 GB, free: 416 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01121/0.5372, allocations: 5.083 MB / 0.5991 GB, free: 14.04 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.5484, allocations: 2.689 MB / 0.6017 GB, free: 12.78 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.5519, allocations: 1.158 MB / 0.6028 GB, free: 12.27 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01558/0.5675, allocations: 11.52 MB / 0.6141 GB, free: 3.285 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008708/0.5763, allocations: 6.126 MB / 0.6201 GB, free: 13.11 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005316/0.5816, allocations: 2.441 MB / 0.6224 GB, free: 10.66 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006903/0.5886, allocations: 4.101 MB / 0.6264 GB, free: 6.551 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002099/0.5907, allocations: 424 kB / 0.6269 GB, free: 6.137 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004811/0.5955, allocations: 1.502 MB / 0.6283 GB, free: 4.633 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004554/0.6001, allocations: 3.362 MB / 0.6316 GB, free: 1.262 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006753/0.6069, allocations: 3.763 MB / 0.6353 GB, free: 13.48 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.621, allocations: 11.79 MB / 0.6468 GB, free: 1.645 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.621, allocations: 3.938 kB / 0.6468 GB, free: 1.641 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.621, allocations: 0 / 0.6468 GB, free: 1.641 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004645/0.6215, allocations: 4 kB / 0.6468 GB, free: 1.637 MB / 458.7 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.02186/0.6434, allocations: 8.314 MB / 0.6549 GB, free: 9.238 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.6434, allocations: 12.03 kB / 0.6549 GB, free: 9.227 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01654/0.66, allocations: 3.212 MB / 0.6581 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01301/0.673, allocations: 5.224 MB / 0.6632 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000413/0.6735, allocations: 402.7 kB / 0.6636 GB, free: 308 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002457/0.676, allocations: 0.5351 MB / 0.6641 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03179/0.7078, allocations: 16.39 MB / 0.6801 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002672/0.7081, allocations: 67.36 kB / 0.6801 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008525/0.709, allocations: 255.8 kB / 0.6804 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005171/0.7141, allocations: 3.079 MB / 0.6834 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4714/1.186, allocations: 13.64 MB / 0.6967 GB, free: 148.7 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07401/1.26, allocations: 62.43 MB / 0.7577 GB, free: 106.8 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/1.275, allocations: 6.102 MB / 0.7636 GB, free: 104.6 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004888/1.28, allocations: 3.417 MB / 0.767 GB, free: 103.1 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/1.28, allocations: 53.75 kB / 0.767 GB, free: 103.1 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/1.28, allocations: 65.02 kB / 0.7671 GB, free: 103 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=249): time 6.232e-06/1.28, allocations: 5.125 kB / 0.7671 GB, free: 103 MB / 0.4949 GB Notification: Performance of matching and sorting (n=267): time 0.05832/1.339, allocations: 26.32 MB / 0.7928 GB, free: 87.3 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/1.339, allocations: 265.1 kB / 0.793 GB, free: 86.99 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008141/1.347, allocations: 7.031 MB / 0.7999 GB, free: 79.97 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006113/1.347, allocations: 61.7 kB / 0.8 GB, free: 79.91 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002146/1.35, allocations: 4.97 MB / 0.8048 GB, free: 74.94 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.351, allocations: 1.036 MB / 0.8058 GB, free: 73.91 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001907/1.353, allocations: 1.844 MB / 0.8076 GB, free: 72.05 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 4.365e-05/1.353, allocations: 309.1 kB / 0.8079 GB, free: 71.75 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/1.356, allocations: 3.41 MB / 0.8113 GB, free: 68.33 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005467/1.362, allocations: 8.71 MB / 0.8198 GB, free: 57 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/1.373, allocations: 12.99 MB / 0.8325 GB, free: 41.41 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/1.373, allocations: 56 kB / 0.8325 GB, free: 41.36 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02313/1.396, allocations: 13.4 MB / 0.8456 GB, free: 27.95 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003296/1.397, allocations: 92.75 kB / 0.8457 GB, free: 27.86 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000517/1.397, allocations: 184 kB / 0.8459 GB, free: 27.68 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005427/1.403, allocations: 1.793 MB / 0.8476 GB, free: 25.87 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006819/1.409, allocations: 2.086 MB / 0.8496 GB, free: 23.78 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/1.422, allocations: 11.77 MB / 0.8611 GB, free: 11.62 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007711/1.43, allocations: 0.5069 MB / 0.8616 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001759/1.432, allocations: 0.5273 MB / 0.8621 GB, free: 10.59 MB / 0.4949 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.006871/1.439, allocations: 3.331 MB / 0.8654 GB, free: 7.242 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0017/1.44, allocations: 0.5823 MB / 0.866 GB, free: 6.652 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/1.452, allocations: 5.998 MB / 0.8718 GB, free: 0.6211 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.242e-05/1.452, allocations: 28 kB / 0.8719 GB, free: 0.5938 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.21e-05/1.452, allocations: 8 kB / 0.8719 GB, free: 0.5859 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/1.452, allocations: 15.95 kB / 0.8719 GB, free: 0.5703 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03376/1.486, allocations: 13.36 MB / 0.8849 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-05/1.486, allocations: 0 / 0.8849 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/1.488, allocations: 459.3 kB / 0.8854 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004356/1.493, allocations: 1.499 MB / 0.8868 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004843/1.493, allocations: 51.97 kB / 0.8869 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2553/1.749, allocations: 10.81 MB / 0.8974 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.749, allocations: 4.656 kB / 0.8974 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09103/1.84, allocations: 54.42 MB / 0.9506 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002533/1.842, allocations: 1.077 MB / 0.9516 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006956/1.843, allocations: 39.91 kB / 0.9517 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/1.845, allocations: 188.2 kB / 0.9519 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005157/1.846, allocations: 155.2 kB / 0.952 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.846, allocations: 74.3 kB / 0.9521 GB, free: 127 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005657/1.852, allocations: 4.479 MB / 0.9565 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.8e-07/1.852, allocations: 0 / 0.9565 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008485/1.86, allocations: 2.227 MB / 0.9586 GB, free: 123.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * 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,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004878/1.861, allocations: 187.7 kB / 0.9588 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.872, allocations: 8.338 MB / 0.967 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/1.872, allocations: 8 kB / 0.967 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003277/1.875, allocations: 2.845 MB / 0.9697 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005282/1.881, allocations: 0.7612 MB / 0.9705 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0271/1.908, allocations: 21.1 MB / 0.9911 GB, free: 90.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006446/1.914, allocations: 5.167 MB / 0.9961 GB, free: 85.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007041/1.921, allocations: 2.808 MB / 0.9989 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/1.923, allocations: 411.4 kB / 0.9993 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of SimCode: time 1.412e-06/1.923, allocations: 3.938 kB / 0.9993 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of Templates: time 0.1102/2.033, allocations: 74.25 MB / 1.072 GB, free: 8.203 MB / 0.5105 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches