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.00116/0.00116, allocations: 200.5 kB / 18.11 MB, free: 3.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008302/0.0008304, allocations: 91.88 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3584/0.3584, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003013, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3701, allocations: 62.96 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.5153, allocations: 109.1 MB / 0.625 GB, free: 12.18 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.5156, allocations: 87.94 kB / 0.6251 GB, free: 12.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4808/0.9965, allocations: 107.7 MB / 0.7303 GB, free: 97.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.9965, allocations: 0 / 0.7303 GB, free: 97.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004847/0.997, allocations: 105.1 kB / 0.7304 GB, free: 97.65 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.01973/1.017, allocations: 5.445 MB / 0.7357 GB, free: 94.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.017, allocations: 12.38 kB / 0.7357 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02058/1.037, allocations: 5.229 MB / 0.7408 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/1.05, allocations: 5.066 MB / 0.7458 GB, free: 91.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004223/1.051, allocations: 382.6 kB / 0.7461 GB, free: 91.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002594/1.053, allocations: 0.5047 MB / 0.7466 GB, free: 91.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02957/1.083, allocations: 12.36 MB / 0.7587 GB, free: 83.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004651/1.084, allocations: 74.77 kB / 0.7588 GB, free: 83.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00287/1.086, allocations: 250.6 kB / 0.759 GB, free: 82.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001932/1.088, allocations: 1.124 MB / 0.7601 GB, free: 82.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02118/1.11, allocations: 9.711 MB / 0.7696 GB, free: 74.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06291/1.173, allocations: 56.33 MB / 0.8246 GB, free: 16.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009388/1.182, allocations: 4.269 MB / 0.8288 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002297/1.184, allocations: 1.936 MB / 0.8306 GB, free: 9.797 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009707/1.194, allocations: 5.605 MB / 0.8361 GB, free: 4.098 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/1.194, allocations: 59.39 kB / 0.8362 GB, free: 4.031 MB / 490.7 MB Notification: Performance of pre-optimization done (n=150): time 5.039e-06/1.194, allocations: 0 / 0.8362 GB, free: 4.031 MB / 490.7 MB Notification: Performance of matching and sorting (n=162): time 0.04132/1.235, allocations: 14.77 MB / 0.8506 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/1.236, allocations: 222.2 kB / 0.8508 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01278/1.248, allocations: 5.618 MB / 0.8563 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004304/1.249, allocations: 49.7 kB / 0.8564 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004156/1.253, allocations: 3.865 MB / 0.8601 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.254, allocations: 0.6521 MB / 0.8608 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008104/1.255, allocations: 136 kB / 0.8609 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008447/1.256, allocations: 0.5869 MB / 0.8615 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004007/1.26, allocations: 1.965 MB / 0.8634 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00723/1.267, allocations: 6.277 MB / 0.8695 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/1.278, allocations: 9.015 MB / 0.8783 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001617/1.278, allocations: 48 kB / 0.8784 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.3393/1.618, allocations: 8.346 MB / 0.8865 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.883e-05/1.618, allocations: 71.81 kB / 0.8866 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/1.618, allocations: 152.8 kB / 0.8867 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/1.619, allocations: 0.5847 MB / 0.8873 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/1.623, allocations: 1.494 MB / 0.8888 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005581/1.629, allocations: 5.727 MB / 0.8944 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005401/1.634, allocations: 339.5 kB / 0.8947 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000789/1.635, allocations: 418.2 kB / 0.8951 GB, free: 123.7 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.005089/1.64, allocations: 2.519 MB / 0.8975 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/1.641, allocations: 467.3 kB / 0.898 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004556/1.646, allocations: 2.426 MB / 0.9003 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.923e-05/1.646, allocations: 19.39 kB / 0.9004 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/1.646, allocations: 11.75 kB / 0.9004 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/1.646, allocations: 6.797 kB / 0.9004 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/1.66, allocations: 7.24 MB / 0.9075 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.66, allocations: 6.469 kB / 0.9075 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/1.662, allocations: 254.5 kB / 0.9077 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/1.663, allocations: 360.3 kB / 0.908 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/1.663, allocations: 27 kB / 0.9081 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00515/1.668, allocations: 5.073 MB / 0.913 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.668, allocations: 7.812 kB / 0.913 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00704/1.675, allocations: 4.617 MB / 0.9175 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/1.677, allocations: 0.5224 MB / 0.9181 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006168/1.677, allocations: 31.47 kB / 0.9181 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.679, allocations: 66.91 kB / 0.9181 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/1.679, allocations: 98.8 kB / 0.9182 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/1.679, allocations: 53.45 kB / 0.9183 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007323/1.687, allocations: 3.588 MB / 0.9218 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.052e-06/1.687, allocations: 0 / 0.9218 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00758/1.694, allocations: 1.12 MB / 0.9229 GB, free: 116.1 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.0004879/1.695, allocations: 167.6 kB / 0.9231 GB, free: 116 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007379/1.702, allocations: 4.966 MB / 0.9279 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.702, allocations: 2.062 kB / 0.9279 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/1.704, allocations: 1.411 MB / 0.9293 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006004/1.71, allocations: 0.6128 MB / 0.9299 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.729, allocations: 12.55 MB / 0.9421 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004028/1.733, allocations: 3.857 MB / 0.9459 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004943/1.738, allocations: 2.137 MB / 0.948 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007777/1.739, allocations: 288.9 kB / 0.9483 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/1.739, allocations: 0 / 0.9483 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.07573/1.815, allocations: 40.15 MB / 0.9875 GB, free: 83.63 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/jenkins1/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