Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001097/0.001097, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001256/0.002353, 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.001015/0.001015, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001529/0.002544, 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.8796/0.8796, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1609/1.041, allocations: 52.5 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.146/0.146, allocations: 32.79 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02948/0.1755, allocations: 12.54 MB / 284.5 MB, free: 9.723 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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.27e-05, allocations: 5.406 kB / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.009114/0.009147, allocations: 9.338 MB / 295.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005615/0.01476, allocations: 2.985 MB / 298.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.0161, allocations: 59.81 kB / 298.2 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.01854, allocations: 2.036 MB / 300.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.02075, allocations: 1.186 MB / 301.4 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.02129, allocations: 299.2 kB / 301.7 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002095/0.02338, allocations: 2.223 MB / 304 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.02485, allocations: 1.79 MB / 305.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.02612, allocations: 1.383 MB / 307.1 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.02732, allocations: 1.118 MB / 308.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.02757, allocations: 196 kB / 308.4 MB, free: 1.699 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009442/0.02851, allocations: 0.663 MB / 309.1 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006745/0.02919, allocations: 1.107 MB / 310.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.02975, allocations: 0.6152 MB / 310.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.0318, allocations: 2.631 MB / 313.5 MB, free: 12.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.03181, allocations: 0 / 313.5 MB, free: 12.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.03181, allocations: 0 / 313.5 MB, free: 12.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.374e-05/0.03187, allocations: 3.938 kB / 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.003233/0.0351, allocations: 3.346 MB / 316.8 MB, free: 9.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.03514, allocations: 8.031 kB / 316.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.03709, allocations: 0.7811 MB / 317.6 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.03831, allocations: 1.073 MB / 318.7 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.902e-05/0.03837, allocations: 148 kB / 318.8 MB, free: 7.223 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.03857, allocations: 192.3 kB / 319 MB, free: 7.035 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/0.04205, allocations: 2.905 MB / 321.9 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.0421, allocations: 11.88 kB / 321.9 MB, free: 3.848 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.0423, allocations: 91.89 kB / 322 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00141/0.04371, allocations: 1.192 MB / 323.2 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003108/0.04682, allocations: 1.541 MB / 324.7 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1581/0.2049, allocations: 15.61 MB / 340.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.2066, allocations: 0.8648 MB / 341.2 MB, free: 9.918 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.2068, allocations: 154.3 kB / 341.4 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002725/0.2095, allocations: 2.21 MB / 343.6 MB, free: 9.355 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.2095, allocations: 34.56 kB / 343.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 2.345e-06/0.2095, allocations: 4.719 kB / 343.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.002313/0.2118, allocations: 1.075 MB / 344.7 MB, free: 9.207 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.2119, allocations: 57.81 kB / 344.7 MB, free: 9.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000902/0.2128, allocations: 1.446 MB / 346.2 MB, free: 8.789 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.2128, allocations: 38.67 kB / 346.2 MB, free: 8.758 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/0.2133, allocations: 1.889 MB / 348.1 MB, free: 7.504 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.2134, allocations: 316.8 kB / 348.4 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003889/0.2138, allocations: 0.5881 MB / 349 MB, free: 7.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.2139, allocations: 352.1 kB / 349.4 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.2141, allocations: 223.6 kB / 349.6 MB, free: 6.926 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/0.2148, allocations: 2.166 MB / 351.7 MB, free: 4.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.2165, allocations: 3.058 MB / 354.8 MB, free: 1.781 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-05/0.2165, allocations: 19.69 kB / 354.8 MB, free: 1.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.001797/0.2183, allocations: 2.008 MB / 356.8 MB, free: 1.559 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.2183, allocations: 36.62 kB / 356.9 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.642e-05/0.2184, allocations: 76.02 kB / 356.9 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.39e-05/0.2185, allocations: 90.59 kB / 357 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.2196, allocations: 0.7433 MB / 357.8 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.928e-05/0.2197, allocations: 140.1 kB / 357.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.2212, allocations: 410.6 kB / 358.3 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.2214, allocations: 164.6 kB / 358.5 MB, free: 0.6719 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.000784/0.2221, allocations: 382.9 kB / 358.8 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.2223, allocations: 91.89 kB / 358.9 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.2225, allocations: 156.2 kB / 359.1 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.2225, allocations: 8 kB / 359.1 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2225, allocations: 0 / 359.1 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.2225, allocations: 9.359 kB / 359.1 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/0.2261, allocations: 2.291 MB / 361.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/0.2262, allocations: 16.55 kB / 361.4 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.2265, allocations: 103.8 kB / 361.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.2267, allocations: 150.8 kB / 361.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.2267, allocations: 11.94 kB / 361.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.2268, allocations: 15.91 kB / 361.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-05/0.2268, allocations: 15.98 kB / 361.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.2268, allocations: 7.938 kB / 361.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.2275, allocations: 0.6519 MB / 362.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.2277, allocations: 26.5 kB / 362.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.228, allocations: 16 kB / 362.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.2281, allocations: 55.8 kB / 362.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.2282, allocations: 28 kB / 362.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000683/0.2289, allocations: 0.5536 MB / 363 MB, free: 12.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2289, allocations: 1.203 kB / 363 MB, free: 12.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002549/0.2314, allocations: 0.731 MB / 363.8 MB, free: 11.6 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.0003316/0.2318, allocations: 136.5 kB / 363.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.233, allocations: 1.192 MB / 365.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.45e-05/0.2331, allocations: 58.09 kB / 365.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.2334, allocations: 207.2 kB / 365.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.2344, allocations: 1.133 MB / 366.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/0.2402, allocations: 4.732 MB / 371.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.2409, allocations: 0.7676 MB / 372 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005474/0.2414, allocations: 244.6 kB / 372.2 MB, free: 3.066 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.2417, allocations: 266.6 kB / 372.5 MB, free: 2.809 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2417, allocations: 0 / 372.5 MB, free: 2.809 MB / 330.7 MB Notification: Performance of Templates: time 0.02087/0.2626, allocations: 9.972 MB / 382.5 MB, free: 8.898 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.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.2269753562286496]