Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.WorldForces2,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.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_3.2.3_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.001381/0.001381, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.462/1.462, allocations: 205.1 MB / 222.6 MB, free: 4.996 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.3503/0.3503, allocations: 43.49 MB / 313.5 MB, free: 8.609 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.001698/0.001698, allocations: 67.91 kB / 382 MB, free: 9.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1533, allocations: 57.79 MB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3604/0.5137, allocations: 100.9 MB / 0.528 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06932/0.5831, allocations: 19.26 MB / 0.5468 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03141/0.6146, allocations: 437.5 kB / 0.5473 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01118/0.6259, allocations: 5.067 MB / 0.5522 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.6382, allocations: 2.616 MB / 0.5548 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.643, allocations: 1.158 MB / 0.5559 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0176/0.6606, allocations: 11.21 MB / 0.5668 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01056/0.6713, allocations: 6.042 MB / 0.5727 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006769/0.6781, allocations: 2.371 MB / 0.5751 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008181/0.6863, allocations: 3.996 MB / 0.579 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003012/0.6894, allocations: 412 kB / 0.5794 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005874/0.6953, allocations: 1.502 MB / 0.5808 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005968/0.7013, allocations: 3.28 MB / 0.584 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01017/0.7115, allocations: 3.623 MB / 0.5876 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01763/0.7292, allocations: 11.39 MB / 0.5987 GB, free: 14.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7292, allocations: 0 / 0.5987 GB, free: 14.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7293, allocations: 0 / 0.5987 GB, free: 14.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0005055/0.7298, allocations: 0 / 0.5987 GB, free: 14.62 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02644/0.7562, allocations: 8.059 MB / 0.6066 GB, free: 6.484 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.746e-05/0.7563, allocations: 8.031 kB / 0.6066 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/0.7738, allocations: 3.181 MB / 0.6097 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01643/0.7904, allocations: 5.15 MB / 0.6147 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003968/0.7908, allocations: 394.4 kB / 0.6151 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003723/0.7945, allocations: 0.5154 MB / 0.6156 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3565/1.151, allocations: 15.78 MB / 0.631 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003896/1.152, allocations: 79.77 kB / 0.6311 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/1.153, allocations: 247.3 kB / 0.6313 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005334/1.158, allocations: 2.922 MB / 0.6342 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03282/1.191, allocations: 13.16 MB / 0.647 GB, free: 135.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1044/1.295, allocations: 60.38 MB / 0.706 GB, free: 93.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/1.31, allocations: 6.105 MB / 0.7119 GB, free: 90.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004772/1.315, allocations: 3.371 MB / 0.7152 GB, free: 88.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/1.315, allocations: 51 kB / 0.7153 GB, free: 88.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.928e-05/1.315, allocations: 62.36 kB / 0.7153 GB, free: 88.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 6.312e-06/1.315, allocations: 3.938 kB / 0.7153 GB, free: 88.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=260): time 0.07356/1.389, allocations: 25.86 MB / 0.7406 GB, free: 62.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/1.389, allocations: 269.1 kB / 0.7409 GB, free: 62.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/1.4, allocations: 6.973 MB / 0.7477 GB, free: 55.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001013/1.401, allocations: 61.7 kB / 0.7477 GB, free: 55.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002865/1.404, allocations: 4.799 MB / 0.7524 GB, free: 50.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001979/1.406, allocations: 1.011 MB / 0.7534 GB, free: 49.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003008/1.409, allocations: 1.804 MB / 0.7552 GB, free: 47.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/1.409, allocations: 301.1 kB / 0.7554 GB, free: 47.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004418/1.413, allocations: 3.316 MB / 0.7587 GB, free: 44.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006099/1.419, allocations: 8.49 MB / 0.767 GB, free: 32.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01301/1.432, allocations: 12.65 MB / 0.7793 GB, free: 17.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001609/1.433, allocations: 52 kB / 0.7794 GB, free: 17.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02819/1.461, allocations: 13.08 MB / 0.7921 GB, free: 4.621 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003014/1.461, allocations: 80.22 kB / 0.7922 GB, free: 4.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003846/1.462, allocations: 184 kB / 0.7924 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004957/1.467, allocations: 1.783 MB / 0.7941 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007864/1.474, allocations: 2.105 MB / 0.7962 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/1.492, allocations: 11.56 MB / 0.8075 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009749/1.502, allocations: 498.5 kB / 0.808 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00259/1.505, allocations: 0.5117 MB / 0.8085 GB, free: 3.531 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 57 (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 (1087): * Single equations (assignments): 1081 * 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.01027/1.515, allocations: 3.226 MB / 0.8116 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002898/1.518, allocations: 0.5709 MB / 0.8122 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/1.533, allocations: 5.806 MB / 0.8178 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/1.534, allocations: 35.92 kB / 0.8179 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.095e-05/1.534, allocations: 8 kB / 0.8179 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.401e-05/1.534, allocations: 11.95 kB / 0.8179 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3497/1.884, allocations: 12.92 MB / 0.8305 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/1.884, allocations: 2.969 kB / 0.8305 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002694/1.886, allocations: 0.5052 MB / 0.831 GB, free: 156.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003796/1.89, allocations: 1.473 MB / 0.8324 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005489/1.891, allocations: 47 kB / 0.8325 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/1.902, allocations: 10.62 MB / 0.8428 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.902, allocations: 2.781 kB / 0.8429 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/1.916, allocations: 9.447 MB / 0.8521 GB, free: 148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004337/1.921, allocations: 1.046 MB / 0.8531 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002121/1.923, allocations: 46.03 kB / 0.8531 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/1.926, allocations: 169.5 kB / 0.8533 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005569/1.927, allocations: 151.1 kB / 0.8534 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/1.927, allocations: 76.09 kB / 0.8535 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01032/1.937, allocations: 4.45 MB / 0.8579 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4e-07/1.937, allocations: 0 / 0.8579 GB, free: 146.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01049/1.948, allocations: 1.625 MB / 0.8595 GB, free: 146 MB / 0.5137 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 (215): * Single equations (assignments): 209 * 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.0008403/1.949, allocations: 185.5 kB / 0.8596 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01679/1.965, allocations: 8.089 MB / 0.8675 GB, free: 143.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.966, allocations: 0 / 0.8675 GB, free: 143.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005197/1.971, allocations: 2.736 MB / 0.8702 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007486/1.978, allocations: 0.7458 MB / 0.8709 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03666/2.015, allocations: 18.35 MB / 0.8889 GB, free: 132.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01057/2.026, allocations: 4.901 MB / 0.8936 GB, free: 130.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.009452/2.035, allocations: 2.743 MB / 0.8963 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/2.037, allocations: 395.3 kB / 0.8967 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of SimCode: time 3.296e-06/2.037, allocations: 0 / 0.8967 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.1102/2.148, allocations: 61.55 MB / 0.9568 GB, free: 68.31 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches