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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, 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.356/1.356, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.0011/0.0011, allocations: 115.6 kB / 269.9 MB, free: 8.43 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.326/0.326, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009697/0.0009697, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1167, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3077/0.4244, allocations: 100.9 MB / 0.5741 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05811/0.4826, allocations: 19.26 MB / 0.5929 GB, free: 1.016 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03064/0.5133, allocations: 432.9 kB / 0.5933 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01154/0.5249, allocations: 5.067 MB / 0.5983 GB, free: 14.59 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009513/0.5345, allocations: 2.622 MB / 0.6009 GB, free: 13.37 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.5384, allocations: 1.153 MB / 0.602 GB, free: 12.86 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01661/0.5551, allocations: 11.26 MB / 0.613 GB, free: 4.359 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01021/0.5653, allocations: 6.035 MB / 0.6189 GB, free: 14.29 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005831/0.5712, allocations: 2.39 MB / 0.6212 GB, free: 11.89 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007188/0.5784, allocations: 3.988 MB / 0.6251 GB, free: 7.891 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002284/0.5808, allocations: 412 kB / 0.6255 GB, free: 7.488 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004906/0.5857, allocations: 1.502 MB / 0.627 GB, free: 5.984 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006066/0.5918, allocations: 3.277 MB / 0.6302 GB, free: 2.699 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0104/0.6022, allocations: 3.635 MB / 0.6337 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.6185, allocations: 11.39 MB / 0.6448 GB, free: 3.613 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.6185, allocations: 0 / 0.6448 GB, free: 3.613 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6185, allocations: 0 / 0.6448 GB, free: 3.613 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005628/0.6191, allocations: 0 / 0.6448 GB, free: 3.613 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02365/0.6428, allocations: 8.055 MB / 0.6527 GB, free: 11.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.6428, allocations: 8.031 kB / 0.6527 GB, free: 11.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/0.6588, allocations: 3.174 MB / 0.6558 GB, free: 8.277 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.6723, allocations: 5.161 MB / 0.6609 GB, free: 3.035 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.6727, allocations: 390.4 kB / 0.6612 GB, free: 2.652 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002001/0.6747, allocations: 0.5156 MB / 0.6617 GB, free: 2.137 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02903/0.7037, allocations: 15.78 MB / 0.6771 GB, free: 1.301 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002496/0.704, allocations: 67.36 kB / 0.6772 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008632/0.7049, allocations: 247.8 kB / 0.6774 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004783/0.7097, allocations: 2.927 MB / 0.6803 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.027/0.7367, allocations: 13.16 MB / 0.6932 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3375/1.074, allocations: 60.38 MB / 0.7521 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01429/1.089, allocations: 6.088 MB / 0.7581 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005522/1.094, allocations: 3.377 MB / 0.7614 GB, free: 105 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/1.094, allocations: 50.06 kB / 0.7614 GB, free: 105 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/1.094, allocations: 65.66 kB / 0.7615 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=242): time 6.352e-06/1.094, allocations: 0 / 0.7615 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=260): time 0.06273/1.157, allocations: 25.86 MB / 0.7867 GB, free: 92.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.157, allocations: 263.5 kB / 0.787 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009438/1.167, allocations: 6.974 MB / 0.7938 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000672/1.168, allocations: 65.7 kB / 0.7939 GB, free: 86.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002795/1.17, allocations: 4.795 MB / 0.7985 GB, free: 81.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001436/1.172, allocations: 1.014 MB / 0.7995 GB, free: 80.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002523/1.174, allocations: 1.798 MB / 0.8013 GB, free: 78.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.372e-05/1.174, allocations: 305.1 kB / 0.8016 GB, free: 78.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003922/1.178, allocations: 3.32 MB / 0.8048 GB, free: 75.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005632/1.184, allocations: 8.486 MB / 0.8131 GB, free: 64.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/1.196, allocations: 12.64 MB / 0.8255 GB, free: 49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/1.196, allocations: 52 kB / 0.8255 GB, free: 48.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.0216/1.218, allocations: 13.09 MB / 0.8383 GB, free: 35.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.218, allocations: 84 kB / 0.8384 GB, free: 35.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000214/1.218, allocations: 180 kB / 0.8385 GB, free: 35.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004091/1.222, allocations: 1.781 MB / 0.8403 GB, free: 33.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006448/1.229, allocations: 2.109 MB / 0.8423 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/1.241, allocations: 11.56 MB / 0.8536 GB, free: 19.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007796/1.249, allocations: 499.2 kB / 0.8541 GB, free: 19.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/1.25, allocations: 0.5156 MB / 0.8546 GB, free: 18.75 MB / 0.4948 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.006238/1.257, allocations: 3.21 MB / 0.8577 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.258, allocations: 0.5746 MB / 0.8583 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/1.269, allocations: 5.81 MB / 0.864 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.382e-05/1.269, allocations: 31.59 kB / 0.864 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.238e-05/1.269, allocations: 8 kB / 0.864 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/1.269, allocations: 11.95 kB / 0.864 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02772/1.297, allocations: 12.92 MB / 0.8766 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/1.297, allocations: 0 / 0.8766 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/1.299, allocations: 0.5109 MB / 0.8771 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004327/1.304, allocations: 1.471 MB / 0.8786 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004327/1.304, allocations: 43.98 kB / 0.8786 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2635/1.568, allocations: 10.62 MB / 0.889 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.568, allocations: 1.281 kB / 0.889 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08729/1.655, allocations: 52.25 MB / 0.94 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00301/1.658, allocations: 1.047 MB / 0.941 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009158/1.659, allocations: 43.75 kB / 0.9411 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/1.661, allocations: 163.5 kB / 0.9412 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004909/1.662, allocations: 162.6 kB / 0.9414 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.662, allocations: 67.08 kB / 0.9415 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006357/1.668, allocations: 4.447 MB / 0.9458 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.02e-07/1.668, allocations: 0 / 0.9458 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009252/1.678, allocations: 2.179 MB / 0.9479 GB, free: 131.3 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,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.0005836/1.678, allocations: 184.6 kB / 0.9481 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.69, allocations: 8.096 MB / 0.956 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.69, allocations: 0 / 0.956 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003804/1.694, allocations: 2.732 MB / 0.9587 GB, free: 124 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/1.7, allocations: 0.743 MB / 0.9594 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02954/1.729, allocations: 20.45 MB / 0.9794 GB, free: 103 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006099/1.736, allocations: 4.99 MB / 0.9842 GB, free: 97.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006384/1.742, allocations: 2.765 MB / 0.9869 GB, free: 95.19 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.743, allocations: 395.4 kB / 0.9873 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/1.743, allocations: 0 / 0.9873 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.1059/1.849, allocations: 72.86 MB / 1.058 GB, free: 22.04 MB / 0.5105 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@2/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