Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001206/0.001206, allocations: 185.1 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1936/0.1936, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3204, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01538/0.3358, allocations: 15.73 MB / 0.5349 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.3466, allocations: 5.087 MB / 0.5399 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.3495, allocations: 108.9 kB / 0.54 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00942/0.3589, allocations: 5.035 MB / 0.5449 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007442/0.3664, allocations: 2.602 MB / 0.5475 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.3696, allocations: 1.236 MB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.3812, allocations: 7.91 MB / 0.5564 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007423/0.3887, allocations: 6.012 MB / 0.5623 GB, free: 164 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004611/0.3933, allocations: 2.566 MB / 0.5648 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005306/0.3987, allocations: 3.493 MB / 0.5682 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001613/0.4003, allocations: 0.5469 MB / 0.5687 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00359/0.4039, allocations: 1.576 MB / 0.5703 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003358/0.4073, allocations: 3.254 MB / 0.5734 GB, free: 4.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00455/0.4118, allocations: 3.581 MB / 0.5769 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0128/0.4247, allocations: 11.15 MB / 0.5878 GB, free: 5.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.4247, allocations: 0 / 0.5878 GB, free: 5.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4247, allocations: 0 / 0.5878 GB, free: 5.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003937/0.4251, allocations: 0 / 0.5878 GB, free: 5.902 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.0176/0.4428, allocations: 7.667 MB / 0.5953 GB, free: 14.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.4428, allocations: 15.97 kB / 0.5953 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/0.4578, allocations: 3.112 MB / 0.5984 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/0.4688, allocations: 4.942 MB / 0.6032 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003192/0.4691, allocations: 377.9 kB / 0.6035 GB, free: 5.609 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001758/0.4709, allocations: 0.4958 MB / 0.604 GB, free: 5.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03578/0.5067, allocations: 14.81 MB / 0.6185 GB, free: 5.285 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004242/0.5072, allocations: 83.3 kB / 0.6186 GB, free: 5.203 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002012/0.5092, allocations: 235.8 kB / 0.6188 GB, free: 4.973 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007482/0.5167, allocations: 2.727 MB / 0.6215 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0308/0.5475, allocations: 12.24 MB / 0.6334 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07094/0.6185, allocations: 56.92 MB / 0.689 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.6304, allocations: 4.703 MB / 0.6936 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003632/0.6341, allocations: 2.944 MB / 0.6965 GB, free: 3.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.6343, allocations: 36.73 kB / 0.6965 GB, free: 3.695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.6343, allocations: 67.48 kB / 0.6966 GB, free: 3.621 MB / 0.545 GB Notification: Performance of pre-optimization done (n=190): time 4.288e-06/0.6343, allocations: 0 / 0.6966 GB, free: 3.621 MB / 0.545 GB Notification: Performance of matching and sorting (n=208): time 0.3252/0.9596, allocations: 23.4 MB / 0.7194 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.924e-05/0.9597, allocations: 263.6 kB / 0.7197 GB, free: 167 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/0.9707, allocations: 6.774 MB / 0.7263 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005011/0.9713, allocations: 53.08 kB / 0.7263 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003004/0.9743, allocations: 4.593 MB / 0.7308 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001156/0.9755, allocations: 0.8396 MB / 0.7316 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002884/0.9783, allocations: 1.692 MB / 0.7333 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.9784, allocations: 301.1 kB / 0.7336 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004309/0.9827, allocations: 2.899 MB / 0.7364 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005744/0.9885, allocations: 7.859 MB / 0.7441 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/0.9989, allocations: 11.52 MB / 0.7553 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002203/0.9991, allocations: 55.03 kB / 0.7554 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02069/1.02, allocations: 11.96 MB / 0.7671 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.02, allocations: 83.94 kB / 0.7672 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/1.02, allocations: 174 kB / 0.7673 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/1.024, allocations: 1.775 MB / 0.7691 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005645/1.03, allocations: 1.93 MB / 0.7709 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/1.04, allocations: 12.41 MB / 0.7831 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006547/1.047, allocations: 451.2 kB / 0.7835 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/1.048, allocations: 492 kB / 0.784 GB, free: 114.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1003): * Single equations (assignments): 997 * 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 {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004407/1.053, allocations: 3.047 MB / 0.7869 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/1.054, allocations: 0.5437 MB / 0.7875 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007318/1.061, allocations: 4.844 MB / 0.7922 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-05/1.061, allocations: 24 kB / 0.7922 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/1.061, allocations: 7.938 kB / 0.7922 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/1.061, allocations: 15.95 kB / 0.7922 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/1.079, allocations: 11.2 MB / 0.8032 GB, free: 94.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.079, allocations: 4 kB / 0.8032 GB, free: 94.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/1.081, allocations: 403.3 kB / 0.8036 GB, free: 94.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003493/1.084, allocations: 1.47 MB / 0.805 GB, free: 92.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002409/1.084, allocations: 43.94 kB / 0.805 GB, free: 92.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009975/1.094, allocations: 11.48 MB / 0.8163 GB, free: 80.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.094, allocations: 7.922 kB / 0.8163 GB, free: 80.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.105, allocations: 7.935 MB / 0.824 GB, free: 72.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/1.106, allocations: 0.6189 MB / 0.8246 GB, free: 72.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.108, allocations: 39.61 kB / 0.8247 GB, free: 72.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002171/1.11, allocations: 131.8 kB / 0.8248 GB, free: 72.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/1.11, allocations: 113.3 kB / 0.8249 GB, free: 72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.11, allocations: 56.12 kB / 0.8249 GB, free: 71.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005603/1.116, allocations: 4.321 MB / 0.8292 GB, free: 67.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/1.116, allocations: 3.938 kB / 0.8292 GB, free: 67.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01158/1.127, allocations: 1.495 MB / 0.8306 GB, free: 66.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (160): * Single equations (assignments): 154 * 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,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005243/1.128, allocations: 173.5 kB / 0.8308 GB, free: 65.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009402/1.137, allocations: 7.114 MB / 0.8377 GB, free: 58.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.137, allocations: 2 kB / 0.8377 GB, free: 58.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002687/1.14, allocations: 2.262 MB / 0.8399 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005007/1.145, allocations: 0.7888 MB / 0.8407 GB, free: 55.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/1.165, allocations: 14.45 MB / 0.8548 GB, free: 41.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004295/1.169, allocations: 4.599 MB / 0.8593 GB, free: 36.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.171, allocations: 407.4 kB / 0.8597 GB, free: 36.28 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/1.171, allocations: 4 kB / 0.8597 GB, free: 36.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.455/1.626, allocations: 170.2 MB / 1.026 GB, free: 150.8 MB / 0.6231 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches