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.002265/0.002265, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.001982/0.001982, allocations: 169.2 kB / 23.53 MB, free: 0.8945 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.376/1.376, allocations: 158.6 MB / 185.3 MB, free: 2.906 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.1994/0.1994, allocations: 32.37 MB / 270 MB, free: 14.87 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 2.645e-06/2.645e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.374e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.02701/0.02705, allocations: 17.18 MB / 364.1 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02029/0.04734, allocations: 5.334 MB / 369.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005688/0.05303, allocations: 151.3 kB / 369.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02028/0.07331, allocations: 6.561 MB / 376.2 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0142/0.08751, allocations: 3.394 MB / 379.6 MB, free: 9.059 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00655/0.09406, allocations: 1.786 MB / 381.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01956/0.1136, allocations: 9.626 MB / 391 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0145/0.1281, allocations: 7.002 MB / 398 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/0.1408, allocations: 5.013 MB / 403 MB, free: 1.504 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.1509, allocations: 5.004 MB / 408 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003156/0.154, allocations: 0.6797 MB / 408.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005263/0.1593, allocations: 1.486 MB / 410.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007707/0.167, allocations: 4.364 MB / 414.5 MB, free: 5.945 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007047/0.174, allocations: 2.64 MB / 417.2 MB, free: 3.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02445/0.1985, allocations: 13.78 MB / 430.9 MB, free: 5.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.1985, allocations: 3.984 kB / 430.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1985, allocations: 4 kB / 430.9 MB, free: 5.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005701/0.1991, allocations: 0 / 430.9 MB, free: 5.461 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.2061/0.4051, allocations: 11.3 MB / 442.3 MB, free: 85.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4052, allocations: 9.625 kB / 442.3 MB, free: 85.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/0.4212, allocations: 3.729 MB / 446 MB, free: 83.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.4332, allocations: 4.5 MB / 450.5 MB, free: 79.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004185/0.4336, allocations: 475 kB / 451 MB, free: 78.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002268/0.4359, allocations: 0.6133 MB / 451.6 MB, free: 78.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02998/0.4659, allocations: 12.54 MB / 464.1 MB, free: 64.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002257/0.4661, allocations: 67.39 kB / 464.2 MB, free: 64.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/0.4672, allocations: 303.7 kB / 464.5 MB, free: 63.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004454/0.4716, allocations: 3.636 MB / 468.1 MB, free: 60.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02248/0.4941, allocations: 6.523 MB / 474.6 MB, free: 53.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1126/0.6067, allocations: 89.31 MB / 0.5507 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/0.6232, allocations: 4.009 MB / 0.5546 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/0.6262, allocations: 1.034 MB / 0.5556 GB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02403/0.6502, allocations: 7.164 MB / 0.5626 GB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.32e-05/0.6503, allocations: 63.39 kB / 0.5627 GB, free: 13.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 6.913e-06/0.6503, allocations: 0 / 0.5627 GB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=274): time 0.05641/0.7067, allocations: 15.06 MB / 0.5774 GB, free: 14.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.7069, allocations: 154.5 kB / 0.5776 GB, free: 14.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01715/0.724, allocations: 7.403 MB / 0.5848 GB, free: 7.094 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006312/0.7246, allocations: 65.7 kB / 0.5848 GB, free: 7.023 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008518/0.7332, allocations: 6.531 MB / 0.5912 GB, free: 448 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3496/1.083, allocations: 1.184 MB / 0.5924 GB, free: 140.4 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003678/1.086, allocations: 2.386 MB / 0.5947 GB, free: 140.4 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.386e-05/1.087, allocations: 483.9 kB / 0.5952 GB, free: 139.9 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/1.089, allocations: 1.084 MB / 0.5962 GB, free: 139.9 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006708/1.096, allocations: 10.08 MB / 0.6061 GB, free: 128.5 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/1.108, allocations: 12.27 MB / 0.6181 GB, free: 116.3 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004881/1.108, allocations: 61.53 kB / 0.6181 GB, free: 116.3 MB / 442.8 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.02021/1.128, allocations: 8.285 MB / 0.6262 GB, free: 114.8 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003594/1.129, allocations: 95.34 kB / 0.6263 GB, free: 114.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004327/1.129, allocations: 209.8 kB / 0.6265 GB, free: 114.8 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/1.129, allocations: 275.4 kB / 0.6268 GB, free: 114.8 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007543/1.137, allocations: 2.216 MB / 0.6289 GB, free: 114.6 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003415/1.137, allocations: 403.5 kB / 0.6293 GB, free: 114.5 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00881/1.146, allocations: 0.7059 MB / 0.63 GB, free: 114.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001937/1.148, allocations: 0.5778 MB / 0.6306 GB, free: 114.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.004739/1.153, allocations: 1.093 MB / 0.6316 GB, free: 113.4 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001488/1.154, allocations: 0.6316 MB / 0.6322 GB, free: 113.1 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/1.158, allocations: 1.84 MB / 0.634 GB, free: 112.1 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-05/1.158, allocations: 28 kB / 0.6341 GB, free: 112.1 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.158, allocations: 3.562 kB / 0.6341 GB, free: 112.1 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/1.158, allocations: 16 kB / 0.6341 GB, free: 112.1 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03231/1.19, allocations: 16.86 MB / 0.6505 GB, free: 96.04 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001949/1.191, allocations: 60 kB / 0.6506 GB, free: 95.98 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.193, allocations: 0.6168 MB / 0.6512 GB, free: 95.43 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.951e-05/1.193, allocations: 88.06 kB / 0.6513 GB, free: 95.35 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004499/1.193, allocations: 135 kB / 0.6514 GB, free: 95.22 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.13e-05/1.193, allocations: 126.5 kB / 0.6515 GB, free: 95.11 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.181e-05/1.194, allocations: 99.56 kB / 0.6516 GB, free: 95.01 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007191/1.201, allocations: 5.779 MB / 0.6573 GB, free: 88.04 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002685/1.203, allocations: 0.6883 MB / 0.658 GB, free: 87.36 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001658/1.205, allocations: 148 kB / 0.6581 GB, free: 87.21 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004659/1.21, allocations: 295.6 kB / 0.6584 GB, free: 86.93 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005879/1.21, allocations: 437.8 kB / 0.6588 GB, free: 86.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003329/1.211, allocations: 178.3 kB / 0.659 GB, free: 86.33 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.006637/1.217, allocations: 3.078 MB / 0.662 GB, free: 83.25 MB / 442.8 MB Notification: Performance of sort global known variables: time 3.61e-07/1.217, allocations: 0 / 0.662 GB, free: 83.25 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01106/1.228, allocations: 1.753 MB / 0.6637 GB, free: 81.51 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.0009951/1.229, allocations: 357.5 kB / 0.664 GB, free: 81.2 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.00961/1.239, allocations: 4.844 MB / 0.6688 GB, free: 76.39 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 7.826e-05/1.239, allocations: 8 kB / 0.6688 GB, free: 76.39 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001928/1.241, allocations: 1.168 MB / 0.6699 GB, free: 75.23 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006614/1.248, allocations: 0.8828 MB / 0.6708 GB, free: 74.37 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02728/1.275, allocations: 16.73 MB / 0.6871 GB, free: 56.34 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007764/1.283, allocations: 4.865 MB / 0.6919 GB, free: 51.43 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.006568/1.289, allocations: 2.493 MB / 0.6943 GB, free: 48.93 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.29, allocations: 404.4 kB / 0.6947 GB, free: 48.54 MB / 442.8 MB Notification: Performance of SimCode: time 2.385e-06/1.29, allocations: 4 kB / 0.6947 GB, free: 48.54 MB / 442.8 MB Notification: Performance of Templates: time 0.08398/1.374, allocations: 39.21 MB / 0.733 GB, free: 9.512 MB / 442.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] 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.161201140959747]