Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009265/0.0009265, allocations: 93.84 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1939/0.1939, allocations: 45.13 MB / 389.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.421e-05/2.424e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09622/0.09626, allocations: 63.25 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4608, allocations: 109.9 MB / 0.6187 GB, free: 336 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4611, allocations: 78.89 kB / 0.6188 GB, free: 296 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5779/1.039, allocations: 145.1 MB / 0.7605 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.705e-06/1.039, allocations: 0 / 0.7605 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005716/1.04, allocations: 137 kB / 0.7607 GB, free: 104.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02724/1.067, allocations: 6.962 MB / 0.7675 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.067, allocations: 16.97 kB / 0.7675 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03551/1.102, allocations: 9.506 MB / 0.7768 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0176/1.12, allocations: 7.622 MB / 0.7842 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004803/1.121, allocations: 0.521 MB / 0.7847 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002832/1.123, allocations: 0.7017 MB / 0.7854 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02809/1.152, allocations: 16.52 MB / 0.8015 GB, free: 96.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000256/1.152, allocations: 106.6 kB / 0.8016 GB, free: 96.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008773/1.153, allocations: 344.4 kB / 0.802 GB, free: 96.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001438/1.154, allocations: 1.486 MB / 0.8034 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02074/1.175, allocations: 13 MB / 0.8161 GB, free: 96.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05713/1.232, allocations: 75.41 MB / 0.8898 GB, free: 40.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/1.245, allocations: 6.285 MB / 0.8959 GB, free: 35.63 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003006/1.248, allocations: 3.466 MB / 0.8993 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.606e-05/1.248, allocations: 40.62 kB / 0.8993 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/1.248, allocations: 59.34 kB / 0.8994 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 4.439e-06/1.248, allocations: 4 kB / 0.8994 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=262): time 0.04925/1.297, allocations: 24.12 MB / 0.9229 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.297, allocations: 289.8 kB / 0.9232 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006907/1.304, allocations: 6.239 MB / 0.9293 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002611/1.305, allocations: 61.7 kB / 0.9294 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002076/1.307, allocations: 4.999 MB / 0.9342 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006692/1.307, allocations: 1.016 MB / 0.9352 GB, free: 316 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003085/1.308, allocations: 168 kB / 0.9354 GB, free: 148 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009684/1.309, allocations: 0.7218 MB / 0.9361 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004065/1.313, allocations: 3.012 MB / 0.939 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007553/1.32, allocations: 8.266 MB / 0.9471 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006541/1.327, allocations: 4.953 MB / 0.9519 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.228e-05/1.327, allocations: 52 kB / 0.952 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.01758/1.344, allocations: 12.16 MB / 0.9639 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.345, allocations: 84 kB / 0.964 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/1.345, allocations: 188 kB / 0.9641 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002994/1.348, allocations: 1.353 MB / 0.9655 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005437/1.353, allocations: 1.973 MB / 0.9674 GB, free: 212 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2796/1.633, allocations: 11.21 MB / 0.9783 GB, free: 115 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006549/1.639, allocations: 476.2 kB / 0.9788 GB, free: 115 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009329/1.64, allocations: 0.5156 MB / 0.9793 GB, free: 115 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1037 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001072/1.642, allocations: 0.7886 MB / 0.9801 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000903/1.642, allocations: 0.597 MB / 0.9806 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009028/1.651, allocations: 5.233 MB / 0.9857 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.883e-05/1.652, allocations: 35.45 kB / 0.9858 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.777e-05/1.652, allocations: 12.97 kB / 0.9858 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/1.652, allocations: 12.62 kB / 0.9858 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/1.67, allocations: 12.88 MB / 0.9984 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/1.67, allocations: 2.438 kB / 0.9984 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/1.672, allocations: 430 kB / 0.9988 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002354/1.674, allocations: 1.045 MB / 0.9998 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/1.675, allocations: 43.97 kB / 0.9999 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00929/1.684, allocations: 10.21 MB / 1.01 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.684, allocations: 3.719 kB / 1.01 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.694, allocations: 8.964 MB / 1.019 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.696, allocations: 0.6503 MB / 1.019 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007054/1.697, allocations: 47.05 kB / 1.019 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/1.699, allocations: 157.2 kB / 1.019 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/1.699, allocations: 148.7 kB / 1.02 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/1.7, allocations: 65.19 kB / 1.02 GB, free: 108.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005543/1.705, allocations: 4.429 MB / 1.024 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.282e-06/1.705, allocations: 1.594 kB / 1.024 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006593/1.712, allocations: 1.604 MB / 1.026 GB, free: 106.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 198 * 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 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000478/1.712, allocations: 190.2 kB / 1.026 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009309/1.722, allocations: 7.68 MB / 1.033 GB, free: 104 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.722, allocations: 2.219 kB / 1.033 GB, free: 104 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003544/1.725, allocations: 2.76 MB / 1.036 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003765/1.729, allocations: 0.7976 MB / 1.037 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/1.747, allocations: 12.67 MB / 1.049 GB, free: 98.06 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004725/1.752, allocations: 5.16 MB / 1.054 GB, free: 96.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006491/1.759, allocations: 2.83 MB / 1.057 GB, free: 96.31 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/1.76, allocations: 391.5 kB / 1.057 GB, free: 96.29 MB / 0.5573 GB Notification: Performance of SimCode: time 8.51e-07/1.76, allocations: 0 / 1.057 GB, free: 96.29 MB / 0.5573 GB Notification: Performance of Templates: time 0.08659/1.846, allocations: 60.42 MB / 1.116 GB, free: 57.9 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches