Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.628/1.628, allocations: 226.8 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 103 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3971/0.3971, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3952, allocations: 62.01 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.08427/0.4795, allocations: 99.7 MB / 0.6125 GB, free: 5.586 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.05954/0.5391, allocations: 19.07 MB / 0.6311 GB, free: 2.449 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03007/0.5692, allocations: 431 kB / 0.6315 GB, free: 2.027 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009858/0.5791, allocations: 5.03 MB / 0.6365 GB, free: 12.98 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00817/0.5874, allocations: 2.433 MB / 0.6388 GB, free: 10.54 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.5908, allocations: 1.143 MB / 0.64 GB, free: 9.395 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01642/0.6072, allocations: 11.67 MB / 0.6514 GB, free: 13.7 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008394/0.6157, allocations: 5.909 MB / 0.6571 GB, free: 7.707 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005574/0.6213, allocations: 2.281 MB / 0.6594 GB, free: 5.418 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007744/0.6291, allocations: 3.743 MB / 0.663 GB, free: 1.664 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001915/0.631, allocations: 396 kB / 0.6634 GB, free: 1.277 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003934/0.635, allocations: 1.467 MB / 0.6648 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003455/0.6385, allocations: 3.109 MB / 0.6679 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004466/0.643, allocations: 3.425 MB / 0.6712 GB, free: 9.246 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4234/1.066, allocations: 10.7 MB / 0.6816 GB, free: 23.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.27e-05/1.066, allocations: 3.312 kB / 0.6816 GB, free: 23.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.739e-06/1.066, allocations: 0 / 0.6816 GB, free: 23.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005653/1.067, allocations: 3.375 kB / 0.6817 GB, free: 23.79 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.02423/1.091, allocations: 7.693 MB / 0.6892 GB, free: 21.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.712e-05/1.091, allocations: 11.22 kB / 0.6892 GB, free: 21.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01692/1.108, allocations: 3.119 MB / 0.6922 GB, free: 20.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0148/1.123, allocations: 4.798 MB / 0.6969 GB, free: 19.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005731/1.124, allocations: 365.4 kB / 0.6973 GB, free: 19.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003295/1.127, allocations: 0.4922 MB / 0.6977 GB, free: 19.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03407/1.161, allocations: 14.81 MB / 0.7122 GB, free: 16.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002404/1.161, allocations: 76.92 kB / 0.7123 GB, free: 16.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007184/1.162, allocations: 239.7 kB / 0.7125 GB, free: 16.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004512/1.167, allocations: 2.719 MB / 0.7152 GB, free: 16.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02677/1.194, allocations: 12.24 MB / 0.7271 GB, free: 16.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07556/1.269, allocations: 57.17 MB / 0.7829 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/1.281, allocations: 4.683 MB / 0.7875 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003752/1.284, allocations: 2.941 MB / 0.7904 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/1.284, allocations: 35.92 kB / 0.7904 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/1.285, allocations: 58.64 kB / 0.7905 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=190): time 6.171e-06/1.285, allocations: 4 kB / 0.7905 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of matching and sorting (n=208): time 0.06193/1.346, allocations: 23.42 MB / 0.8134 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/1.347, allocations: 259.4 kB / 0.8136 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01129/1.358, allocations: 6.777 MB / 0.8202 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006902/1.359, allocations: 61.14 kB / 0.8203 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003554/1.362, allocations: 4.585 MB / 0.8248 GB, free: 15.26 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00146/1.364, allocations: 0.8394 MB / 0.8256 GB, free: 14.43 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002433/1.366, allocations: 1.681 MB / 0.8272 GB, free: 12.73 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/1.366, allocations: 305.1 kB / 0.8275 GB, free: 12.43 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004212/1.371, allocations: 2.897 MB / 0.8303 GB, free: 9.527 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007702/1.378, allocations: 7.862 MB / 0.838 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01399/1.392, allocations: 11.52 MB / 0.8493 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001922/1.393, allocations: 51.66 kB / 0.8493 GB, free: 2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.02578/1.418, allocations: 11.97 MB / 0.861 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002525/1.419, allocations: 80 kB / 0.8611 GB, free: 6.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004061/1.419, allocations: 176 kB / 0.8612 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005151/1.424, allocations: 1.772 MB / 0.863 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006831/1.431, allocations: 1.925 MB / 0.8649 GB, free: 3.273 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/1.447, allocations: 11.53 MB / 0.8761 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009158/1.456, allocations: 451.3 kB / 0.8766 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00202/1.458, allocations: 492 kB / 0.877 GB, free: 6.535 MB / 0.6198 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.008253/1.466, allocations: 3.052 MB / 0.88 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002225/1.469, allocations: 0.5437 MB / 0.8805 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.48, allocations: 4.84 MB / 0.8853 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.429e-05/1.48, allocations: 25.31 kB / 0.8853 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.279e-05/1.48, allocations: 11.94 kB / 0.8853 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-05/1.48, allocations: 15.95 kB / 0.8853 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02373/1.503, allocations: 11.23 MB / 0.8963 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.503, allocations: 4 kB / 0.8963 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/1.505, allocations: 400.1 kB / 0.8967 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004127/1.51, allocations: 1.474 MB / 0.8981 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002595/1.51, allocations: 39.92 kB / 0.8981 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/1.523, allocations: 10.62 MB / 0.9085 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.523, allocations: 4.031 kB / 0.9085 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.412/1.935, allocations: 49.78 MB / 0.9571 GB, free: 269.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.936, allocations: 0.6188 MB / 0.9577 GB, free: 269.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007688/1.937, allocations: 31.53 kB / 0.9578 GB, free: 269.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.939, allocations: 133.7 kB / 0.9579 GB, free: 269.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004606/1.939, allocations: 122.6 kB / 0.958 GB, free: 269.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.94, allocations: 59.44 kB / 0.9581 GB, free: 269.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.006654/1.946, allocations: 4.322 MB / 0.9623 GB, free: 268.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/1.946, allocations: 0 / 0.9623 GB, free: 268.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0101/1.956, allocations: 2.027 MB / 0.9643 GB, free: 267.9 MB / 0.6511 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.0006025/1.957, allocations: 174.8 kB / 0.9644 GB, free: 267.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01031/1.967, allocations: 7.096 MB / 0.9714 GB, free: 264.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.967, allocations: 2.297 kB / 0.9714 GB, free: 264.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002762/1.97, allocations: 2.268 MB / 0.9736 GB, free: 262 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004998/1.975, allocations: 0.738 MB / 0.9743 GB, free: 261.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02764/2.003, allocations: 18.79 MB / 0.9927 GB, free: 242.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0074/2.01, allocations: 4.719 MB / 0.9973 GB, free: 237.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.006331/2.017, allocations: 2.539 MB / 0.9997 GB, free: 235.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/2.018, allocations: 359.4 kB / 1 GB, free: 234.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/2.018, allocations: 0 / 1 GB, free: 234.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.1273/2.145, allocations: 68.4 MB / 1.067 GB, free: 166.8 MB / 0.6511 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches