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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 110.2 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3414/0.3414, allocations: 44.13 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001028, allocations: 55.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3709, allocations: 60.8 MB / 0.5064 GB, free: 38.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.08115/0.4521, allocations: 99.7 MB / 0.6037 GB, free: 11.41 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.04642/0.4985, allocations: 19.05 MB / 0.6224 GB, free: 9.039 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02059/0.5192, allocations: 434.9 kB / 0.6228 GB, free: 8.613 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008881/0.5281, allocations: 5.03 MB / 0.6277 GB, free: 3.57 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007997/0.5362, allocations: 2.456 MB / 0.6301 GB, free: 1.105 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.5393, allocations: 1.147 MB / 0.6312 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01435/0.5536, allocations: 11.51 MB / 0.6424 GB, free: 4.426 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/0.5641, allocations: 5.905 MB / 0.6482 GB, free: 14.44 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004905/0.5691, allocations: 2.262 MB / 0.6504 GB, free: 12.17 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005638/0.5747, allocations: 3.754 MB / 0.6541 GB, free: 8.402 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.5763, allocations: 392 kB / 0.6544 GB, free: 8.02 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.58, allocations: 1.49 MB / 0.6559 GB, free: 6.527 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003662/0.5837, allocations: 3.097 MB / 0.6589 GB, free: 3.422 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004694/0.5884, allocations: 3.417 MB / 0.6623 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.5998, allocations: 10.72 MB / 0.6727 GB, free: 5.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.5998, allocations: 4 kB / 0.6727 GB, free: 5.227 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5999, allocations: 0 / 0.6727 GB, free: 5.227 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003081/0.6002, allocations: 3.938 kB / 0.6727 GB, free: 5.223 MB / 490.7 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.2819/0.8821, allocations: 7.663 MB / 0.6802 GB, free: 134.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.8822, allocations: 12.94 kB / 0.6802 GB, free: 134.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01503/0.8972, allocations: 3.106 MB / 0.6833 GB, free: 134.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.9102, allocations: 4.876 MB / 0.688 GB, free: 132.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/0.9105, allocations: 371.3 kB / 0.6884 GB, free: 132.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002296/0.9128, allocations: 494.3 kB / 0.6889 GB, free: 131.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02531/0.9382, allocations: 14.82 MB / 0.7033 GB, free: 125.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002502/0.9385, allocations: 74.62 kB / 0.7034 GB, free: 125.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006966/0.9392, allocations: 233.5 kB / 0.7036 GB, free: 124.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00479/0.944, allocations: 2.717 MB / 0.7063 GB, free: 124.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02831/0.9723, allocations: 12.24 MB / 0.7182 GB, free: 120.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06465/1.037, allocations: 57.18 MB / 0.7741 GB, free: 63.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/1.047, allocations: 4.692 MB / 0.7787 GB, free: 58.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003343/1.051, allocations: 2.948 MB / 0.7815 GB, free: 55.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/1.051, allocations: 32.95 kB / 0.7816 GB, free: 55.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/1.051, allocations: 58.12 kB / 0.7816 GB, free: 55.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=190): time 4.518e-06/1.051, allocations: 0 / 0.7816 GB, free: 55.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=208): time 0.05442/1.105, allocations: 23.42 MB / 0.8045 GB, free: 31.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/1.105, allocations: 256.8 kB / 0.8047 GB, free: 31.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008335/1.114, allocations: 6.78 MB / 0.8114 GB, free: 24.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005365/1.114, allocations: 60.61 kB / 0.8114 GB, free: 24.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002212/1.117, allocations: 4.593 MB / 0.8159 GB, free: 19.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009917/1.118, allocations: 0.8296 MB / 0.8167 GB, free: 19.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/1.12, allocations: 1.685 MB / 0.8184 GB, free: 17.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.99e-05/1.12, allocations: 305.1 kB / 0.8186 GB, free: 17.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/1.123, allocations: 2.901 MB / 0.8215 GB, free: 14.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00499/1.128, allocations: 7.863 MB / 0.8292 GB, free: 3.879 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/1.14, allocations: 11.52 MB / 0.8404 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/1.14, allocations: 52 kB / 0.8405 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02459/1.165, allocations: 11.97 MB / 0.8521 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.165, allocations: 76 kB / 0.8522 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001953/1.165, allocations: 176 kB / 0.8524 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004829/1.17, allocations: 1.776 MB / 0.8541 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006635/1.177, allocations: 1.93 MB / 0.856 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/1.19, allocations: 11.52 MB / 0.8673 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007413/1.198, allocations: 455.2 kB / 0.8677 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001606/1.199, allocations: 0.4921 MB / 0.8682 GB, free: 9.078 MB / 0.5261 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.006157/1.206, allocations: 3.04 MB / 0.8711 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001606/1.207, allocations: 0.5477 MB / 0.8717 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.218, allocations: 4.852 MB / 0.8764 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.662e-05/1.218, allocations: 27.98 kB / 0.8764 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.942e-05/1.218, allocations: 4 kB / 0.8764 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.782e-05/1.218, allocations: 11.97 kB / 0.8765 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3479/1.566, allocations: 11.24 MB / 0.8874 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/1.566, allocations: 1.188 kB / 0.8874 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/1.568, allocations: 397.9 kB / 0.8878 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004005/1.572, allocations: 1.473 MB / 0.8892 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/1.572, allocations: 35 kB / 0.8893 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/1.584, allocations: 10.62 MB / 0.8996 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.584, allocations: 0 / 0.8996 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09359/1.677, allocations: 49.8 MB / 0.9483 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/1.679, allocations: 0.616 MB / 0.9489 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006472/1.679, allocations: 32 kB / 0.9489 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/1.681, allocations: 131.8 kB / 0.949 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004306/1.682, allocations: 121.1 kB / 0.9492 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/1.682, allocations: 52 kB / 0.9492 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005817/1.688, allocations: 4.318 MB / 0.9534 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/1.688, allocations: 4 kB / 0.9534 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009115/1.697, allocations: 2.035 MB / 0.9554 GB, free: 119.8 MB / 0.5261 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.0005014/1.697, allocations: 165.7 kB / 0.9556 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009633/1.707, allocations: 7.097 MB / 0.9625 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.707, allocations: 0 / 0.9625 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002771/1.71, allocations: 2.264 MB / 0.9647 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006919/1.717, allocations: 0.7412 MB / 0.9654 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02959/1.746, allocations: 18.8 MB / 0.9838 GB, free: 90.83 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00825/1.755, allocations: 4.713 MB / 0.9884 GB, free: 86.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007123/1.762, allocations: 2.54 MB / 0.9909 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/1.763, allocations: 355.4 kB / 0.9912 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/1.764, allocations: 0 / 0.9912 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.1106/1.874, allocations: 68.4 MB / 1.058 GB, free: 15.04 MB / 0.5261 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches