Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008934/0.0008934, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009997/0.0009997, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.924/0.924, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2523/0.2523, allocations: 32.8 MB / 294.6 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque1a.torque.[0-9,]+.|cutTorque2a.torque.[0-9,]+.|cutTorque1b.torque.[0-9,]+.|cutTorque2b.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.35e-05, allocations: 7.672 kB / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01059/0.01061, allocations: 14.1 MB / 337.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009168/0.01978, allocations: 5.138 MB / 342.5 MB, free: 6.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.0215, allocations: 143.3 kB / 342.6 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006028/0.02752, allocations: 6.429 MB / 349 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004683/0.03221, allocations: 2.931 MB / 352 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.0345, allocations: 1.797 MB / 353.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007716/0.04221, allocations: 9.082 MB / 362.8 MB, free: 1.984 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004979/0.04719, allocations: 6.749 MB / 369.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003985/0.05118, allocations: 4.546 MB / 374.1 MB, free: 6.551 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.05476, allocations: 4.256 MB / 378.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000681/0.05544, allocations: 0.582 MB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.05709, allocations: 1.365 MB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002184/0.05927, allocations: 3.826 MB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002249/0.06152, allocations: 2.294 MB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006898/0.06842, allocations: 7.582 MB / 394 MB, free: 2.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.06842, allocations: 0 / 394 MB, free: 2.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.06842, allocations: 0 / 394 MB, free: 2.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001812/0.0686, allocations: 3.938 kB / 394 MB, free: 2.586 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: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.009647/0.07825, allocations: 7.813 MB / 401.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.07829, allocations: 12.03 kB / 401.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004928/0.08321, allocations: 1.644 MB / 403.5 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004742/0.08796, allocations: 3.654 MB / 407.2 MB, free: 5.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.08822, allocations: 415 kB / 407.6 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007393/0.08896, allocations: 0.5448 MB / 408.1 MB, free: 4.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.09942, allocations: 8.289 MB / 416.4 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.09956, allocations: 71.44 kB / 416.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005233/0.1001, allocations: 263.8 kB / 416.7 MB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002874/0.103, allocations: 2.678 MB / 419.4 MB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006968/0.1099, allocations: 4.073 MB / 423.5 MB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1928/0.3027, allocations: 51.06 MB / 474.5 MB, free: 74.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006044/0.3087, allocations: 3.064 MB / 477.6 MB, free: 73.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.3094, allocations: 0.5289 MB / 478.1 MB, free: 73.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006957/0.3163, allocations: 5.671 MB / 483.8 MB, free: 69.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.3163, allocations: 55.81 kB / 483.9 MB, free: 69.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=182): time 3.466e-06/0.3163, allocations: 0 / 483.9 MB, free: 69.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=206): time 0.01376/0.3301, allocations: 7.197 MB / 491.1 MB, free: 62.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.3301, allocations: 153.8 kB / 491.2 MB, free: 62.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.333, allocations: 4.939 MB / 496.1 MB, free: 58.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.004e-05/0.3331, allocations: 57.7 kB / 496.2 MB, free: 57.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.3343, allocations: 4.834 MB / 0.4893 GB, free: 53.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.3346, allocations: 0.849 MB / 0.4901 GB, free: 52.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008973/0.3355, allocations: 1.586 MB / 0.4917 GB, free: 50.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.589e-05/0.3355, allocations: 309.1 kB / 0.492 GB, free: 50.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.3367, allocations: 0.9498 MB / 0.4929 GB, free: 49.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.339, allocations: 6.135 MB / 0.4989 GB, free: 40.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004501/0.3435, allocations: 7.958 MB / 0.5067 GB, free: 30.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-05/0.3435, allocations: 59.94 kB / 0.5067 GB, free: 30.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.004963/0.3485, allocations: 5.662 MB / 0.5122 GB, free: 24.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.43e-05/0.3485, allocations: 84.19 kB / 0.5123 GB, free: 24.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.322e-05/0.3486, allocations: 196 kB / 0.5125 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/0.3488, allocations: 248 kB / 0.5127 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.3514, allocations: 1.883 MB / 0.5146 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00011/0.3515, allocations: 378.5 kB / 0.5149 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/0.354, allocations: 371.7 kB / 0.5153 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/0.3543, allocations: 456 kB / 0.5157 GB, free: 21.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutTorque2b.torqueArrow.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque1b.torqueArrow.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque2a.torqueArrow.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque1a.torqueArrow.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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 (1043): * Single equations (assignments): 1032 * 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.001285/0.3556, allocations: 0.8274 MB / 0.5165 GB, free: 20.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002988/0.3559, allocations: 327.5 kB / 0.5169 GB, free: 19.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/0.3562, allocations: 490 kB / 0.5173 GB, free: 19.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.3562, allocations: 24 kB / 0.5173 GB, free: 19.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.3562, allocations: 7.5 kB / 0.5174 GB, free: 19.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3562, allocations: 11.95 kB / 0.5174 GB, free: 19.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006674/0.3629, allocations: 8.691 MB / 0.5259 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/0.3629, allocations: 48 kB / 0.5259 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006045/0.3635, allocations: 435.2 kB / 0.5263 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.446e-05/0.3636, allocations: 60 kB / 0.5264 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.002e-05/0.3636, allocations: 96 kB / 0.5265 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.858e-05/0.3637, allocations: 91.64 kB / 0.5265 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-05/0.3637, allocations: 71.69 kB / 0.5266 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.365, allocations: 3.334 MB / 0.5299 GB, free: 4.902 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.3654, allocations: 0.5587 MB / 0.5304 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003289/0.3657, allocations: 108 kB / 0.5305 GB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000988/0.3667, allocations: 88 kB / 0.5306 GB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.3669, allocations: 314.4 kB / 0.5309 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/0.3669, allocations: 112 kB / 0.531 GB, free: 3.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001341/0.3683, allocations: 2.155 MB / 0.5331 GB, free: 1.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3683, allocations: 0 / 0.5331 GB, free: 1.598 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003327/0.3716, allocations: 1.496 MB / 0.5346 GB, free: 104 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 211 * 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 (238): * Single equations (assignments): 235 * 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.0003374/0.3719, allocations: 271.3 kB / 0.5348 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002891/0.3748, allocations: 3.29 MB / 0.538 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001894/0.375, allocations: 128.2 kB / 0.5382 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.3756, allocations: 0.6718 MB / 0.5388 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.3781, allocations: 0.8198 MB / 0.5396 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.3911, allocations: 13.68 MB / 0.553 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/0.3928, allocations: 2.087 MB / 0.555 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00173/0.3946, allocations: 0.7717 MB / 0.5558 GB, free: 9.582 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009644/0.3955, allocations: 0.8174 MB / 0.5566 GB, free: 8.762 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/0.3955, allocations: 0 / 0.5566 GB, free: 8.762 MB / 442.7 MB Notification: Performance of Templates: time 0.05946/0.455, allocations: 37.77 MB / 0.5935 GB, free: 3.469 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.361394001170993]