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.001002/0.001002, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001025/0.001025, allocations: 169 kB / 24.14 MB, free: 364 kB / 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.897/0.897, allocations: 158.6 MB / 186 MB, free: 2.766 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.1448/0.1448, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.372e-06/1.372e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.877e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.1415/0.1415, allocations: 10.43 MB / 309.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005246/0.1468, allocations: 3.106 MB / 312.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008226/0.1476, allocations: 62.41 kB / 312.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.1499, allocations: 2.128 MB / 314.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.1516, allocations: 1.286 MB / 316.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.1521, allocations: 321.9 kB / 316.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002287/0.1544, allocations: 2.378 MB / 318.8 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.1563, allocations: 1.973 MB / 320.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.1581, allocations: 1.423 MB / 322.2 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.1592, allocations: 1.255 MB / 323.5 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.1594, allocations: 220 kB / 323.7 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008365/0.1603, allocations: 0.6864 MB / 324.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006143/0.1609, allocations: 1.328 MB / 325.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006343/0.1615, allocations: 0.8098 MB / 326.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.1634, allocations: 3.043 MB / 329.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1634, allocations: 0 / 329.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1634, allocations: 0 / 329.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.206e-05/0.1635, allocations: 0 / 329.5 MB, free: 15.66 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.002826/0.1663, allocations: 2.952 MB / 332.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1663, allocations: 8.031 kB / 332.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.1682, allocations: 0.8357 MB / 333.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.1694, allocations: 1.116 MB / 334.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.38e-05/0.1695, allocations: 169.8 kB / 334.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.1697, allocations: 200.3 kB / 334.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/0.1727, allocations: 3.127 MB / 337.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.1727, allocations: 15.81 kB / 338 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.1729, allocations: 103.9 kB / 338.1 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001095/0.174, allocations: 1.368 MB / 339.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/0.1763, allocations: 1.669 MB / 341.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.1887, allocations: 16.83 MB / 357.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.1905, allocations: 0.9554 MB / 358.9 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.1907, allocations: 188.6 kB / 359.1 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002939/0.1937, allocations: 2.413 MB / 361.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1937, allocations: 39.22 kB / 361.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 2.104e-06/0.1937, allocations: 0 / 361.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=96): time 0.002404/0.1961, allocations: 1.202 MB / 362.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.1961, allocations: 64.06 kB / 362.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.1976, allocations: 1.506 MB / 364.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.1976, allocations: 33.7 kB / 364.3 MB, free: 11.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008326/0.1984, allocations: 2.017 MB / 366.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.1987, allocations: 392.9 kB / 366.7 MB, free: 9.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005088/0.1992, allocations: 0.6241 MB / 367.3 MB, free: 8.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1994, allocations: 349.8 kB / 367.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.1998, allocations: 347.2 kB / 368 MB, free: 8.027 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.2014, allocations: 2.257 MB / 370.3 MB, free: 4.777 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.2035, allocations: 2.97 MB / 373.2 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/0.2035, allocations: 20 kB / 373.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.002116/0.2056, allocations: 2.148 MB / 375.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.2057, allocations: 39.94 kB / 375.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.684e-05/0.2057, allocations: 72 kB / 375.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.205e-05/0.2058, allocations: 92 kB / 375.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.2073, allocations: 0.7415 MB / 376.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-05/0.2073, allocations: 143.4 kB / 376.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009895/0.2083, allocations: 432.7 kB / 376.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.2085, allocations: 176 kB / 377.1 MB, free: 12.96 MB / 346.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.0007044/0.2092, allocations: 389.5 kB / 377.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.2093, allocations: 111.8 kB / 377.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.2098, allocations: 488.1 kB / 378.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/0.2099, allocations: 15.98 kB / 378.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2099, allocations: 1.188 kB / 378.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2099, allocations: 3.984 kB / 378.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.2127, allocations: 2.742 MB / 380.8 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.2127, allocations: 12 kB / 380.8 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.213, allocations: 136.7 kB / 381 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.213, allocations: 12 kB / 381 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.2131, allocations: 35.92 kB / 381 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/0.2131, allocations: 23.38 kB / 381 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.2131, allocations: 11.94 kB / 381 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.2137, allocations: 0.8855 MB / 381.9 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.2138, allocations: 170.6 kB / 382.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.322e-05/0.2139, allocations: 35.86 kB / 382.1 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.2142, allocations: 24 kB / 382.2 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.2143, allocations: 79.66 kB / 382.2 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.2143, allocations: 31.98 kB / 382.3 MB, free: 7.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005867/0.2149, allocations: 0.5828 MB / 382.8 MB, free: 6.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2149, allocations: 3.938 kB / 382.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001615/0.2165, allocations: 0.8018 MB / 383.7 MB, free: 6.02 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.0002452/0.2168, allocations: 132.1 kB / 383.8 MB, free: 5.883 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.2179, allocations: 1.241 MB / 385 MB, free: 4.652 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-05/0.218, allocations: 55.88 kB / 385.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.2182, allocations: 216.8 kB / 385.3 MB, free: 4.383 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.2188, allocations: 211.5 kB / 385.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/0.2242, allocations: 5.135 MB / 390.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.2249, allocations: 0.8398 MB / 391.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006081/0.2255, allocations: 268.2 kB / 391.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/0.2259, allocations: 295.3 kB / 392 MB, free: 13.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.833e-06/0.2259, allocations: 0 / 392 MB, free: 13.43 MB / 362.7 MB Notification: Performance of Templates: time 0.02742/0.2533, allocations: 13.76 MB / 405.8 MB, free: 15.74 MB / 378.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 -s gbode -gbm=radauIIA3 -emit_protected -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.2052837410010397]