Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001262, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 227.2 MB / 245 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008414/0.0008412, allocations: 103.8 kB / 297.3 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.3208/0.3208, allocations: 45.24 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.0002589, allocations: 8 kB / 468.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2819, allocations: 63.25 MB / 0.5192 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.4045, allocations: 109.2 MB / 0.6258 GB, free: 10.21 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.4048, allocations: 83.95 kB / 0.6259 GB, free: 10.13 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5809/0.9857, allocations: 165.5 MB / 0.7875 GB, free: 54.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.9857, allocations: 0 / 0.7875 GB, free: 54.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003467/0.9861, allocations: 167.9 kB / 0.7876 GB, free: 54.73 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: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.02648/1.013, allocations: 8.808 MB / 0.7962 GB, free: 45.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.013, allocations: 8.031 kB / 0.7962 GB, free: 45.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0331/1.046, allocations: 9.677 MB / 0.8057 GB, free: 36.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02018/1.066, allocations: 8.214 MB / 0.8137 GB, free: 27.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005154/1.067, allocations: 0.6177 MB / 0.8143 GB, free: 27.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003474/1.07, allocations: 0.8202 MB / 0.8151 GB, free: 26.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04216/1.112, allocations: 20.05 MB / 0.8347 GB, free: 4.754 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004533/1.113, allocations: 103 kB / 0.8348 GB, free: 4.652 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00217/1.115, allocations: 391.8 kB / 0.8352 GB, free: 4.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001979/1.117, allocations: 1.782 MB / 0.8369 GB, free: 2.484 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03195/1.149, allocations: 16.54 MB / 0.8531 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5982/1.747, allocations: 83.34 MB / 0.9345 GB, free: 47.14 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/1.765, allocations: 8.172 MB / 0.9424 GB, free: 46.45 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/1.766, allocations: 63.39 kB / 0.9425 GB, free: 46.45 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/1.766, allocations: 65.06 kB / 0.9426 GB, free: 46.41 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=301): time 6.392e-06/1.766, allocations: 1.969 kB / 0.9426 GB, free: 46.41 MB / 0.5262 GB Notification: Performance of matching and sorting (n=364): time 0.08378/1.85, allocations: 39.59 MB / 0.9812 GB, free: 39.18 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/1.85, allocations: 275.9 kB / 0.9815 GB, free: 38.9 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008947/1.859, allocations: 6.997 MB / 0.9883 GB, free: 38.39 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007738/1.859, allocations: 83.73 kB / 0.9884 GB, free: 38.36 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002746/1.862, allocations: 5.543 MB / 0.9938 GB, free: 34.46 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001255/1.863, allocations: 1.364 MB / 0.9951 GB, free: 33.46 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004599/1.864, allocations: 196.3 kB / 0.9953 GB, free: 33.31 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0003719/1.864, allocations: 0.7186 MB / 0.996 GB, free: 32.83 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00468/1.869, allocations: 4.121 MB / 1 GB, free: 31.46 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006606/1.876, allocations: 9.648 MB / 1.009 GB, free: 22.71 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006728/1.882, allocations: 6.177 MB / 1.016 GB, free: 20.59 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-05/1.882, allocations: 58.94 kB / 1.016 GB, free: 20.59 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.02344/1.906, allocations: 15.81 MB / 1.031 GB, free: 13.44 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.426e-05/1.906, allocations: 88 kB / 1.031 GB, free: 13.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/1.906, allocations: 196 kB / 1.031 GB, free: 13.16 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005255/1.911, allocations: 2.451 MB / 1.034 GB, free: 11.37 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007127/1.919, allocations: 2.275 MB / 1.036 GB, free: 9.445 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/1.937, allocations: 17.41 MB / 1.053 GB, free: 9.934 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008366/1.945, allocations: 0.5711 MB / 1.053 GB, free: 9.457 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/1.947, allocations: 0.5755 MB / 1.054 GB, free: 8.91 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],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],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 (1167): * Single equations (assignments): 1161 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008827/1.956, allocations: 3.77 MB / 1.058 GB, free: 5.598 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00174/1.958, allocations: 0.6787 MB / 1.058 GB, free: 4.91 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/1.974, allocations: 8.79 MB / 1.067 GB, free: 13.93 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.496e-05/1.974, allocations: 36 kB / 1.067 GB, free: 13.89 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.951e-05/1.974, allocations: 16 kB / 1.067 GB, free: 13.88 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.984e-05/1.974, allocations: 19.22 kB / 1.067 GB, free: 13.88 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/2.012, allocations: 19.21 MB / 1.086 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/2.013, allocations: 4 kB / 1.086 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003243/2.016, allocations: 0.6319 MB / 1.086 GB, free: 14.19 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005508/2.021, allocations: 2.13 MB / 1.088 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005463/2.022, allocations: 64 kB / 1.089 GB, free: 11.99 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3032/2.325, allocations: 16.17 MB / 1.104 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/2.325, allocations: 0 / 1.104 GB, free: 135.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01965/2.345, allocations: 13.9 MB / 1.118 GB, free: 134.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/2.347, allocations: 0.7522 MB / 1.119 GB, free: 134.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001664/2.349, allocations: 56.03 kB / 1.119 GB, free: 134.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003442/2.352, allocations: 278.5 kB / 1.119 GB, free: 134.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005528/2.353, allocations: 219.2 kB / 1.119 GB, free: 134.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/2.353, allocations: 92.83 kB / 1.119 GB, free: 134.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007204/2.36, allocations: 4.989 MB / 1.124 GB, free: 134.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/2.36, allocations: 0 / 1.124 GB, free: 134.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0095/2.37, allocations: 1.98 MB / 1.126 GB, free: 134.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (289): * Single equations (assignments): 283 * 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,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007858/2.37, allocations: 218.2 kB / 1.126 GB, free: 134.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0143/2.385, allocations: 10.38 MB / 1.136 GB, free: 134 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/2.385, allocations: 0 / 1.136 GB, free: 134 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005734/2.391, allocations: 4.356 MB / 1.141 GB, free: 133.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004789/2.395, allocations: 0.908 MB / 1.142 GB, free: 133.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02961/2.425, allocations: 21.99 MB / 1.163 GB, free: 123.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007509/2.433, allocations: 5.924 MB / 1.169 GB, free: 121.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00775/2.44, allocations: 3.265 MB / 1.172 GB, free: 121.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001415/2.442, allocations: 463.5 kB / 1.172 GB, free: 121.6 MB / 0.573 GB Notification: Performance of SimCode: time 9.52e-07/2.442, allocations: 0 / 1.172 GB, free: 121.6 MB / 0.573 GB Notification: Performance of Templates: time 0.1105/2.552, allocations: 79.35 MB / 1.25 GB, free: 67.75 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches