Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.0007698/0.0007698, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001864, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001003/0.001003, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.00203, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9547/0.9547, allocations: 158.6 MB / 171 MB, free: 2.191 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.184/1.139, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.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.1439/0.1439, allocations: 32.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02323/0.1672, allocations: 12.3 MB / 265.9 MB, free: 7.832 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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 267.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.449e-05, allocations: 6.312 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.009285/0.00931, allocations: 10.5 MB / 277.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006478/0.01579, allocations: 3.13 MB / 280.8 MB, free: 8.844 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001658/0.01745, allocations: 59.81 kB / 280.9 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002144/0.01959, allocations: 2.067 MB / 283 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.02191, allocations: 1.279 MB / 284.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.02247, allocations: 291.3 kB / 284.5 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002512/0.02498, allocations: 2.387 MB / 286.9 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001912/0.0269, allocations: 1.876 MB / 288.8 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.02861, allocations: 1.465 MB / 290.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.03023, allocations: 1.251 MB / 291.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00047/0.0307, allocations: 220 kB / 291.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009191/0.03162, allocations: 0.6864 MB / 292.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007486/0.03237, allocations: 1.188 MB / 293.6 MB, free: 12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006823/0.03305, allocations: 0.6736 MB / 294.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.03547, allocations: 2.848 MB / 297.1 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/0.03548, allocations: 0 / 297.1 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.03548, allocations: 3.938 kB / 297.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.537e-05/0.03554, allocations: 0 / 297.1 MB, free: 8.461 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.003239/0.03878, allocations: 3.581 MB / 300.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.03881, allocations: 8.031 kB / 300.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.04073, allocations: 0.8279 MB / 301.5 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.04206, allocations: 1.131 MB / 302.7 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.585e-05/0.04215, allocations: 156.4 kB / 302.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/0.04237, allocations: 212.2 kB / 303 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003505/0.04588, allocations: 3.131 MB / 306.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.04591, allocations: 11.88 kB / 306.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.04608, allocations: 99.89 kB / 306.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001198/0.04727, allocations: 1.372 MB / 307.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.05025, allocations: 1.676 MB / 309.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.06435, allocations: 16.81 MB / 326.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.06613, allocations: 0.9454 MB / 327.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.06638, allocations: 196.5 kB / 327.3 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003134/0.06951, allocations: 2.351 MB / 329.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.06954, allocations: 47.16 kB / 329.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 2.885e-06/0.06955, allocations: 0 / 329.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.002371/0.07192, allocations: 1.175 MB / 330.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.07195, allocations: 60.06 kB / 330.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.07303, allocations: 1.498 MB / 332.4 MB, free: 4.031 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.07307, allocations: 41.7 kB / 332.4 MB, free: 3.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008329/0.0739, allocations: 2.013 MB / 334.4 MB, free: 1.949 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.07411, allocations: 384.9 kB / 334.8 MB, free: 1.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004689/0.07458, allocations: 0.628 MB / 335.5 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.07467, allocations: 353.8 kB / 335.8 MB, free: 0.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.07505, allocations: 347.2 kB / 336.1 MB, free: 244 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1513/0.2264, allocations: 2.247 MB / 338.4 MB, free: 42.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/0.2292, allocations: 2.992 MB / 341.4 MB, free: 39.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-05/0.2293, allocations: 21.19 kB / 341.4 MB, free: 39.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.004002/0.2333, allocations: 2.13 MB / 343.5 MB, free: 39.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.2334, allocations: 36.19 kB / 343.6 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-05/0.2334, allocations: 73.81 kB / 343.6 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.438e-05/0.2335, allocations: 95.16 kB / 343.7 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/0.2356, allocations: 0.797 MB / 344.5 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001286/0.2358, allocations: 136.6 kB / 344.7 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.2381, allocations: 435.7 kB / 345.1 MB, free: 39.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003541/0.2384, allocations: 175.7 kB / 345.3 MB, free: 39.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 396 * Array equations: 5 * 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.001346/0.2398, allocations: 391.5 kB / 345.6 MB, free: 39.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/0.24, allocations: 102.6 kB / 345.7 MB, free: 39.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000639/0.2406, allocations: 492.9 kB / 346.2 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.2407, allocations: 13.05 kB / 346.2 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2407, allocations: 0 / 346.2 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.2407, allocations: 9.375 kB / 346.2 MB, free: 39.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.2443, allocations: 2.736 MB / 349 MB, free: 38.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.2443, allocations: 10.59 kB / 349 MB, free: 38.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.2446, allocations: 153.4 kB / 349.1 MB, free: 38.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.2449, allocations: 165.8 kB / 349.3 MB, free: 38.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/0.2449, allocations: 14.81 kB / 349.3 MB, free: 38.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/0.245, allocations: 24.62 kB / 349.3 MB, free: 38.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.245, allocations: 17.39 kB / 349.4 MB, free: 38.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.245, allocations: 19.62 kB / 349.4 MB, free: 38.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007619/0.2458, allocations: 0.8863 MB / 350.3 MB, free: 38.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.2459, allocations: 29.47 kB / 350.3 MB, free: 38.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.2462, allocations: 20.64 kB / 350.3 MB, free: 38.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.2462, allocations: 83.02 kB / 350.4 MB, free: 38.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.2463, allocations: 39.23 kB / 350.4 MB, free: 38.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004629/0.2467, allocations: 0.5773 MB / 351 MB, free: 37.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2467, allocations: 0 / 351 MB, free: 37.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002104/0.2488, allocations: 0.8187 MB / 351.8 MB, free: 37.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0002561/0.2491, allocations: 130.1 kB / 352 MB, free: 37.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.2507, allocations: 1.249 MB / 353.2 MB, free: 37.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-05/0.2508, allocations: 52.22 kB / 353.3 MB, free: 37.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.251, allocations: 225.5 kB / 353.5 MB, free: 37.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007337/0.2517, allocations: 330.7 kB / 353.8 MB, free: 37.37 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006707/0.2584, allocations: 5.27 MB / 359.1 MB, free: 34.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/0.2591, allocations: 0.8424 MB / 359.9 MB, free: 34.31 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000682/0.2598, allocations: 273.4 kB / 360.2 MB, free: 34.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.2601, allocations: 295.9 kB / 360.5 MB, free: 33.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.863e-06/0.2601, allocations: 0 / 360.5 MB, free: 33.84 MB / 330.7 MB Notification: Performance of Templates: time 0.02397/0.2841, allocations: 13.93 MB / 374.4 MB, free: 21.41 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.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: 3.238680575042963]