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.001359/0.001359, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.001523/0.001523, allocations: 195 kB / 17.98 MB, free: 5.027 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.331/1.331, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2307/0.2307, 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.001459/0.001459, allocations: 71.97 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.09159, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01644/0.1081, allocations: 18 MB / 460 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.1187, allocations: 5.424 MB / 465.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.1208, allocations: 135.6 kB / 465.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009926/0.1307, allocations: 6.106 MB / 471.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007321/0.1381, allocations: 3.167 MB / 474.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.1415, allocations: 1.583 MB / 476.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.1528, allocations: 8.387 MB / 484.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009236/0.1621, allocations: 7.733 MB / 492.5 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005831/0.168, allocations: 3.287 MB / 495.8 MB, free: 112 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006122/0.1741, allocations: 4.315 MB / 0.4884 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001848/0.176, allocations: 0.668 MB / 0.489 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.1792, allocations: 1.479 MB / 0.4905 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003841/0.183, allocations: 3.967 MB / 0.4943 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00603/0.1891, allocations: 4.443 MB / 0.4987 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01514/0.2042, allocations: 13.61 MB / 0.512 GB, free: 3.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.2043, allocations: 0 / 0.512 GB, free: 3.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.2043, allocations: 0 / 0.512 GB, free: 3.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004673/0.2048, allocations: 0 / 0.512 GB, free: 3.527 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.01999/0.2248, allocations: 9.535 MB / 0.5213 GB, free: 9.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2248, allocations: 11.89 kB / 0.5213 GB, free: 9.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.236, allocations: 2.711 MB / 0.524 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.2465, allocations: 5.142 MB / 0.529 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004257/0.247, allocations: 492 kB / 0.5294 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001868/0.2488, allocations: 0.6167 MB / 0.53 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3486/0.5974, allocations: 19.48 MB / 0.5491 GB, free: 73.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002038/0.5977, allocations: 79.02 kB / 0.5491 GB, free: 73.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009078/0.5986, allocations: 302.4 kB / 0.5494 GB, free: 73.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004396/0.603, allocations: 3.634 MB / 0.553 GB, free: 72.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02743/0.6304, allocations: 15.18 MB / 0.5678 GB, free: 58.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08143/0.7119, allocations: 72.7 MB / 0.6388 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01629/0.7282, allocations: 6.112 MB / 0.6448 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003816/0.7321, allocations: 2.543 MB / 0.6472 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02117/0.7533, allocations: 11.16 MB / 0.6581 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.7534, allocations: 64.5 kB / 0.6582 GB, free: 12.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 5.5e-06/0.7534, allocations: 0 / 0.6582 GB, free: 12.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=274): time 0.04241/0.7958, allocations: 16.34 MB / 0.6742 GB, free: 12.24 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.7959, allocations: 154.5 kB / 0.6743 GB, free: 12.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/0.8077, allocations: 6.767 MB / 0.6809 GB, free: 5.305 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004873/0.8082, allocations: 65.7 kB / 0.681 GB, free: 5.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005747/0.8139, allocations: 5.739 MB / 0.6866 GB, free: 15.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001364/0.8153, allocations: 1.057 MB / 0.6876 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003134/0.8185, allocations: 1.888 MB / 0.6895 GB, free: 12.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.8186, allocations: 301.1 kB / 0.6897 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004618/0.8232, allocations: 2.775 MB / 0.6925 GB, free: 9.367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/0.8334, allocations: 8.666 MB / 0.7009 GB, free: 13.77 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/0.8477, allocations: 12.44 MB / 0.7131 GB, free: 14.41 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001374/0.8479, allocations: 60 kB / 0.7131 GB, free: 14.36 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02/0.8679, allocations: 11.12 MB / 0.724 GB, free: 3.23 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/0.8681, allocations: 100.2 kB / 0.7241 GB, free: 3.133 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003077/0.8684, allocations: 212 kB / 0.7243 GB, free: 2.926 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/0.8687, allocations: 280 kB / 0.7246 GB, free: 2.652 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007369/0.8761, allocations: 2.203 MB / 0.7267 GB, free: 456 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004123/0.8766, allocations: 410.4 kB / 0.7271 GB, free: 44 kB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2096/1.086, allocations: 466 kB / 0.7275 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.087, allocations: 0.5756 MB / 0.7281 GB, free: 163.1 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.006967/1.094, allocations: 3.759 MB / 0.7318 GB, free: 163 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/1.096, allocations: 0.5854 MB / 0.7323 GB, free: 163 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005112/1.101, allocations: 2.986 MB / 0.7353 GB, free: 162.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.247e-05/1.101, allocations: 28.41 kB / 0.7353 GB, free: 162.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.101, allocations: 1.281 kB / 0.7353 GB, free: 162.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/1.101, allocations: 13.48 kB / 0.7353 GB, free: 162.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03221/1.133, allocations: 25.14 MB / 0.7599 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.233e-05/1.133, allocations: 63.53 kB / 0.7599 GB, free: 153.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/1.135, allocations: 0.6125 MB / 0.7605 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.885e-05/1.135, allocations: 82.5 kB / 0.7606 GB, free: 153.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/1.135, allocations: 139.2 kB / 0.7607 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-05/1.135, allocations: 121.7 kB / 0.7608 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.969e-05/1.135, allocations: 95.88 kB / 0.7609 GB, free: 153.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/1.14, allocations: 5.885 MB / 0.7667 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.142, allocations: 0.7126 MB / 0.7674 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005636/1.142, allocations: 148.4 kB / 0.7675 GB, free: 149 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/1.145, allocations: 150 kB / 0.7677 GB, free: 149 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00039/1.145, allocations: 423 kB / 0.7681 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/1.145, allocations: 183.8 kB / 0.7682 GB, free: 148.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005165/1.15, allocations: 4.233 MB / 0.7724 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.5e-07/1.15, allocations: 0 / 0.7724 GB, free: 147.5 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007876/1.158, allocations: 1.57 MB / 0.7739 GB, free: 146.4 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.0005143/1.159, allocations: 319.9 kB / 0.7742 GB, free: 146 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.008676/1.167, allocations: 6.603 MB / 0.7807 GB, free: 140.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.702e-05/1.168, allocations: 8 kB / 0.7807 GB, free: 140.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/1.17, allocations: 1.651 MB / 0.7823 GB, free: 138.8 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005703/1.175, allocations: 0.9916 MB / 0.7832 GB, free: 138 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/1.198, allocations: 17.98 MB / 0.8008 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006514/1.204, allocations: 5.804 MB / 0.8065 GB, free: 113.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006065/1.21, allocations: 2.891 MB / 0.8093 GB, free: 110.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/1.211, allocations: 419.4 kB / 0.8097 GB, free: 110.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.092e-06/1.211, allocations: 0 / 0.8097 GB, free: 110.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.08133/1.293, allocations: 42.8 MB / 0.8515 GB, free: 67.61 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 gbode -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