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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009178/0.0009221, allocations: 100.8 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009533/0.0009533, allocations: 198.9 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 45.92 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1386, allocations: 63.46 MB / 481.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.3438/0.4824, allocations: 85.47 MB / 0.5536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05347/0.536, allocations: 19.17 MB / 0.5723 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02316/0.5592, allocations: 426.9 kB / 0.5727 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01938/0.5786, allocations: 4.351 MB / 0.5769 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04734/0.626, allocations: 12.2 MB / 0.5889 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007646/0.6337, allocations: 0.9986 MB / 0.5898 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.1044/0.7381, allocations: 72.2 MB / 0.6603 GB, free: 264 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.7493, allocations: 7.227 MB / 0.6674 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003749/0.7531, allocations: 1.623 MB / 0.669 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.7568, allocations: 2.2 MB / 0.6711 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001003/0.7579, allocations: 224 kB / 0.6713 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.7605, allocations: 1.081 MB / 0.6724 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003303/0.7638, allocations: 2.615 MB / 0.675 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002703/0.7665, allocations: 1.302 MB / 0.6762 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.7782, allocations: 8.807 MB / 0.6848 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7782, allocations: 0 / 0.6848 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7783, allocations: 0 / 0.6848 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004337/0.7787, allocations: 4 kB / 0.6848 GB, free: 7.051 MB / 0.5137 GB 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.01773/0.7964, allocations: 6.798 MB / 0.6915 GB, free: 172 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.7965, allocations: 12.03 kB / 0.6915 GB, free: 160 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06343/0.8599, allocations: 11.13 MB / 0.7023 GB, free: 5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3227/1.183, allocations: 4.975 MB / 0.7072 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006523/1.183, allocations: 372.5 kB / 0.7076 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/1.186, allocations: 499.9 kB / 0.708 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03755/1.224, allocations: 14.76 MB / 0.7225 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004377/1.224, allocations: 73.41 kB / 0.7225 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001366/1.226, allocations: 239.5 kB / 0.7228 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005853/1.232, allocations: 2.718 MB / 0.7254 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02564/1.257, allocations: 12.01 MB / 0.7371 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07108/1.328, allocations: 56.72 MB / 0.7925 GB, free: 117.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/1.34, allocations: 4.506 MB / 0.7969 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/1.34, allocations: 39.61 kB / 0.797 GB, free: 112.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/1.34, allocations: 55.5 kB / 0.797 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=190): time 6.292e-06/1.34, allocations: 0 / 0.797 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=208): time 0.04909/1.389, allocations: 20.78 MB / 0.8173 GB, free: 91.62 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.389, allocations: 256.8 kB / 0.8176 GB, free: 91.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009394/1.399, allocations: 7.115 MB / 0.8245 GB, free: 84.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006219/1.399, allocations: 57.7 kB / 0.8246 GB, free: 84.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002832/1.402, allocations: 4.665 MB / 0.8291 GB, free: 79.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.403, allocations: 0.8284 MB / 0.8299 GB, free: 78.66 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/1.404, allocations: 156 kB / 0.8301 GB, free: 78.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003258/1.404, allocations: 0.6364 MB / 0.8307 GB, free: 77.87 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003267/1.407, allocations: 2.549 MB / 0.8332 GB, free: 75.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006009/1.413, allocations: 7.444 MB / 0.8405 GB, free: 65.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005527/1.419, allocations: 4.262 MB / 0.8446 GB, free: 61.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-05/1.419, allocations: 52.19 kB / 0.8447 GB, free: 61.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1009) (initialization): time 0.01702/1.436, allocations: 10.44 MB / 0.8549 GB, free: 50.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.436, allocations: 80 kB / 0.8549 GB, free: 50.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002263/1.436, allocations: 176 kB / 0.8551 GB, free: 50.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/1.439, allocations: 1.015 MB / 0.8561 GB, free: 49.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006085/1.445, allocations: 1.852 MB / 0.8579 GB, free: 47.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009505/1.454, allocations: 9.561 MB / 0.8672 GB, free: 37.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00863/1.463, allocations: 427.2 kB / 0.8676 GB, free: 37.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002057/1.465, allocations: 487.6 kB / 0.8681 GB, free: 36.73 MB / 0.5294 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 (946): * Single equations (assignments): 940 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007435/1.473, allocations: 3.036 MB / 0.8711 GB, free: 33.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0019/1.475, allocations: 0.5515 MB / 0.8716 GB, free: 33.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006548/1.481, allocations: 3.735 MB / 0.8753 GB, free: 29.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.793e-05/1.481, allocations: 20 kB / 0.8753 GB, free: 29.33 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/1.481, allocations: 8 kB / 0.8753 GB, free: 29.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.693e-05/1.481, allocations: 15.92 kB / 0.8753 GB, free: 29.31 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/1.499, allocations: 10.17 MB / 0.8852 GB, free: 19.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.499, allocations: 5.156 kB / 0.8852 GB, free: 19.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.501, allocations: 395.4 kB / 0.8856 GB, free: 18.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/1.503, allocations: 0.7185 MB / 0.8863 GB, free: 18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/1.503, allocations: 36 kB / 0.8864 GB, free: 17.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007592/1.511, allocations: 8.637 MB / 0.8948 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.511, allocations: 3.938 kB / 0.8948 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00831/1.519, allocations: 6.716 MB / 0.9013 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002139/1.521, allocations: 0.6382 MB / 0.902 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008933/1.522, allocations: 36 kB / 0.902 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.524, allocations: 111.9 kB / 0.9021 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/1.524, allocations: 133.2 kB / 0.9022 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.525, allocations: 48.12 kB / 0.9023 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00768/1.532, allocations: 4.606 MB / 0.9068 GB, free: 12.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.51e-07/1.532, allocations: 0 / 0.9068 GB, free: 12.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008635/1.541, allocations: 1.419 MB / 0.9082 GB, free: 11.16 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006681/1.542, allocations: 195.7 kB / 0.9084 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.554, allocations: 6.461 MB / 0.9147 GB, free: 4.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.554, allocations: 4 kB / 0.9147 GB, free: 4.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003335/1.558, allocations: 2.062 MB / 0.9167 GB, free: 2.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004657/1.562, allocations: 0.7524 MB / 0.9174 GB, free: 1.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2973/1.86, allocations: 15.8 MB / 0.9329 GB, free: 179.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/1.87, allocations: 4.768 MB / 0.9375 GB, free: 179 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009397/1.88, allocations: 2.54 MB / 0.94 GB, free: 178.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/1.882, allocations: 362.1 kB / 0.9403 GB, free: 178.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.203e-06/1.882, allocations: 0 / 0.9403 GB, free: 178.8 MB / 0.545 GB Notification: Performance of Templates: time 0.09865/1.98, allocations: 53.13 MB / 0.9922 GB, free: 137.7 MB / 0.545 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/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