Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009773/0.0009773, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9223/0.9223, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2567/0.2567, allocations: 34.87 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.527e-05, allocations: 2.312 kB / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.007619/0.007635, allocations: 9.241 MB / 388 MB, free: 8.809 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004182/0.01182, allocations: 2.877 MB / 390.9 MB, free: 5.922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.01228, allocations: 55.81 kB / 390.9 MB, free: 5.867 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.01464, allocations: 2.142 MB / 393.1 MB, free: 3.719 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.01602, allocations: 1.171 MB / 394.2 MB, free: 2.543 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.01648, allocations: 323.2 kB / 394.5 MB, free: 2.227 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.01838, allocations: 2.355 MB / 396.9 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.0197, allocations: 1.801 MB / 398.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.02074, allocations: 1.29 MB / 400 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009139/0.02165, allocations: 1.173 MB / 401.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.02184, allocations: 196 kB / 401.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006651/0.0225, allocations: 0.6473 MB / 402 MB, free: 10.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006464/0.02315, allocations: 1.188 MB / 403.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000518/0.02367, allocations: 0.7202 MB / 403.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.02568, allocations: 2.72 MB / 406.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.02568, allocations: 0 / 406.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02568, allocations: 0 / 406.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.42e-05/0.02573, allocations: 0 / 406.6 MB, free: 6.07 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.003145/0.02887, allocations: 3.138 MB / 409.8 MB, free: 2.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.02891, allocations: 8.031 kB / 409.8 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/0.03177, allocations: 1.875 MB / 411.7 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.03316, allocations: 1.227 MB / 412.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/0.03323, allocations: 144 kB / 413 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.03343, allocations: 184.3 kB / 413.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.0369, allocations: 3.321 MB / 416.5 MB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/0.03693, allocations: 11.88 kB / 416.5 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.03708, allocations: 87.91 kB / 416.6 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001148/0.03823, allocations: 1.34 MB / 418 MB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/0.04119, allocations: 1.796 MB / 419.8 MB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.05463, allocations: 20.62 MB / 440.4 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.05643, allocations: 0.8888 MB / 441.3 MB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.05674, allocations: 229.9 kB / 441.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1622/0.219, allocations: 2.576 MB / 444.1 MB, free: 93.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.219, allocations: 40.02 kB / 444.1 MB, free: 93.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.915e-06/0.219, allocations: 0 / 444.1 MB, free: 93.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002636/0.2216, allocations: 1.286 MB / 445.4 MB, free: 93.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.2217, allocations: 56.94 kB / 445.4 MB, free: 93.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.2231, allocations: 1.798 MB / 447.2 MB, free: 92.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.2231, allocations: 39.7 kB / 447.3 MB, free: 92.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/0.2238, allocations: 2.015 MB / 449.3 MB, free: 91.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.2239, allocations: 339.5 kB / 449.6 MB, free: 91.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004643/0.2244, allocations: 0.6703 MB / 450.3 MB, free: 91.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.2245, allocations: 0.5241 MB / 450.8 MB, free: 91.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.2249, allocations: 292.9 kB / 451.1 MB, free: 91.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.2259, allocations: 3.045 MB / 454.2 MB, free: 87.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/0.228, allocations: 3.688 MB / 457.8 MB, free: 83.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.213e-05/0.2281, allocations: 20.09 kB / 457.9 MB, free: 83.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002381/0.2305, allocations: 2.492 MB / 460.4 MB, free: 83.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.2305, allocations: 36.25 kB / 460.4 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.597e-05/0.2305, allocations: 67.78 kB / 460.5 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.814e-05/0.2306, allocations: 87.91 kB / 460.5 MB, free: 83.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009548/0.2315, allocations: 0.652 MB / 461.2 MB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.374e-05/0.2316, allocations: 130.1 kB / 461.3 MB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009556/0.2326, allocations: 420.5 kB / 461.7 MB, free: 83.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.2327, allocations: 188.6 kB / 461.9 MB, free: 83.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362): * Single equations (assignments): 357 * 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.0005879/0.2333, allocations: 414.1 kB / 462.3 MB, free: 82.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.2334, allocations: 174.2 kB / 462.5 MB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.2335, allocations: 158.4 kB / 462.6 MB, free: 82.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.2335, allocations: 11.11 kB / 462.7 MB, free: 82.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.2335, allocations: 3.938 kB / 462.7 MB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2336, allocations: 3.938 kB / 462.7 MB, free: 82.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.2364, allocations: 2.857 MB / 465.5 MB, free: 81.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.2364, allocations: 10.59 kB / 465.5 MB, free: 81.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.2366, allocations: 96.28 kB / 465.6 MB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.2366, allocations: 13.25 kB / 465.6 MB, free: 81.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.2366, allocations: 20.31 kB / 465.7 MB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.2366, allocations: 18.62 kB / 465.7 MB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2366, allocations: 6.125 kB / 465.7 MB, free: 81.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.2372, allocations: 0.9072 MB / 466.6 MB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.2373, allocations: 155.8 kB / 466.7 MB, free: 80.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.2374, allocations: 24.44 kB / 466.8 MB, free: 80.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.2376, allocations: 24.61 kB / 466.8 MB, free: 80.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.2377, allocations: 54.69 kB / 466.8 MB, free: 80.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.2377, allocations: 29.16 kB / 466.9 MB, free: 80.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006391/0.2383, allocations: 0.7829 MB / 467.7 MB, free: 80.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2383, allocations: 0 / 467.7 MB, free: 80.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00138/0.2397, allocations: 0.7021 MB / 468.4 MB, free: 79.82 MB / 410.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.0002286/0.2399, allocations: 152.8 kB / 468.5 MB, free: 79.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.2411, allocations: 1.256 MB / 469.8 MB, free: 79.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2411, allocations: 0 / 469.8 MB, free: 79.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.2413, allocations: 207 kB / 470 MB, free: 79.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006236/0.2419, allocations: 205.9 kB / 470.2 MB, free: 79.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.2459, allocations: 4.387 MB / 474.6 MB, free: 76.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.2465, allocations: 0.765 MB / 475.3 MB, free: 76.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009928/0.2474, allocations: 0.8053 MB / 476.1 MB, free: 76.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.2476, allocations: 111.5 kB / 476.2 MB, free: 76.37 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2476, allocations: 3.312 kB / 476.2 MB, free: 76.37 MB / 410.7 MB Notification: Performance of Templates: time 0.02029/0.2679, allocations: 11.5 MB / 487.7 MB, free: 75.08 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.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.4990927632898092]