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.0009141/0.0009141, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.285/1.285, allocations: 221.4 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008433/0.0008433, allocations: 83.03 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1978/0.1978, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.834e-05/2.838e-05, allocations: 4.219 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3931/0.5194, allocations: 107 MB / 0.6062 GB, free: 14.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.5196, allocations: 75.95 kB / 0.6063 GB, free: 14.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.608/1.128, allocations: 132.9 MB / 0.7361 GB, free: 110 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/1.128, allocations: 2.516 kB / 0.7361 GB, free: 110 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004666/1.128, allocations: 132.6 kB / 0.7362 GB, free: 110 MB / 0.5105 GB 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.02202/1.15, allocations: 6.367 MB / 0.7424 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/1.15, allocations: 11.59 kB / 0.7424 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03483/1.185, allocations: 9.429 MB / 0.7516 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/1.206, allocations: 8.096 MB / 0.7595 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005223/1.207, allocations: 494.5 kB / 0.76 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002906/1.21, allocations: 0.6469 MB / 0.7606 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03308/1.243, allocations: 15.14 MB / 0.7754 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003645/1.243, allocations: 96.75 kB / 0.7755 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001644/1.245, allocations: 312.3 kB / 0.7758 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001505/1.246, allocations: 1.343 MB / 0.7771 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/1.267, allocations: 11.85 MB / 0.7887 GB, free: 98.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06325/1.331, allocations: 67.65 MB / 0.8548 GB, free: 41.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01091/1.342, allocations: 5.191 MB / 0.8598 GB, free: 36.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/1.344, allocations: 2.577 MB / 0.8623 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/1.344, allocations: 32.27 kB / 0.8624 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.345, allocations: 55.28 kB / 0.8624 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 4.829e-06/1.345, allocations: 0 / 0.8624 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.04092/1.385, allocations: 16.83 MB / 0.8789 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/1.386, allocations: 256.5 kB / 0.8791 GB, free: 17.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008822/1.394, allocations: 5.875 MB / 0.8848 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005181/1.395, allocations: 61.53 kB / 0.8849 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00267/1.398, allocations: 4.696 MB / 0.8895 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008885/1.399, allocations: 0.819 MB / 0.8903 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/1.399, allocations: 156 kB / 0.8904 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000288/1.399, allocations: 0.6364 MB / 0.8911 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002913/1.402, allocations: 2.397 MB / 0.8934 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006136/1.408, allocations: 7.325 MB / 0.9005 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006577/1.415, allocations: 4.158 MB / 0.9046 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/1.415, allocations: 52 kB / 0.9047 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.3242/1.739, allocations: 10.05 MB / 0.9145 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.739, allocations: 85.59 kB / 0.9145 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003618/1.74, allocations: 175.6 kB / 0.9147 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/1.742, allocations: 0.8202 MB / 0.9155 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006347/1.748, allocations: 1.767 MB / 0.9172 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009785/1.758, allocations: 8.466 MB / 0.9255 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007202/1.765, allocations: 415.3 kB / 0.9259 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/1.767, allocations: 485.2 kB / 0.9264 GB, free: 101.7 MB / 0.5261 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 () * 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.001276/1.768, allocations: 0.727 MB / 0.9271 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.77, allocations: 0.5462 MB / 0.9276 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007136/1.777, allocations: 3.37 MB / 0.9309 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.517e-05/1.777, allocations: 24.84 kB / 0.9309 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.463e-05/1.777, allocations: 10.92 kB / 0.9309 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/1.777, allocations: 8.906 kB / 0.9309 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/1.793, allocations: 9.537 MB / 0.9403 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.793, allocations: 0 / 0.9403 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/1.794, allocations: 302.5 kB / 0.9405 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/1.796, allocations: 0.5322 MB / 0.9411 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/1.796, allocations: 35.78 kB / 0.9411 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006325/1.802, allocations: 7.58 MB / 0.9485 GB, free: 96.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.802, allocations: 0 / 0.9485 GB, free: 96.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007448/1.81, allocations: 6.164 MB / 0.9545 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001953/1.812, allocations: 0.6113 MB / 0.9551 GB, free: 95.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007255/1.812, allocations: 28.5 kB / 0.9551 GB, free: 95.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.814, allocations: 115 kB / 0.9553 GB, free: 95.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/1.815, allocations: 123.2 kB / 0.9554 GB, free: 95.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/1.815, allocations: 53.77 kB / 0.9554 GB, free: 95.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006742/1.821, allocations: 4.182 MB / 0.9595 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/1.821, allocations: 0 / 0.9595 GB, free: 94.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008121/1.83, allocations: 1.381 MB / 0.9609 GB, free: 94.28 MB / 0.5261 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 () * 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.0005453/1.83, allocations: 183.6 kB / 0.961 GB, free: 94.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008721/1.839, allocations: 6.165 MB / 0.9671 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.839, allocations: 3.031 kB / 0.9671 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/1.841, allocations: 1.939 MB / 0.9689 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00451/1.846, allocations: 0.7602 MB / 0.9697 GB, free: 91.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/1.869, allocations: 10.94 MB / 0.9804 GB, free: 87.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007961/1.877, allocations: 4.796 MB / 0.9851 GB, free: 85.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006876/1.884, allocations: 2.515 MB / 0.9875 GB, free: 85.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.885, allocations: 350.2 kB / 0.9878 GB, free: 85.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/1.885, allocations: 0 / 0.9878 GB, free: 85.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.08838/1.974, allocations: 50.59 MB / 1.037 GB, free: 58.11 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