Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000999/0.0009989, allocations: 95.73 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 174.7 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3611/0.3611, allocations: 43.55 MB / 314.5 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005295/0.0005296, allocations: 16 kB / 383.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 58.86 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.2964/0.4193, allocations: 87.38 MB / 0.5177 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04713/0.4664, allocations: 19.33 MB / 0.5366 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01858/0.4851, allocations: 444.9 kB / 0.537 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01933/0.5044, allocations: 4.413 MB / 0.5413 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04377/0.5483, allocations: 12.49 MB / 0.5535 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006358/0.5546, allocations: 1.239 MB / 0.5547 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01066/0.5653, allocations: 4.681 MB / 0.5593 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01512/0.5805, allocations: 9.222 MB / 0.5683 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00438/0.5849, allocations: 2.141 MB / 0.5704 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004506/0.5894, allocations: 2.757 MB / 0.5731 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001757/0.5912, allocations: 296 kB / 0.5734 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004351/0.5956, allocations: 0.9598 MB / 0.5743 GB, free: 9.152 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005074/0.6007, allocations: 3.234 MB / 0.5775 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003815/0.6046, allocations: 1.602 MB / 0.579 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01486/0.6195, allocations: 10.46 MB / 0.5892 GB, free: 9.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6195, allocations: 0 / 0.5892 GB, free: 9.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6196, allocations: 0 / 0.5892 GB, free: 9.809 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006795/0.6202, allocations: 4 kB / 0.5892 GB, free: 9.805 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.02451/0.6448, allocations: 8.163 MB / 0.5972 GB, free: 1.551 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6448, allocations: 12.03 kB / 0.5972 GB, free: 1.539 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/0.6588, allocations: 3.132 MB / 0.6003 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/0.6724, allocations: 5.74 MB / 0.6059 GB, free: 8.574 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005224/0.673, allocations: 488 kB / 0.6064 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/0.6755, allocations: 0.6051 MB / 0.6069 GB, free: 7.488 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04273/0.7182, allocations: 19.63 MB / 0.6261 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004461/0.7188, allocations: 75.34 kB / 0.6262 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00318/0.722, allocations: 295.7 kB / 0.6265 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4015/1.124, allocations: 3.642 MB / 0.63 GB, free: 134.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02949/1.153, allocations: 15.32 MB / 0.645 GB, free: 132.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09864/1.252, allocations: 73.3 MB / 0.7166 GB, free: 81.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/1.267, allocations: 6.126 MB / 0.7226 GB, free: 76.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01924/1.286, allocations: 11.33 MB / 0.7336 GB, free: 64.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.286, allocations: 60.5 kB / 0.7337 GB, free: 64.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 4.859e-06/1.287, allocations: 0 / 0.7337 GB, free: 64.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.0381/1.325, allocations: 16.89 MB / 0.7502 GB, free: 47.47 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/1.325, allocations: 158.5 kB / 0.7503 GB, free: 47.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/1.337, allocations: 7.216 MB / 0.7574 GB, free: 40.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006231/1.338, allocations: 65.7 kB / 0.7574 GB, free: 40.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003442/1.341, allocations: 5.75 MB / 0.763 GB, free: 34.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.342, allocations: 1.059 MB / 0.7641 GB, free: 33.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005812/1.343, allocations: 190.6 kB / 0.7643 GB, free: 33.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004126/1.343, allocations: 0.7031 MB / 0.7649 GB, free: 32.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004229/1.348, allocations: 2.7 MB / 0.7676 GB, free: 29.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007123/1.355, allocations: 8.551 MB / 0.7759 GB, free: 18.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006802/1.362, allocations: 4.643 MB / 0.7805 GB, free: 13.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001387/1.362, allocations: 63.98 kB / 0.7805 GB, free: 13.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.01988/1.382, allocations: 10.96 MB / 0.7912 GB, free: 2.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000269/1.382, allocations: 92 kB / 0.7913 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003458/1.382, allocations: 208.9 kB / 0.7915 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003277/1.383, allocations: 308 kB / 0.7918 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007228/1.39, allocations: 2.184 MB / 0.7939 GB, free: 15.69 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004998/1.39, allocations: 410.9 kB / 0.7943 GB, free: 15.29 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007717/1.398, allocations: 462.2 kB / 0.7948 GB, free: 14.84 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00203/1.4, allocations: 0.578 MB / 0.7953 GB, free: 14.26 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1179): * Single equations (assignments): 1168 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008996/1.409, allocations: 3.752 MB / 0.799 GB, free: 10.5 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/1.411, allocations: 0.5938 MB / 0.7996 GB, free: 9.898 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006582/1.417, allocations: 2.992 MB / 0.8025 GB, free: 6.887 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/1.418, allocations: 31.75 kB / 0.8025 GB, free: 6.859 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.418, allocations: 0 / 0.8025 GB, free: 6.859 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.349e-05/1.418, allocations: 15.78 kB / 0.8025 GB, free: 6.848 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.258/1.676, allocations: 25.15 MB / 0.8271 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001872/1.676, allocations: 65.03 kB / 0.8272 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/1.678, allocations: 0.6086 MB / 0.8278 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.456e-05/1.678, allocations: 93.97 kB / 0.8279 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003483/1.679, allocations: 138.6 kB / 0.828 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.104e-05/1.679, allocations: 126.3 kB / 0.8281 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-05/1.679, allocations: 104.1 kB / 0.8282 GB, free: 145.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009064/1.688, allocations: 17.4 MB / 0.8452 GB, free: 129.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002471/1.69, allocations: 0.7441 MB / 0.8459 GB, free: 129.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/1.692, allocations: 146.5 kB / 0.8461 GB, free: 129.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003191/1.695, allocations: 155.6 kB / 0.8462 GB, free: 129.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005693/1.695, allocations: 421.9 kB / 0.8466 GB, free: 129.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002802/1.696, allocations: 180 kB / 0.8468 GB, free: 129.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007542/1.703, allocations: 4.571 MB / 0.8512 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.21e-07/1.703, allocations: 0 / 0.8512 GB, free: 129.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008463/1.712, allocations: 1.58 MB / 0.8528 GB, free: 128.9 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * Number of states: 0 () * 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 (326): * Single equations (assignments): 323 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007329/1.713, allocations: 350.8 kB / 0.8531 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.009158/1.722, allocations: 6.338 MB / 0.8593 GB, free: 126.6 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-05/1.722, allocations: 14.31 kB / 0.8593 GB, free: 126.6 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002468/1.724, allocations: 1.638 MB / 0.8609 GB, free: 126.1 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005833/1.73, allocations: 0.9078 MB / 0.8618 GB, free: 125.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04155/1.772, allocations: 21.28 MB / 0.8826 GB, free: 113.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.011/1.783, allocations: 5.971 MB / 0.8884 GB, free: 111.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008242/1.791, allocations: 2.898 MB / 0.8913 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/1.793, allocations: 431 kB / 0.8917 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of SimCode: time 1.163e-06/1.793, allocations: 0 / 0.8917 GB, free: 110.9 MB / 0.5138 GB Notification: Performance of Templates: time 0.08624/1.879, allocations: 48.74 MB / 0.9393 GB, free: 73.31 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches