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.001476/0.001476, allocations: 88.23 kB / 20.2 MB, free: 4.23 MB / 18.57 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.001632/0.001632, allocations: 161.7 kB / 23.52 MB, free: 0.9219 MB / 18.57 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.512/1.512, allocations: 158.6 MB / 185.3 MB, free: 2.922 MB / 170.7 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.2173/0.2173, allocations: 32.36 MB / 270 MB, free: 14.88 MB / 266.7 MB " [Timeout remaining time 180] 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 1.423e-06/1.423e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.705e-05, allocations: 2.312 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01614/0.01617, allocations: 15.57 MB / 362.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01572/0.03189, allocations: 5.242 MB / 367.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004232/0.03612, allocations: 155.2 kB / 367.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01389/0.05001, allocations: 6.362 MB / 374.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009673/0.05969, allocations: 3.386 MB / 377.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004599/0.06428, allocations: 1.782 MB / 379.4 MB, free: 9.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0155/0.07978, allocations: 9.625 MB / 389.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01197/0.09175, allocations: 6.995 MB / 396 MB, free: 8.457 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/0.104, allocations: 4.978 MB / 401 MB, free: 3.469 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009629/0.1137, allocations: 4.894 MB / 405.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002358/0.116, allocations: 0.6797 MB / 406.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004336/0.1204, allocations: 1.486 MB / 408.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005947/0.1263, allocations: 4.332 MB / 412.4 MB, free: 8.051 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005548/0.1319, allocations: 2.621 MB / 415 MB, free: 5.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02008/0.1519, allocations: 13.76 MB / 428.8 MB, free: 7.621 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1519, allocations: 4 kB / 428.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1519, allocations: 4 kB / 428.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004828/0.1524, allocations: 0 / 428.8 MB, free: 7.613 MB / 362.7 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.247/0.3994, allocations: 9.825 MB / 438.6 MB, free: 85.96 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.3995, allocations: 10.67 kB / 438.6 MB, free: 85.96 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0151/0.4146, allocations: 3.876 MB / 442.5 MB, free: 85.06 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0086/0.4232, allocations: 5.003 MB / 447.5 MB, free: 81.36 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.4235, allocations: 473 kB / 448 MB, free: 80.96 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.4247, allocations: 0.6167 MB / 448.6 MB, free: 80.42 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02746/0.4521, allocations: 19.62 MB / 468.2 MB, free: 59.73 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001992/0.4523, allocations: 75.38 kB / 468.3 MB, free: 59.66 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008535/0.4532, allocations: 299.3 kB / 468.6 MB, free: 59.37 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004246/0.4574, allocations: 3.64 MB / 472.2 MB, free: 55.72 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02739/0.4848, allocations: 15.19 MB / 487.4 MB, free: 40.53 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09693/0.5818, allocations: 68.45 MB / 0.5428 GB, free: 2.629 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01906/0.6008, allocations: 5.748 MB / 0.5484 GB, free: 12.84 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004855/0.6057, allocations: 2.374 MB / 0.5508 GB, free: 10.46 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02431/0.63, allocations: 9.145 MB / 0.5597 GB, free: 1.348 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.204e-05/0.6301, allocations: 68.48 kB / 0.5598 GB, free: 1.273 MB / 410.8 MB Notification: Performance of pre-optimization done (n=250): time 6.422e-06/0.6301, allocations: 0 / 0.5598 GB, free: 1.273 MB / 410.8 MB Notification: Performance of matching and sorting (n=274): time 0.05154/0.6816, allocations: 17.94 MB / 0.5773 GB, free: 15.4 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.6818, allocations: 166.5 kB / 0.5774 GB, free: 15.21 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01304/0.6948, allocations: 6.836 MB / 0.5841 GB, free: 8.355 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005865/0.6954, allocations: 65.7 kB / 0.5842 GB, free: 8.285 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006598/0.702, allocations: 5.947 MB / 0.59 GB, free: 2.285 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001985/0.704, allocations: 1.085 MB / 0.591 GB, free: 1.191 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1835/0.8875, allocations: 1.877 MB / 0.5929 GB, free: 148.9 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 5.712e-05/0.8876, allocations: 301.1 kB / 0.5932 GB, free: 148.6 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007909/0.8955, allocations: 2.809 MB / 0.5959 GB, free: 148.5 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/0.9081, allocations: 8.7 MB / 0.6044 GB, free: 139.7 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01713/0.9252, allocations: 12.49 MB / 0.6166 GB, free: 128.9 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003011/0.9255, allocations: 59.88 kB / 0.6166 GB, free: 128.9 MB / 442.8 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02146/0.947, allocations: 11.68 MB / 0.628 GB, free: 123.1 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002376/0.9473, allocations: 97.09 kB / 0.6281 GB, free: 123 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003544/0.9476, allocations: 208 kB / 0.6283 GB, free: 122.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.9479, allocations: 279.6 kB / 0.6286 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006946/0.9548, allocations: 2.238 MB / 0.6308 GB, free: 120.6 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002961/0.9551, allocations: 410.6 kB / 0.6312 GB, free: 120.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008759/0.9639, allocations: 0.7733 MB / 0.6319 GB, free: 119.7 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/0.9656, allocations: 0.5738 MB / 0.6325 GB, free: 119.1 MB / 442.8 MB 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.008173/0.9738, allocations: 3.766 MB / 0.6362 GB, free: 115.9 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/0.9757, allocations: 0.635 MB / 0.6368 GB, free: 115.6 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005848/0.9816, allocations: 2.935 MB / 0.6397 GB, free: 113.1 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-05/0.9816, allocations: 35.94 kB / 0.6397 GB, free: 113.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.9816, allocations: 3.938 kB / 0.6397 GB, free: 113.1 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.561e-05/0.9817, allocations: 10.69 kB / 0.6397 GB, free: 113.1 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03195/1.014, allocations: 22.83 MB / 0.662 GB, free: 89.66 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001963/1.014, allocations: 64 kB / 0.6621 GB, free: 89.6 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/1.016, allocations: 0.6161 MB / 0.6627 GB, free: 88.98 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.74e-05/1.016, allocations: 91.92 kB / 0.6628 GB, free: 88.89 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004805/1.017, allocations: 132 kB / 0.6629 GB, free: 88.76 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.321e-05/1.017, allocations: 127.5 kB / 0.663 GB, free: 88.64 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.844e-05/1.017, allocations: 99.56 kB / 0.6631 GB, free: 88.54 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006764/1.024, allocations: 5.83 MB / 0.6688 GB, free: 82 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002541/1.026, allocations: 0.7048 MB / 0.6695 GB, free: 81.54 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001763/1.028, allocations: 159.5 kB / 0.6696 GB, free: 81.39 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004508/1.032, allocations: 319.6 kB / 0.6699 GB, free: 81.08 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004652/1.033, allocations: 433.9 kB / 0.6703 GB, free: 80.65 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002293/1.033, allocations: 172 kB / 0.6705 GB, free: 80.48 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.006167/1.039, allocations: 4.069 MB / 0.6745 GB, free: 76.42 MB / 442.8 MB Notification: Performance of sort global known variables: time 9e-08/1.039, allocations: 0 / 0.6745 GB, free: 76.42 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01148/1.051, allocations: 1.751 MB / 0.6762 GB, free: 74.68 MB / 442.8 MB 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.001023/1.052, allocations: 353.6 kB / 0.6765 GB, free: 74.37 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01004/1.062, allocations: 6.365 MB / 0.6827 GB, free: 68.05 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 8.825e-05/1.062, allocations: 8 kB / 0.6828 GB, free: 68.04 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002145/1.064, allocations: 1.586 MB / 0.6843 GB, free: 66.46 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007274/1.071, allocations: 0.8961 MB / 0.6852 GB, free: 65.6 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0269/1.098, allocations: 18.37 MB / 0.7031 GB, free: 46.26 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007646/1.106, allocations: 5.336 MB / 0.7083 GB, free: 40.89 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.006518/1.112, allocations: 2.848 MB / 0.7111 GB, free: 38.03 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/1.114, allocations: 408.4 kB / 0.7115 GB, free: 37.63 MB / 442.8 MB Notification: Performance of SimCode: time 2.324e-06/1.114, allocations: 0 / 0.7115 GB, free: 37.63 MB / 442.8 MB Notification: Performance of Templates: time 0.08074/1.194, allocations: 39.71 MB / 0.7503 GB, free: 14.11 MB / 458.8 MB " [Timeout remaining time 659] 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.404388391994871]