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.001305/0.001305, allocations: 109.4 kB / 17.03 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.515/1.515, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2291/0.2291, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 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.001652/0.001653, allocations: 71.86 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1227, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01771/0.1405, allocations: 18 MB / 460 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.1534, allocations: 5.428 MB / 465.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003959/0.1573, allocations: 127.7 kB / 465.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01178/0.1691, allocations: 6.106 MB / 471.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009957/0.1792, allocations: 3.171 MB / 474.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004253/0.1835, allocations: 1.591 MB / 476.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0158/0.1993, allocations: 8.386 MB / 484.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/0.2102, allocations: 7.721 MB / 492.5 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006175/0.2164, allocations: 3.291 MB / 495.8 MB, free: 92 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006918/0.2233, allocations: 4.319 MB / 0.4884 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002637/0.226, allocations: 0.6641 MB / 0.489 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004395/0.2304, allocations: 1.483 MB / 0.4905 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005937/0.2364, allocations: 3.959 MB / 0.4943 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01004/0.2465, allocations: 4.443 MB / 0.4987 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02037/0.2669, allocations: 13.62 MB / 0.512 GB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.2669, allocations: 0 / 0.512 GB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.267, allocations: 0 / 0.512 GB, free: 3.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006419/0.2676, allocations: 4 kB / 0.512 GB, free: 3.504 MB / 398.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.02701/0.2946, allocations: 9.524 MB / 0.5213 GB, free: 9.887 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.2947, allocations: 19.89 kB / 0.5213 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/0.3075, allocations: 2.715 MB / 0.5239 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0171/0.3246, allocations: 5.138 MB / 0.529 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009397/0.3256, allocations: 492.1 kB / 0.5294 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004139/0.3298, allocations: 0.6167 MB / 0.53 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4499/0.7797, allocations: 19.48 MB / 0.5491 GB, free: 73.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002457/0.78, allocations: 75.67 kB / 0.5491 GB, free: 73.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001138/0.7812, allocations: 292.9 kB / 0.5494 GB, free: 73.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004581/0.7857, allocations: 3.647 MB / 0.553 GB, free: 72.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02725/0.813, allocations: 15.17 MB / 0.5678 GB, free: 58.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0838/0.8969, allocations: 72.71 MB / 0.6388 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01626/0.9132, allocations: 6.105 MB / 0.6447 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004004/0.9172, allocations: 2.547 MB / 0.6472 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01919/0.9364, allocations: 11.16 MB / 0.6581 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/0.9365, allocations: 64.55 kB / 0.6582 GB, free: 12.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 8.206e-06/0.9365, allocations: 3.984 kB / 0.6582 GB, free: 12.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=274): time 0.04096/0.9775, allocations: 16.34 MB / 0.6742 GB, free: 12.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/0.9776, allocations: 158.5 kB / 0.6743 GB, free: 12.01 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009108/0.9868, allocations: 6.771 MB / 0.6809 GB, free: 5.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003999/0.9872, allocations: 65.7 kB / 0.681 GB, free: 5.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00402/0.9912, allocations: 5.735 MB / 0.6866 GB, free: 15.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001291/0.9925, allocations: 1.053 MB / 0.6876 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002329/0.9948, allocations: 1.896 MB / 0.6895 GB, free: 12.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.995, allocations: 301.1 kB / 0.6897 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004612/0.9996, allocations: 2.771 MB / 0.6925 GB, free: 9.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00898/1.009, allocations: 8.666 MB / 0.7009 GB, free: 13.72 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01806/1.027, allocations: 12.44 MB / 0.7131 GB, free: 14.35 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002172/1.027, allocations: 60 kB / 0.7131 GB, free: 14.29 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02448/1.051, allocations: 11.11 MB / 0.724 GB, free: 3.176 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/1.052, allocations: 99.94 kB / 0.7241 GB, free: 3.078 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002326/1.052, allocations: 212.1 kB / 0.7243 GB, free: 2.871 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/1.052, allocations: 276 kB / 0.7245 GB, free: 2.602 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007488/1.06, allocations: 2.211 MB / 0.7267 GB, free: 396 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.241/1.301, allocations: 405.8 kB / 0.7271 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00873/1.309, allocations: 462.8 kB / 0.7275 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001878/1.311, allocations: 0.5764 MB / 0.7281 GB, free: 162.5 MB / 0.5138 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 (1195): * Single equations (assignments): 1184 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006454/1.318, allocations: 3.763 MB / 0.7318 GB, free: 162.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.319, allocations: 0.5866 MB / 0.7323 GB, free: 162.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00497/1.324, allocations: 2.984 MB / 0.7352 GB, free: 162.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/1.324, allocations: 29.73 kB / 0.7353 GB, free: 162.2 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.324, allocations: 1.938 kB / 0.7353 GB, free: 162.2 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/1.324, allocations: 15.84 kB / 0.7353 GB, free: 162.2 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03519/1.359, allocations: 25.14 MB / 0.7598 GB, free: 153.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.845e-05/1.359, allocations: 70.14 kB / 0.7599 GB, free: 153.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/1.361, allocations: 0.6121 MB / 0.7605 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.865e-05/1.361, allocations: 82.28 kB / 0.7606 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/1.361, allocations: 138 kB / 0.7607 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.347e-05/1.361, allocations: 121.6 kB / 0.7608 GB, free: 153 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.17e-05/1.361, allocations: 98.88 kB / 0.7609 GB, free: 153 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006258/1.368, allocations: 5.89 MB / 0.7667 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/1.37, allocations: 0.7112 MB / 0.7674 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009156/1.371, allocations: 144.5 kB / 0.7675 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/1.373, allocations: 152.6 kB / 0.7677 GB, free: 148.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004745/1.374, allocations: 428.4 kB / 0.7681 GB, free: 148.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/1.374, allocations: 179.8 kB / 0.7682 GB, free: 148.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006448/1.381, allocations: 4.229 MB / 0.7724 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 7.11e-07/1.381, allocations: 0 / 0.7724 GB, free: 146.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009588/1.39, allocations: 1.564 MB / 0.7739 GB, free: 146.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008753/1.391, allocations: 327.4 kB / 0.7742 GB, free: 145.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.008994/1.4, allocations: 6.601 MB / 0.7807 GB, free: 140 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.711e-05/1.4, allocations: 12.75 kB / 0.7807 GB, free: 140 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00218/1.402, allocations: 1.647 MB / 0.7823 GB, free: 138.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006087/1.409, allocations: 0.9934 MB / 0.7832 GB, free: 137.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/1.435, allocations: 17.98 MB / 0.8008 GB, free: 118.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009628/1.445, allocations: 5.801 MB / 0.8065 GB, free: 113 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006751/1.451, allocations: 2.89 MB / 0.8093 GB, free: 110.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.452, allocations: 419.4 kB / 0.8097 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of SimCode: time 1.353e-06/1.452, allocations: 0 / 0.8097 GB, free: 109.7 MB / 0.5138 GB Notification: Performance of Templates: time 0.08365/1.536, allocations: 42.8 MB / 0.8515 GB, free: 67.22 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches