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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 74.11 kB / 19.93 MB, free: 1.77 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 169.3 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "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: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2133/0.2133, allocations: 32.38 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.362e-05, allocations: 2.281 kB / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02842/0.02845, allocations: 15.58 MB / 422.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01396/0.04241, allocations: 5.222 MB / 428.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003728/0.04614, allocations: 151.3 kB / 428.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01375/0.05989, allocations: 6.265 MB / 434.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.07054, allocations: 3.378 MB / 438 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004498/0.07504, allocations: 1.754 MB / 439.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01495/0.08999, allocations: 9.625 MB / 449.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/0.1008, allocations: 6.781 MB / 456.1 MB, free: 2.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01059/0.1114, allocations: 4.982 MB / 461.1 MB, free: 13.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009231/0.1206, allocations: 4.895 MB / 466 MB, free: 8.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002542/0.1232, allocations: 0.6797 MB / 466.7 MB, free: 7.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004576/0.1278, allocations: 1.482 MB / 468.2 MB, free: 5.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007129/0.1349, allocations: 4.336 MB / 472.5 MB, free: 1.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2659/0.4007, allocations: 2.61 MB / 475.1 MB, free: 30.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02666/0.4274, allocations: 13.76 MB / 488.9 MB, free: 29.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.4274, allocations: 1.531 kB / 488.9 MB, free: 29.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.4274, allocations: 0 / 488.9 MB, free: 29.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001189/0.4286, allocations: 0 / 488.9 MB, free: 29.97 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.04282/0.4714, allocations: 9.834 MB / 498.7 MB, free: 26.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.4715, allocations: 13.19 kB / 498.7 MB, free: 26.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01995/0.4914, allocations: 3.06 MB / 0.49 GB, free: 25.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02057/0.512, allocations: 4.97 MB / 0.4949 GB, free: 23.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008096/0.5128, allocations: 476.5 kB / 0.4953 GB, free: 23.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005468/0.5183, allocations: 0.6044 MB / 0.4959 GB, free: 23.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06106/0.5793, allocations: 19.62 MB / 0.5151 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003093/0.5796, allocations: 76.94 kB / 0.5151 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002666/0.5823, allocations: 300 kB / 0.5154 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005223/0.5875, allocations: 3.643 MB / 0.519 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04048/0.628, allocations: 15.19 MB / 0.5338 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1382/0.7663, allocations: 68.28 MB / 0.6005 GB, free: 3.652 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01972/0.786, allocations: 5.744 MB / 0.6061 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004959/0.7909, allocations: 2.379 MB / 0.6084 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0243/0.8152, allocations: 9.146 MB / 0.6174 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.758e-05/0.8153, allocations: 56.56 kB / 0.6174 GB, free: 2.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 8.035e-06/0.8153, allocations: 2.25 kB / 0.6174 GB, free: 2.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=274): time 0.05539/0.8707, allocations: 17.84 MB / 0.6348 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.8708, allocations: 165.9 kB / 0.635 GB, free: 484 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01718/0.888, allocations: 6.833 MB / 0.6417 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000858/0.8889, allocations: 68.12 kB / 0.6417 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.007547/0.8964, allocations: 5.94 MB / 0.6475 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002359/0.8988, allocations: 1.088 MB / 0.6486 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00488/0.9037, allocations: 1.884 MB / 0.6504 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.9038, allocations: 309.1 kB / 0.6507 GB, free: 416 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006412/0.9102, allocations: 2.802 MB / 0.6535 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01368/0.9239, allocations: 8.699 MB / 0.662 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3017/1.226, allocations: 12.48 MB / 0.6741 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003526/1.226, allocations: 60.06 kB / 0.6742 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.0278/1.254, allocations: 11.17 MB / 0.6851 GB, free: 171 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/1.254, allocations: 97.91 kB / 0.6852 GB, free: 171 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003442/1.254, allocations: 207.9 kB / 0.6854 GB, free: 171 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/1.255, allocations: 275.1 kB / 0.6857 GB, free: 171 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008306/1.263, allocations: 2.247 MB / 0.6879 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002989/1.263, allocations: 406 kB / 0.6882 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/1.274, allocations: 0.7728 MB / 0.689 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002356/1.277, allocations: 0.5797 MB / 0.6896 GB, free: 170.4 MB / 0.5294 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.009746/1.286, allocations: 3.758 MB / 0.6932 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001738/1.288, allocations: 0.5644 MB / 0.6938 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006612/1.295, allocations: 2.939 MB / 0.6967 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.432e-05/1.295, allocations: 32 kB / 0.6967 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.295, allocations: 0 / 0.6967 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.828e-05/1.295, allocations: 14.81 kB / 0.6967 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03846/1.333, allocations: 22.82 MB / 0.719 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-05/1.333, allocations: 64 kB / 0.719 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/1.336, allocations: 0.6142 MB / 0.7196 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.712e-05/1.336, allocations: 84 kB / 0.7197 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002457/1.336, allocations: 137 kB / 0.7199 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-05/1.336, allocations: 125.4 kB / 0.72 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.827e-05/1.336, allocations: 103.5 kB / 0.7201 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007074/1.343, allocations: 5.734 MB / 0.7257 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0031/1.346, allocations: 0.7002 MB / 0.7264 GB, free: 138.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001344/1.348, allocations: 148 kB / 0.7265 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004094/1.352, allocations: 325.2 kB / 0.7268 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005376/1.352, allocations: 435.3 kB / 0.7272 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002305/1.352, allocations: 176 kB / 0.7274 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00775/1.36, allocations: 4.069 MB / 0.7314 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/1.36, allocations: 0 / 0.7314 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01124/1.371, allocations: 1.755 MB / 0.7331 GB, free: 131.8 MB / 0.5294 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.001104/1.373, allocations: 350.1 kB / 0.7334 GB, free: 131.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01225/1.385, allocations: 6.373 MB / 0.7396 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 0.0001143/1.385, allocations: 12 kB / 0.7396 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/1.388, allocations: 1.582 MB / 0.7412 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008602/1.396, allocations: 0.8465 MB / 0.742 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03559/1.432, allocations: 18.1 MB / 0.7597 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008956/1.441, allocations: 5.337 MB / 0.7649 GB, free: 98.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006922/1.448, allocations: 2.844 MB / 0.7677 GB, free: 95.53 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/1.449, allocations: 412.4 kB / 0.7681 GB, free: 95.13 MB / 0.5294 GB Notification: Performance of SimCode: time 1.352e-06/1.449, allocations: 0 / 0.7681 GB, free: 95.13 MB / 0.5294 GB Notification: Performance of Templates: time 0.09362/1.543, allocations: 39.44 MB / 0.8066 GB, free: 55.84 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.707944862544537]