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.00155/0.00155, allocations: 104.4 kB / 16.27 MB, free: 6.051 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.00198/0.00198, allocations: 187.8 kB / 17.19 MB, free: 5.688 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.589/1.589, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2304/0.2304, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001755/0.001755, allocations: 61.38 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1307, allocations: 57.79 MB / 440.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02345/0.1542, allocations: 18.01 MB / 458.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.1687, allocations: 5.424 MB / 463.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004369/0.1731, allocations: 135.6 kB / 464.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01185/0.1849, allocations: 6.098 MB / 470.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.1959, allocations: 3.171 MB / 473.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004431/0.2004, allocations: 1.575 MB / 474.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01436/0.2148, allocations: 8.38 MB / 483.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01457/0.2294, allocations: 7.756 MB / 491.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007861/0.2373, allocations: 3.283 MB / 494.3 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008299/0.2456, allocations: 4.319 MB / 498.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004787/0.2505, allocations: 0.668 MB / 499.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006345/0.2569, allocations: 1.471 MB / 0.4891 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006962/0.2639, allocations: 3.963 MB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009807/0.2737, allocations: 4.451 MB / 0.4973 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02242/0.2962, allocations: 13.16 MB / 0.5101 GB, free: 4.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.2962, allocations: 0 / 0.5101 GB, free: 4.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2963, allocations: 0 / 0.5101 GB, free: 4.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006635/0.2969, allocations: 0 / 0.5101 GB, free: 4.734 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.03027/0.3272, allocations: 9.531 MB / 0.5194 GB, free: 11.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.3273, allocations: 19.88 kB / 0.5194 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/0.3408, allocations: 2.707 MB / 0.5221 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.3549, allocations: 5.036 MB / 0.527 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007331/0.3557, allocations: 484.1 kB / 0.5275 GB, free: 2.773 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004026/0.3597, allocations: 0.6089 MB / 0.5281 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4948/0.8546, allocations: 19.49 MB / 0.5471 GB, free: 74.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002425/0.8549, allocations: 77.75 kB / 0.5472 GB, free: 74.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/0.856, allocations: 296.9 kB / 0.5475 GB, free: 73.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005414/0.8615, allocations: 3.647 MB / 0.551 GB, free: 72.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03104/0.8925, allocations: 15.16 MB / 0.5658 GB, free: 60.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09101/0.9836, allocations: 73.12 MB / 0.6372 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01864/1.002, allocations: 6.098 MB / 0.6432 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005035/1.007, allocations: 2.547 MB / 0.6457 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02489/1.032, allocations: 11.18 MB / 0.6566 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.399e-05/1.032, allocations: 56.56 kB / 0.6567 GB, free: 13.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=250): time 8.936e-06/1.032, allocations: 4 kB / 0.6567 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=274): time 0.05198/1.084, allocations: 16.33 MB / 0.6726 GB, free: 13.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.085, allocations: 166.5 kB / 0.6728 GB, free: 12.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01563/1.1, allocations: 6.764 MB / 0.6794 GB, free: 6.152 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006827/1.101, allocations: 69.69 kB / 0.6794 GB, free: 6.078 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005918/1.107, allocations: 5.735 MB / 0.685 GB, free: 272 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00186/1.109, allocations: 1.057 MB / 0.6861 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003097/1.112, allocations: 1.892 MB / 0.6879 GB, free: 13.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/1.112, allocations: 301.1 kB / 0.6882 GB, free: 13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00475/1.117, allocations: 2.771 MB / 0.6909 GB, free: 10.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00878/1.126, allocations: 8.666 MB / 0.6994 GB, free: 14.63 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/1.14, allocations: 12.44 MB / 0.7115 GB, free: 15.27 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001516/1.141, allocations: 63.94 kB / 0.7116 GB, free: 15.21 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02339/1.164, allocations: 11.12 MB / 0.7224 GB, free: 4.078 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002215/1.164, allocations: 95.94 kB / 0.7225 GB, free: 3.984 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003575/1.165, allocations: 212 kB / 0.7227 GB, free: 3.777 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004477/1.165, allocations: 272 kB / 0.723 GB, free: 3.512 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007937/1.173, allocations: 2.215 MB / 0.7252 GB, free: 1.293 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005316/1.174, allocations: 402.5 kB / 0.7255 GB, free: 0.8984 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008329/1.182, allocations: 463.5 kB / 0.726 GB, free: 456 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2299/1.412, allocations: 0.5754 MB / 0.7265 GB, free: 164.2 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.009311/1.421, allocations: 3.763 MB / 0.7302 GB, free: 164.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/1.423, allocations: 0.5864 MB / 0.7308 GB, free: 164.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005308/1.428, allocations: 2.991 MB / 0.7337 GB, free: 164 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.735e-05/1.428, allocations: 27.97 kB / 0.7337 GB, free: 164 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/1.428, allocations: 1.531 kB / 0.7337 GB, free: 164 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/1.428, allocations: 13.06 kB / 0.7338 GB, free: 164 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03771/1.466, allocations: 25.14 MB / 0.7583 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-05/1.466, allocations: 64 kB / 0.7584 GB, free: 155 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001894/1.468, allocations: 0.6234 MB / 0.759 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.409e-05/1.468, allocations: 82.06 kB / 0.759 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/1.468, allocations: 135.2 kB / 0.7592 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.828e-05/1.468, allocations: 123.6 kB / 0.7593 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.08e-05/1.468, allocations: 100.8 kB / 0.7594 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005664/1.474, allocations: 5.883 MB / 0.7651 GB, free: 150.5 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/1.476, allocations: 0.7124 MB / 0.7658 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007522/1.476, allocations: 145.6 kB / 0.766 GB, free: 150.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.479, allocations: 147.5 kB / 0.7661 GB, free: 150.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/1.479, allocations: 428.4 kB / 0.7665 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/1.48, allocations: 176 kB / 0.7667 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00609/1.486, allocations: 4.237 MB / 0.7708 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.2e-07/1.486, allocations: 0 / 0.7708 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009181/1.495, allocations: 1.557 MB / 0.7723 GB, free: 147.3 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.0009907/1.496, allocations: 335.1 kB / 0.7727 GB, free: 147 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01005/1.506, allocations: 6.68 MB / 0.7792 GB, free: 141.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.991e-05/1.506, allocations: 8 kB / 0.7792 GB, free: 141.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/1.509, allocations: 1.656 MB / 0.7808 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007367/1.516, allocations: 0.9853 MB / 0.7818 GB, free: 138.8 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03355/1.55, allocations: 18.21 MB / 0.7996 GB, free: 119.7 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008993/1.559, allocations: 5.8 MB / 0.8052 GB, free: 113.9 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007827/1.566, allocations: 2.892 MB / 0.808 GB, free: 111 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.568, allocations: 423.4 kB / 0.8084 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of SimCode: time 7.51e-07/1.568, allocations: 0 / 0.8084 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.0981/1.666, allocations: 51.22 MB / 0.8585 GB, free: 59.54 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 -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","/var/lib/jenkins/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