Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009697/0.0009698, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007859/0.000786, allocations: 95.33 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.349/0.349, allocations: 44.21 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 8 kB / 459.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3788, allocations: 61.89 MB / 0.5096 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.5212, allocations: 107.1 MB / 0.6141 GB, free: 4.004 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.5215, allocations: 79.95 kB / 0.6142 GB, free: 3.926 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5803/1.102, allocations: 132.8 MB / 0.7439 GB, free: 89.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.102, allocations: 0 / 0.7439 GB, free: 89.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003316/1.102, allocations: 132.4 kB / 0.744 GB, free: 89.1 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02141/1.124, allocations: 6.982 MB / 0.7508 GB, free: 85.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.124, allocations: 6.844 kB / 0.7508 GB, free: 85.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03395/1.158, allocations: 9.411 MB / 0.76 GB, free: 81.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02011/1.178, allocations: 8.157 MB / 0.768 GB, free: 76.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004044/1.178, allocations: 486.8 kB / 0.7684 GB, free: 76.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00319/1.181, allocations: 0.6399 MB / 0.7691 GB, free: 76.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02973/1.211, allocations: 15.28 MB / 0.784 GB, free: 59.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002364/1.211, allocations: 91.12 kB / 0.7841 GB, free: 59.56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008639/1.212, allocations: 307.9 kB / 0.7844 GB, free: 59.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001355/1.214, allocations: 1.345 MB / 0.7857 GB, free: 57.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/1.236, allocations: 12.07 MB / 0.7975 GB, free: 45.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07146/1.308, allocations: 67.66 MB / 0.8635 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/1.32, allocations: 5.244 MB / 0.8687 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/1.32, allocations: 40.89 kB / 0.8687 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/1.32, allocations: 55.7 kB / 0.8688 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 6.432e-06/1.32, allocations: 0 / 0.8688 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.3684/1.689, allocations: 19.77 MB / 0.8881 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.689, allocations: 253.2 kB / 0.8883 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01232/1.701, allocations: 5.945 MB / 0.8941 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005803/1.702, allocations: 57.45 kB / 0.8942 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004559/1.706, allocations: 4.703 MB / 0.8988 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001373/1.708, allocations: 0.8138 MB / 0.8996 GB, free: 105 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007053/1.708, allocations: 156.4 kB / 0.8997 GB, free: 105 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004573/1.709, allocations: 0.6337 MB / 0.9003 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004114/1.713, allocations: 2.47 MB / 0.9027 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008308/1.721, allocations: 7.397 MB / 0.91 GB, free: 98.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007783/1.729, allocations: 4.184 MB / 0.914 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002635/1.729, allocations: 51.11 kB / 0.9141 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.02079/1.75, allocations: 10.18 MB / 0.924 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/1.75, allocations: 81.55 kB / 0.9241 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002461/1.751, allocations: 178.9 kB / 0.9243 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/1.753, allocations: 0.8243 MB / 0.9251 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005731/1.758, allocations: 1.761 MB / 0.9268 GB, free: 93.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008639/1.767, allocations: 8.612 MB / 0.9352 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007995/1.775, allocations: 422.7 kB / 0.9356 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.777, allocations: 490.9 kB / 0.9361 GB, free: 87.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],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],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 (945): * Single equations (assignments): 939 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00647/1.783, allocations: 3.05 MB / 0.9391 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/1.785, allocations: 0.5432 MB / 0.9396 GB, free: 85.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005657/1.79, allocations: 3.439 MB / 0.943 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-05/1.79, allocations: 27.91 kB / 0.943 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/1.79, allocations: 10.23 kB / 0.943 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/1.79, allocations: 8.531 kB / 0.943 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01849/1.809, allocations: 9.609 MB / 0.9524 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.809, allocations: 2.953 kB / 0.9524 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.81, allocations: 306.2 kB / 0.9527 GB, free: 81.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/1.812, allocations: 0.5228 MB / 0.9532 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/1.812, allocations: 40.69 kB / 0.9532 GB, free: 80.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007205/1.819, allocations: 7.725 MB / 0.9608 GB, free: 75.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/1.819, allocations: 3.938 kB / 0.9608 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009527/1.829, allocations: 6.255 MB / 0.9669 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/1.832, allocations: 0.6182 MB / 0.9675 GB, free: 72.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001541/1.833, allocations: 38.56 kB / 0.9675 GB, free: 72.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002897/1.836, allocations: 113.3 kB / 0.9676 GB, free: 71.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006056/1.837, allocations: 125 kB / 0.9678 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/1.837, allocations: 50.12 kB / 0.9678 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009815/1.847, allocations: 4.24 MB / 0.9719 GB, free: 68.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/1.847, allocations: 0 / 0.9719 GB, free: 68.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009512/1.857, allocations: 1.389 MB / 0.9733 GB, free: 67.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * 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%) 11,(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.0005835/1.857, allocations: 185.3 kB / 0.9735 GB, free: 67.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009955/1.867, allocations: 6.279 MB / 0.9796 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.867, allocations: 4 kB / 0.9796 GB, free: 61.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002407/1.87, allocations: 1.976 MB / 0.9815 GB, free: 60.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004542/1.874, allocations: 0.7647 MB / 0.9823 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/1.898, allocations: 15.69 MB / 0.9976 GB, free: 45.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005558/1.904, allocations: 4.793 MB / 1.002 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006127/1.91, allocations: 2.516 MB / 1.005 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.911, allocations: 356.8 kB / 1.005 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.463e-06/1.911, allocations: 0 / 1.005 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.09083/2.002, allocations: 50.59 MB / 1.054 GB, free: 9.641 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches