Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, 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.231/1.231, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008332/0.0008332, allocations: 101.9 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2876/0.2876, allocations: 45.22 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 11.94 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2605, allocations: 63.25 MB / 0.5192 GB, free: 37.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3803, allocations: 109.1 MB / 0.6258 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.3805, allocations: 79.95 kB / 0.6258 GB, free: 10.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4745/0.8551, allocations: 110.6 MB / 0.7339 GB, free: 98.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.8551, allocations: 0 / 0.7339 GB, free: 98.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002828/0.8554, allocations: 97.81 kB / 0.7339 GB, free: 98.02 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01497/0.8704, allocations: 5.668 MB / 0.7395 GB, free: 95.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.8704, allocations: 11.62 kB / 0.7395 GB, free: 95.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0234/0.8938, allocations: 6.865 MB / 0.7462 GB, free: 92.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01463/0.9085, allocations: 5.777 MB / 0.7518 GB, free: 88.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/0.9089, allocations: 385.4 kB / 0.7522 GB, free: 88.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/0.9109, allocations: 0.4995 MB / 0.7527 GB, free: 88.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02256/0.9335, allocations: 12.43 MB / 0.7648 GB, free: 76.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003079/0.9338, allocations: 79.33 kB / 0.7649 GB, free: 76.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001769/0.9356, allocations: 243.9 kB / 0.7651 GB, free: 76.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/0.9371, allocations: 1.133 MB / 0.7662 GB, free: 75.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/0.9538, allocations: 9.812 MB / 0.7758 GB, free: 65.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04963/1.003, allocations: 56.4 MB / 0.8309 GB, free: 7.488 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00903/1.012, allocations: 4.281 MB / 0.8351 GB, free: 3.043 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009886/1.022, allocations: 5.637 MB / 0.8406 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/1.022, allocations: 47.39 kB / 0.8406 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=150): time 4.499e-06/1.022, allocations: 0 / 0.8406 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=162): time 0.03666/1.059, allocations: 15.03 MB / 0.8553 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.059, allocations: 222.2 kB / 0.8555 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00895/1.068, allocations: 5.006 MB / 0.8604 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/1.069, allocations: 53.7 kB / 0.8605 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002799/1.071, allocations: 3.861 MB / 0.8642 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007022/1.072, allocations: 0.656 MB / 0.8649 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/1.072, allocations: 132 kB / 0.865 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003437/1.073, allocations: 0.5871 MB / 0.8656 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002715/1.075, allocations: 1.969 MB / 0.8675 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/1.081, allocations: 6.25 MB / 0.8736 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004613/1.085, allocations: 3.456 MB / 0.877 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.281e-05/1.085, allocations: 44 kB / 0.877 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.2477/1.333, allocations: 8.349 MB / 0.8852 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002423/1.333, allocations: 70.72 kB / 0.8852 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003228/1.334, allocations: 154.8 kB / 0.8854 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/1.335, allocations: 0.601 MB / 0.886 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004509/1.34, allocations: 1.497 MB / 0.8874 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005463/1.345, allocations: 5.809 MB / 0.8931 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/1.35, allocations: 350.2 kB / 0.8934 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/1.351, allocations: 417.3 kB / 0.8938 GB, free: 123.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (809): * Single equations (assignments): 804 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004689/1.356, allocations: 2.521 MB / 0.8963 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008937/1.357, allocations: 464.9 kB / 0.8967 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/1.361, allocations: 2.424 MB / 0.8991 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/1.361, allocations: 19.75 kB / 0.8991 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.361, allocations: 9.609 kB / 0.8991 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/1.361, allocations: 15.09 kB / 0.8992 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/1.375, allocations: 7.237 MB / 0.9062 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.375, allocations: 3.219 kB / 0.9062 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.377, allocations: 251.4 kB / 0.9065 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/1.378, allocations: 360.8 kB / 0.9068 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/1.378, allocations: 31.89 kB / 0.9068 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004917/1.383, allocations: 5.168 MB / 0.9119 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.383, allocations: 6.344 kB / 0.9119 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006499/1.389, allocations: 5.107 MB / 0.9169 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.391, allocations: 0.5317 MB / 0.9174 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009659/1.392, allocations: 34.31 kB / 0.9174 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/1.394, allocations: 71.08 kB / 0.9175 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/1.394, allocations: 92.61 kB / 0.9176 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.394, allocations: 47.38 kB / 0.9176 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005415/1.4, allocations: 3.596 MB / 0.9211 GB, free: 116 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.01e-07/1.4, allocations: 3.438 kB / 0.9211 GB, free: 116 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0054/1.405, allocations: 1.116 MB / 0.9222 GB, free: 115.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (120): * Single equations (assignments): 115 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004641/1.406, allocations: 179.8 kB / 0.9224 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006429/1.412, allocations: 4.967 MB / 0.9273 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/1.412, allocations: 0 / 0.9273 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/1.414, allocations: 1.405 MB / 0.9286 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003609/1.417, allocations: 0.5819 MB / 0.9292 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/1.437, allocations: 12.51 MB / 0.9414 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004039/1.441, allocations: 3.964 MB / 0.9453 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005121/1.446, allocations: 2.141 MB / 0.9474 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000884/1.447, allocations: 295.5 kB / 0.9477 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/1.447, allocations: 2.844 kB / 0.9477 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.06375/1.511, allocations: 39.98 MB / 0.9867 GB, free: 82.5 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches