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.007521/0.007521, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001372/0.001372, allocations: 191.5 kB / 16.78 MB, free: 6.238 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.587/1.587, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.4302/0.4302, allocations: 43.49 MB / 313.5 MB, free: 8.477 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.001605/0.001605, allocations: 66.56 kB / 382 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1458, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.3422/0.4881, allocations: 101.9 MB / 0.529 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06267/0.5508, allocations: 19.25 MB / 0.5478 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03198/0.5828, allocations: 451.1 kB / 0.5483 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01273/0.5956, allocations: 6.116 MB / 0.5542 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.6067, allocations: 3.009 MB / 0.5572 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004545/0.6113, allocations: 1.489 MB / 0.5586 GB, free: 7.508 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01574/0.627, allocations: 12.19 MB / 0.5706 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.6378, allocations: 7.704 MB / 0.5781 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006157/0.644, allocations: 2.975 MB / 0.581 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008093/0.6521, allocations: 4.627 MB / 0.5855 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002813/0.655, allocations: 0.4922 MB / 0.586 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004784/0.6598, allocations: 1.389 MB / 0.5873 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005823/0.6657, allocations: 3.853 MB / 0.5911 GB, free: 6.191 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007378/0.6731, allocations: 4.294 MB / 0.5953 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01671/0.6898, allocations: 12.98 MB / 0.608 GB, free: 4.848 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.6898, allocations: 0 / 0.608 GB, free: 4.848 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6898, allocations: 0 / 0.608 GB, free: 4.848 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000525/0.6904, allocations: 0 / 0.608 GB, free: 4.848 MB / 478.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.02594/0.7163, allocations: 9.532 MB / 0.6173 GB, free: 11.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.7164, allocations: 8.031 kB / 0.6173 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/0.7291, allocations: 2.707 MB / 0.6199 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/0.7418, allocations: 5.04 MB / 0.6248 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005953/0.7425, allocations: 484.4 kB / 0.6253 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003509/0.746, allocations: 0.6205 MB / 0.6259 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6833/1.429, allocations: 19.49 MB / 0.6449 GB, free: 51.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005412/1.43, allocations: 76.48 kB / 0.645 GB, free: 51.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002625/1.433, allocations: 299.2 kB / 0.6453 GB, free: 51.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00799/1.441, allocations: 3.637 MB / 0.6489 GB, free: 51.28 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04122/1.482, allocations: 15.18 MB / 0.6637 GB, free: 50.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1147/1.597, allocations: 73.12 MB / 0.7351 GB, free: 12.84 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01841/1.615, allocations: 6.098 MB / 0.741 GB, free: 6.609 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004946/1.62, allocations: 2.552 MB / 0.7435 GB, free: 4.047 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02547/1.646, allocations: 11.16 MB / 0.7544 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.841e-05/1.646, allocations: 59.66 kB / 0.7545 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=250): time 7.254e-06/1.646, allocations: 4 kB / 0.7545 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=274): time 0.05414/1.7, allocations: 16.34 MB / 0.7705 GB, free: 8.203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/1.7, allocations: 158.5 kB / 0.7706 GB, free: 8.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01655/1.717, allocations: 6.778 MB / 0.7772 GB, free: 1.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000772/1.717, allocations: 71.97 kB / 0.7773 GB, free: 1.188 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006394/1.724, allocations: 5.727 MB / 0.7829 GB, free: 11.48 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002337/1.726, allocations: 1.057 MB / 0.7839 GB, free: 10.43 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003664/1.73, allocations: 1.891 MB / 0.7858 GB, free: 8.527 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0002747/1.73, allocations: 301.1 kB / 0.7861 GB, free: 8.23 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005694/1.736, allocations: 2.771 MB / 0.7888 GB, free: 5.453 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01115/1.747, allocations: 8.665 MB / 0.7972 GB, free: 9.969 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01664/1.764, allocations: 12.43 MB / 0.8094 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002102/1.764, allocations: 64 kB / 0.8094 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02456/1.789, allocations: 11.12 MB / 0.8203 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/1.789, allocations: 93 kB / 0.8204 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003763/1.789, allocations: 209.6 kB / 0.8206 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004338/1.79, allocations: 280 kB / 0.8208 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008368/1.798, allocations: 2.206 MB / 0.823 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005804/1.799, allocations: 413.9 kB / 0.8234 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/1.809, allocations: 463.5 kB / 0.8238 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002127/1.811, allocations: 0.5766 MB / 0.8244 GB, free: 13.62 MB / 0.6075 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.01023/1.821, allocations: 3.764 MB / 0.8281 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001815/1.823, allocations: 0.5861 MB / 0.8286 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007778/1.831, allocations: 2.986 MB / 0.8316 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.611e-05/1.831, allocations: 28 kB / 0.8316 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-05/1.831, allocations: 4 kB / 0.8316 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.643e-05/1.831, allocations: 11.95 kB / 0.8316 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3973/2.229, allocations: 25.14 MB / 0.8561 GB, free: 253.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.535e-05/2.229, allocations: 63.75 kB / 0.8562 GB, free: 253.6 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/2.231, allocations: 0.6133 MB / 0.8568 GB, free: 253.5 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.509e-05/2.231, allocations: 81.5 kB / 0.8569 GB, free: 253.5 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002047/2.231, allocations: 140 kB / 0.857 GB, free: 253.5 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.548e-05/2.231, allocations: 121.9 kB / 0.8571 GB, free: 253.5 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-05/2.231, allocations: 99.97 kB / 0.8572 GB, free: 253.5 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006289/2.237, allocations: 5.892 MB / 0.863 GB, free: 250.2 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/2.239, allocations: 0.7094 MB / 0.8637 GB, free: 250.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007776/2.24, allocations: 149.2 kB / 0.8638 GB, free: 250.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/2.242, allocations: 151.4 kB / 0.864 GB, free: 250.1 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004537/2.243, allocations: 430.1 kB / 0.8644 GB, free: 250 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002266/2.243, allocations: 173.4 kB / 0.8645 GB, free: 250 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.00767/2.251, allocations: 4.229 MB / 0.8687 GB, free: 249.1 MB / 0.6232 GB Notification: Performance of sort global known variables: time 6.81e-07/2.251, allocations: 0 / 0.8687 GB, free: 249.1 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01098/2.262, allocations: 1.568 MB / 0.8702 GB, free: 248.9 MB / 0.6232 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.001515/2.263, allocations: 332.8 kB / 0.8705 GB, free: 248.7 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01157/2.275, allocations: 6.447 MB / 0.8768 GB, free: 246.6 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 5.702e-05/2.275, allocations: 8.688 kB / 0.8768 GB, free: 246.6 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.003037/2.278, allocations: 1.644 MB / 0.8784 GB, free: 246.1 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007034/2.285, allocations: 0.9485 MB / 0.8794 GB, free: 245.7 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04372/2.329, allocations: 22.23 MB / 0.9011 GB, free: 232.3 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01425/2.343, allocations: 5.8 MB / 0.9067 GB, free: 230.4 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01041/2.354, allocations: 2.889 MB / 0.9095 GB, free: 230.1 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001891/2.356, allocations: 421.5 kB / 0.9099 GB, free: 230.1 MB / 0.6232 GB Notification: Performance of SimCode: time 1.103e-06/2.356, allocations: 0 / 0.9099 GB, free: 230.1 MB / 0.6232 GB Notification: Performance of Templates: time 0.09902/2.455, allocations: 49.36 MB / 0.9581 GB, free: 198.2 MB / 0.6232 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 -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/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