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.006432/0.006433, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001375/0.001375, allocations: 193 kB / 16.79 MB, free: 6.238 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.579/1.579, allocations: 205.1 MB / 222.7 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3859/0.3859, allocations: 43.49 MB / 313.5 MB, free: 8.656 MB / 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.001482/0.001483, allocations: 74.55 kB / 382 MB, free: 8.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1642, allocations: 57.78 MB / 439.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.3923/0.5566, allocations: 101.6 MB / 0.5287 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06502/0.6217, allocations: 19.34 MB / 0.5476 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03905/0.6607, allocations: 437.7 kB / 0.548 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.6723, allocations: 5.08 MB / 0.553 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.6828, allocations: 2.691 MB / 0.5556 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.6867, allocations: 1.153 MB / 0.5567 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01832/0.705, allocations: 11.47 MB / 0.5679 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01/0.7151, allocations: 6.13 MB / 0.5739 GB, free: 7.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006188/0.7213, allocations: 2.429 MB / 0.5763 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008508/0.7299, allocations: 4.105 MB / 0.5803 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002667/0.7326, allocations: 427.9 kB / 0.5807 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005121/0.7377, allocations: 1.498 MB / 0.5822 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00629/0.744, allocations: 3.374 MB / 0.5855 GB, free: 12 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007777/0.7518, allocations: 3.751 MB / 0.5891 GB, free: 8.227 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01903/0.7709, allocations: 11.79 MB / 0.6007 GB, free: 12.39 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.771, allocations: 0 / 0.6007 GB, free: 12.39 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.771, allocations: 0 / 0.6007 GB, free: 12.39 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006293/0.7716, allocations: 0 / 0.6007 GB, free: 12.39 MB / 478.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.03215/0.8038, allocations: 8.322 MB / 0.6088 GB, free: 3.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.253e-05/0.8039, allocations: 8.031 kB / 0.6088 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/0.8214, allocations: 3.216 MB / 0.6119 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01452/0.8359, allocations: 5.228 MB / 0.617 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004156/0.8364, allocations: 402.7 kB / 0.6174 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002762/0.8392, allocations: 0.5312 MB / 0.6179 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5186/1.358, allocations: 16.39 MB / 0.6339 GB, free: 139.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002851/1.358, allocations: 79.94 kB / 0.634 GB, free: 139.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009909/1.359, allocations: 253.5 kB / 0.6343 GB, free: 139.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004655/1.364, allocations: 3.069 MB / 0.6373 GB, free: 138.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03447/1.398, allocations: 13.65 MB / 0.6506 GB, free: 134.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1038/1.502, allocations: 62.42 MB / 0.7115 GB, free: 90.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/1.516, allocations: 6.107 MB / 0.7175 GB, free: 87.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005207/1.521, allocations: 3.425 MB / 0.7209 GB, free: 83.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003192/1.522, allocations: 39.86 kB / 0.7209 GB, free: 83.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.168e-05/1.522, allocations: 68.06 kB / 0.721 GB, free: 83.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 6.903e-06/1.522, allocations: 0 / 0.721 GB, free: 83.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.07104/1.593, allocations: 26.32 MB / 0.7467 GB, free: 57.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.593, allocations: 261.1 kB / 0.7469 GB, free: 56.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01384/1.607, allocations: 7.039 MB / 0.7538 GB, free: 49.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008868/1.608, allocations: 65.7 kB / 0.7538 GB, free: 49.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003712/1.612, allocations: 4.962 MB / 0.7587 GB, free: 44.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002184/1.614, allocations: 1.038 MB / 0.7597 GB, free: 43.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006281/1.62, allocations: 1.84 MB / 0.7615 GB, free: 41.79 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/1.62, allocations: 305.1 kB / 0.7618 GB, free: 41.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005924/1.626, allocations: 3.41 MB / 0.7651 GB, free: 38.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008439/1.635, allocations: 8.717 MB / 0.7736 GB, free: 26.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01412/1.649, allocations: 12.99 MB / 0.7863 GB, free: 11.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002335/1.649, allocations: 52 kB / 0.7864 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02738/1.676, allocations: 13.4 MB / 0.7995 GB, free: 13.66 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004944/1.677, allocations: 88.06 kB / 0.7995 GB, free: 13.58 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000695/1.678, allocations: 188.8 kB / 0.7997 GB, free: 13.39 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006157/1.684, allocations: 1.792 MB / 0.8015 GB, free: 11.59 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008186/1.692, allocations: 2.082 MB / 0.8035 GB, free: 9.508 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/1.708, allocations: 11.78 MB / 0.815 GB, free: 13.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008165/1.716, allocations: 0.5033 MB / 0.8155 GB, free: 12.83 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/1.719, allocations: 0.5273 MB / 0.816 GB, free: 12.3 MB / 0.5138 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.008592/1.727, allocations: 3.335 MB / 0.8193 GB, free: 8.953 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/1.729, allocations: 0.5822 MB / 0.8198 GB, free: 8.363 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/1.742, allocations: 5.99 MB / 0.8257 GB, free: 2.34 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-05/1.742, allocations: 28 kB / 0.8257 GB, free: 2.312 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.983e-05/1.742, allocations: 8 kB / 0.8257 GB, free: 2.305 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.792e-05/1.742, allocations: 22.95 kB / 0.8257 GB, free: 2.285 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3291/2.071, allocations: 13.35 MB / 0.8388 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/2.072, allocations: 0.8906 kB / 0.8388 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/2.074, allocations: 455.5 kB / 0.8392 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004133/2.078, allocations: 1.498 MB / 0.8407 GB, free: 154.6 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004684/2.078, allocations: 52.98 kB / 0.8407 GB, free: 154.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/2.09, allocations: 10.83 MB / 0.8513 GB, free: 148.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/2.09, allocations: 6.438 kB / 0.8513 GB, free: 148.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/2.108, allocations: 9.731 MB / 0.8608 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005593/2.114, allocations: 1.07 MB / 0.8619 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002153/2.116, allocations: 44.17 kB / 0.8619 GB, free: 144.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003228/2.12, allocations: 180 kB / 0.8621 GB, free: 144.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006277/2.12, allocations: 158.7 kB / 0.8622 GB, free: 144.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/2.12, allocations: 74.38 kB / 0.8623 GB, free: 144.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.008941/2.129, allocations: 4.482 MB / 0.8667 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.9e-07/2.129, allocations: 2 kB / 0.8667 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01018/2.14, allocations: 1.669 MB / 0.8683 GB, free: 142.7 MB / 0.5138 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.0007367/2.14, allocations: 192.1 kB / 0.8685 GB, free: 142.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0186/2.159, allocations: 8.339 MB / 0.8766 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/2.159, allocations: 2.656 kB / 0.8766 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005093/2.164, allocations: 2.847 MB / 0.8794 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008918/2.173, allocations: 0.7605 MB / 0.8802 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0356/2.209, allocations: 18.97 MB / 0.8987 GB, free: 125.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008997/2.218, allocations: 5.064 MB / 0.9036 GB, free: 121.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00897/2.227, allocations: 2.794 MB / 0.9064 GB, free: 120 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/2.229, allocations: 389.9 kB / 0.9067 GB, free: 119.6 MB / 0.5138 GB Notification: Performance of SimCode: time 1.563e-06/2.229, allocations: 0 / 0.9067 GB, free: 119.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.1141/2.343, allocations: 62.42 MB / 0.9677 GB, free: 57.54 MB / 0.5138 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/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