Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007217/0.0007217, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.00173, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000635/0.000635, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008881/0.001523, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9436/0.9436, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1454/1.089, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1292/0.1292, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.022/0.1512, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 285.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.41e-05, allocations: 2.312 kB / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.007541/0.007555, allocations: 9.331 MB / 295.2 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005789/0.01334, allocations: 2.989 MB / 298.2 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000522/0.01387, allocations: 59.75 kB / 298.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.01581, allocations: 2.032 MB / 300.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.01746, allocations: 1.186 MB / 301.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.01786, allocations: 299.2 kB / 301.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.01979, allocations: 2.216 MB / 303.9 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.02112, allocations: 1.797 MB / 305.7 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.02248, allocations: 1.383 MB / 307.1 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.02382, allocations: 1.118 MB / 308.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002842/0.02411, allocations: 196 kB / 308.4 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.02512, allocations: 0.6591 MB / 309.1 MB, free: 1.031 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006828/0.0258, allocations: 1.114 MB / 310.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000554/0.02635, allocations: 0.6114 MB / 310.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.0285, allocations: 2.627 MB / 313.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.02851, allocations: 4 kB / 313.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.02851, allocations: 0 / 313.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.178e-05/0.02858, allocations: 0 / 313.5 MB, free: 12.66 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.002976/0.03155, allocations: 3.346 MB / 316.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.03159, allocations: 12.03 kB / 316.8 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.03341, allocations: 0.7772 MB / 317.6 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.03463, allocations: 1.077 MB / 318.7 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.826e-05/0.03471, allocations: 148.1 kB / 318.8 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.03491, allocations: 192.2 kB / 319 MB, free: 7.027 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.03794, allocations: 2.901 MB / 321.9 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/0.03798, allocations: 15.88 kB / 321.9 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.03813, allocations: 91.89 kB / 322 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00105/0.03918, allocations: 1.188 MB / 323.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.04155, allocations: 1.541 MB / 324.7 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1581/0.1997, allocations: 15.61 MB / 340.3 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.2013, allocations: 0.8621 MB / 341.2 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.2014, allocations: 158.8 kB / 341.4 MB, free: 9.789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002597/0.204, allocations: 2.212 MB / 343.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.2041, allocations: 38.86 kB / 343.6 MB, free: 9.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 2.515e-06/0.2041, allocations: 0 / 343.6 MB, free: 9.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.002269/0.2063, allocations: 1.074 MB / 344.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.2064, allocations: 57.69 kB / 344.7 MB, free: 9.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000855/0.2072, allocations: 1.45 MB / 346.2 MB, free: 8.672 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.2073, allocations: 39.98 kB / 346.2 MB, free: 8.641 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005111/0.2078, allocations: 1.885 MB / 348.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.2079, allocations: 314.4 kB / 348.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003909/0.2083, allocations: 0.5943 MB / 349 MB, free: 7.113 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.2083, allocations: 349.6 kB / 349.4 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.2086, allocations: 220.3 kB / 349.6 MB, free: 6.801 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000705/0.2093, allocations: 2.17 MB / 351.7 MB, free: 4.262 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.211, allocations: 3.061 MB / 354.8 MB, free: 1.648 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-05/0.211, allocations: 21.16 kB / 354.8 MB, free: 1.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.001872/0.2129, allocations: 2.004 MB / 356.8 MB, free: 1.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.213, allocations: 34.16 kB / 356.9 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.43e-05/0.213, allocations: 82.27 kB / 356.9 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.489e-05/0.2131, allocations: 89.84 kB / 357 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.2143, allocations: 0.7417 MB / 357.8 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.711e-05/0.2144, allocations: 140.1 kB / 357.9 MB, free: 1.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008145/0.2152, allocations: 405.2 kB / 358.3 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.2153, allocations: 168 kB / 358.5 MB, free: 0.6562 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 314 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 (375): * Single equations (assignments): 372 * 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.0004387/0.2157, allocations: 376.8 kB / 358.8 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.2158, allocations: 93.31 kB / 358.9 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.2159, allocations: 159.7 kB / 359.1 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.2159, allocations: 11.98 kB / 359.1 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/0.216, allocations: 0 / 359.1 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.216, allocations: 3.938 kB / 359.1 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.2183, allocations: 2.292 MB / 361.4 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.2183, allocations: 16.16 kB / 361.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.2185, allocations: 103.8 kB / 361.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2186, allocations: 153.5 kB / 361.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.2187, allocations: 11.94 kB / 361.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.2187, allocations: 23.98 kB / 361.7 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.2187, allocations: 8 kB / 361.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.2187, allocations: 11.94 kB / 361.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005054/0.2192, allocations: 0.6538 MB / 362.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.547e-05/0.2193, allocations: 19.06 kB / 362.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.2195, allocations: 18.62 kB / 362.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.2195, allocations: 59.8 kB / 362.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.2196, allocations: 24 kB / 362.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004229/0.22, allocations: 0.5513 MB / 363 MB, free: 12.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.22, allocations: 0 / 363 MB, free: 12.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00152/0.2215, allocations: 0.7331 MB / 363.8 MB, free: 11.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * 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.0002262/0.2217, allocations: 136.5 kB / 363.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.2228, allocations: 1.19 MB / 365.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.651e-05/0.2229, allocations: 56.67 kB / 365.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.2231, allocations: 210.6 kB / 365.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.2241, allocations: 1.128 MB / 366.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.2295, allocations: 4.728 MB / 371.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.2301, allocations: 0.7715 MB / 372 MB, free: 3.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004933/0.2306, allocations: 244.6 kB / 372.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.2309, allocations: 266.6 kB / 372.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2309, allocations: 0 / 372.5 MB, free: 2.797 MB / 330.7 MB Notification: Performance of Templates: time 0.02326/0.2541, allocations: 9.968 MB / 382.4 MB, free: 8.891 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.0897783506661654]