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.001051/0.001051, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00123/0.002281, allocations: 452 kB / 10.43 MB, free: 264 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.001032/0.001032, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.00247, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9319/0.9319, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1432/1.075, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.1333/0.1333, allocations: 32.35 MB / 253.8 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02065/0.1539, allocations: 12.31 MB / 266.1 MB, free: 3.875 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.492e-06/1.492e-06, allocations: 0 / 267.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.503e-05, allocations: 6.25 kB / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.008439/0.008464, allocations: 10.52 MB / 277.9 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007104/0.01557, allocations: 3.126 MB / 281 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.01763, allocations: 63.81 kB / 281.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002828/0.02045, allocations: 2.052 MB / 283.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.02352, allocations: 1.283 MB / 284.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007631/0.02429, allocations: 295.2 kB / 284.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1563/0.1806, allocations: 2.379 MB / 287.1 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003736/0.1843, allocations: 1.869 MB / 289 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004245/0.1886, allocations: 1.477 MB / 290.4 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.1917, allocations: 1.246 MB / 291.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001216/0.1929, allocations: 219.2 kB / 291.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.1951, allocations: 0.6752 MB / 292.6 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001868/0.1969, allocations: 1.196 MB / 293.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.1988, allocations: 0.6736 MB / 294.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005493/0.2043, allocations: 2.845 MB / 297.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.735e-05/0.2043, allocations: 0 / 297.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2043, allocations: 0 / 297.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002448/0.2046, allocations: 0.7812 kB / 297.3 MB, free: 1.09 MB / 282.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.008874/0.2134, allocations: 3.59 MB / 300.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2135, allocations: 10.25 kB / 300.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.2159, allocations: 0.8209 MB / 301.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.2181, allocations: 1.138 MB / 302.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.2182, allocations: 153 kB / 303 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.2185, allocations: 209.7 kB / 303.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005567/0.2241, allocations: 3.133 MB / 306.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.2241, allocations: 12.34 kB / 306.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.2243, allocations: 102 kB / 306.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001317/0.2257, allocations: 1.304 MB / 307.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00408/0.2297, allocations: 1.675 MB / 309.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/0.2519, allocations: 16.82 MB / 326.2 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.2547, allocations: 0.9462 MB / 327.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003767/0.255, allocations: 195.8 kB / 327.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005184/0.2602, allocations: 2.36 MB / 329.7 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.2603, allocations: 46.97 kB / 329.8 MB, free: 7.176 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 3.747e-06/0.2603, allocations: 0 / 329.8 MB, free: 7.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=96): time 0.003744/0.264, allocations: 1.167 MB / 331 MB, free: 6.012 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.264, allocations: 60.06 kB / 331 MB, free: 5.941 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.2659, allocations: 1.504 MB / 332.5 MB, free: 4.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/0.2659, allocations: 43.27 kB / 332.6 MB, free: 4.688 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.267, allocations: 2.02 MB / 334.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002824/0.2673, allocations: 391 kB / 335 MB, free: 2.383 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006911/0.268, allocations: 0.6292 MB / 335.6 MB, free: 1.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.2681, allocations: 356.5 kB / 335.9 MB, free: 1.492 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.2686, allocations: 250.2 kB / 336.2 MB, free: 1.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.2703, allocations: 2.31 MB / 338.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003282/0.2736, allocations: 3.274 MB / 341.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.868e-05/0.2736, allocations: 20 kB / 341.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.003593/0.2772, allocations: 2.171 MB / 344 MB, free: 8.121 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.2773, allocations: 43.97 kB / 344 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.793e-05/0.2774, allocations: 76 kB / 344.1 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.484e-05/0.2775, allocations: 96 kB / 344.2 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.2794, allocations: 0.8189 MB / 345 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001153/0.2795, allocations: 143.4 kB / 345.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.2814, allocations: 440.7 kB / 345.6 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/0.2816, allocations: 179.1 kB / 345.7 MB, free: 6.344 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 332 * 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 (411): * Single equations (assignments): 408 * 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 prepare postOptimizeDAE: time 0.001318/0.2829, allocations: 393.5 kB / 346.1 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.2831, allocations: 99.89 kB / 346.2 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007568/0.2839, allocations: 500 kB / 346.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.2839, allocations: 8 kB / 346.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2839, allocations: 4 kB / 346.7 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.2839, allocations: 7.984 kB / 346.7 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004328/0.2883, allocations: 2.742 MB / 349.5 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.516e-05/0.2883, allocations: 19.94 kB / 349.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.2887, allocations: 143.8 kB / 349.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.2891, allocations: 178.2 kB / 349.8 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.2891, allocations: 12 kB / 349.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.2891, allocations: 24 kB / 349.8 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-05/0.2891, allocations: 23.86 kB / 349.9 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.2892, allocations: 15.94 kB / 349.9 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.2903, allocations: 0.8852 MB / 350.8 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.2905, allocations: 31.92 kB / 350.8 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.2909, allocations: 24 kB / 350.8 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.291, allocations: 75.66 kB / 350.9 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/0.2911, allocations: 35.98 kB / 350.9 MB, free: 1.195 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006904/0.2918, allocations: 0.5869 MB / 351.5 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2918, allocations: 0 / 351.5 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002844/0.2946, allocations: 0.8019 MB / 352.3 MB, free: 15.88 MB / 346.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.000316/0.2949, allocations: 138.2 kB / 352.4 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.2969, allocations: 1.319 MB / 353.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001377/0.297, allocations: 55.94 kB / 353.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.2984, allocations: 0.669 MB / 354.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.3001, allocations: 1.098 MB / 355.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.3111, allocations: 5.09 MB / 360.7 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/0.3128, allocations: 0.836 MB / 361.5 MB, free: 6.418 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001379/0.3142, allocations: 280.2 kB / 361.8 MB, free: 6.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005522/0.3147, allocations: 275.3 kB / 362.1 MB, free: 5.871 MB / 346.7 MB Notification: Performance of SimCode: time 3.336e-06/0.3147, allocations: 0 / 362.1 MB, free: 5.871 MB / 346.7 MB Notification: Performance of Templates: time 0.03149/0.3462, allocations: 11.03 MB / 373.1 MB, free: 10.86 MB / 362.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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.344470732845366]