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.0009707/0.0009707, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008659/0.0008659, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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 0.8052/0.8052, allocations: 158.6 MB / 185.7 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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.131/0.131, allocations: 32.37 MB / 270.3 MB, free: 14.98 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.282e-06/1.282e-06, allocations: 0 / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.985e-05, allocations: 5.938 kB / 408.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01039/0.01041, allocations: 15.58 MB / 423.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008093/0.01851, allocations: 5.225 MB / 428.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.01987, allocations: 155.2 kB / 429.1 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005401/0.02527, allocations: 6.261 MB / 435.3 MB, free: 1.691 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1628/0.1881, allocations: 3.369 MB / 438.7 MB, free: 16.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.1907, allocations: 1.754 MB / 440.4 MB, free: 16.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.009674/0.2004, allocations: 9.624 MB / 450.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007034/0.2074, allocations: 6.78 MB / 456.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005128/0.2126, allocations: 4.983 MB / 461.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003542/0.2161, allocations: 4.895 MB / 466.7 MB, free: 9.211 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006553/0.2168, allocations: 0.6824 MB / 467.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.2185, allocations: 1.477 MB / 468.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.2202, allocations: 4.334 MB / 473.2 MB, free: 4.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001597/0.2218, allocations: 2.626 MB / 475.8 MB, free: 2.262 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008823/0.2306, allocations: 13.75 MB / 489.6 MB, free: 5.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2306, allocations: 0 / 489.6 MB, free: 5.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2306, allocations: 4 kB / 489.6 MB, free: 5.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002489/0.2309, allocations: 0 / 489.6 MB, free: 5.066 MB / 378.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.01132/0.2422, allocations: 9.83 MB / 499.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2422, allocations: 8.031 kB / 499.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005569/0.2478, allocations: 2.849 MB / 0.4905 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005766/0.2536, allocations: 4.97 MB / 0.4954 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.2538, allocations: 482.5 kB / 0.4958 GB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007038/0.2545, allocations: 0.61 MB / 0.4964 GB, free: 2.816 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/0.276, allocations: 19.61 MB / 0.5156 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/0.2761, allocations: 79.81 kB / 0.5156 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004986/0.2766, allocations: 301.5 kB / 0.5159 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00305/0.2797, allocations: 3.641 MB / 0.5195 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0204/0.3001, allocations: 15.19 MB / 0.5343 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06214/0.3622, allocations: 68.32 MB / 0.601 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009685/0.3719, allocations: 5.762 MB / 0.6067 GB, free: 456 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002703/0.3746, allocations: 2.38 MB / 0.609 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.3864, allocations: 9.122 MB / 0.6179 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.3865, allocations: 60.55 kB / 0.618 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 5.64e-06/0.3865, allocations: 0 / 0.618 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274): time 0.3309/0.7174, allocations: 17.84 MB / 0.6354 GB, free: 166.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.7175, allocations: 159.5 kB / 0.6355 GB, free: 166 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008279/0.7258, allocations: 6.848 MB / 0.6422 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004191/0.7262, allocations: 68.33 kB / 0.6423 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002136/0.7283, allocations: 5.949 MB / 0.6481 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000639/0.729, allocations: 1.091 MB / 0.6492 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/0.7304, allocations: 1.876 MB / 0.651 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.546e-05/0.7304, allocations: 308.7 kB / 0.6513 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.7329, allocations: 2.768 MB / 0.654 GB, free: 156.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00347/0.7364, allocations: 8.669 MB / 0.6625 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00688/0.7433, allocations: 12.43 MB / 0.6746 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.714e-05/0.7433, allocations: 59.5 kB / 0.6747 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.01018/0.7535, allocations: 11.1 MB / 0.6855 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/0.7536, allocations: 92 kB / 0.6856 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/0.7537, allocations: 208 kB / 0.6858 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/0.7538, allocations: 276 kB / 0.686 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/0.7569, allocations: 2.217 MB / 0.6882 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001313/0.7571, allocations: 412.4 kB / 0.6886 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004616/0.7617, allocations: 0.6855 MB / 0.6893 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003455/0.762, allocations: 0.5664 MB / 0.6898 GB, free: 123.7 MB / 0.5105 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.003831/0.7659, allocations: 3.771 MB / 0.6935 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/0.7664, allocations: 0.551 MB / 0.694 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.7688, allocations: 2.939 MB / 0.6969 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.7689, allocations: 28 kB / 0.6969 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.7689, allocations: 0 / 0.6969 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.7689, allocations: 15.95 kB / 0.697 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/0.786, allocations: 22.82 MB / 0.7192 GB, free: 92.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.044e-05/0.786, allocations: 66.19 kB / 0.7193 GB, free: 92.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.787, allocations: 0.6121 MB / 0.7199 GB, free: 92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.119e-05/0.787, allocations: 80 kB / 0.72 GB, free: 91.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.7872, allocations: 136 kB / 0.7201 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.675e-05/0.7872, allocations: 127.5 kB / 0.7202 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.489e-05/0.7872, allocations: 99.56 kB / 0.7203 GB, free: 91.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003637/0.7909, allocations: 5.73 MB / 0.7259 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009608/0.7918, allocations: 0.699 MB / 0.7266 GB, free: 84.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003651/0.7922, allocations: 147.9 kB / 0.7267 GB, free: 83.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.7937, allocations: 287.6 kB / 0.727 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.7939, allocations: 441.8 kB / 0.7274 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.794, allocations: 172 kB / 0.7276 GB, free: 83.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003428/0.7975, allocations: 4.069 MB / 0.7316 GB, free: 79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7975, allocations: 0 / 0.7316 GB, free: 79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005985/0.8035, allocations: 1.75 MB / 0.7333 GB, free: 77.25 MB / 0.5105 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.0004557/0.8039, allocations: 361.4 kB / 0.7336 GB, free: 76.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006106/0.81, allocations: 6.325 MB / 0.7398 GB, free: 70.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.405e-05/0.8101, allocations: 16.12 kB / 0.7398 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.8113, allocations: 1.579 MB / 0.7414 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003534/0.8149, allocations: 0.8593 MB / 0.7422 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.8317, allocations: 18.93 MB / 0.7607 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003644/0.8354, allocations: 5.309 MB / 0.7659 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.8364, allocations: 484.4 kB / 0.7663 GB, free: 42.51 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/0.8364, allocations: 0 / 0.7663 GB, free: 42.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.2445/1.081, allocations: 101 MB / 0.865 GB, free: 141.3 MB / 0.5262 GB " [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: 13.131491838023067]