Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.0008944/0.0008944, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.002168, allocations: 445.7 kB / 10.37 MB, free: 328 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.0007443/0.0007443, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009488/0.001693, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8783/0.8783, allocations: 158.6 MB / 171.1 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.139/1.017, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.635e-05, allocations: 10.25 kB / 221.8 MB, free: 156 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.007479/0.007496, allocations: 9.892 MB / 231.7 MB, free: 6.211 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00609/0.01359, allocations: 3.936 MB / 235.7 MB, free: 2.262 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008673/0.01445, allocations: 67.69 kB / 235.7 MB, free: 2.195 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.01654, allocations: 2.121 MB / 237.9 MB, free: 68 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.01904, allocations: 1.718 MB / 239.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.02006, allocations: 0.6976 MB / 240.3 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002986/0.02304, allocations: 3.623 MB / 243.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003536/0.02658, allocations: 2.33 MB / 246.2 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.02926, allocations: 2.083 MB / 248.3 MB, free: 5.527 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.032, allocations: 1.769 MB / 250.1 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006514/0.03265, allocations: 260 kB / 250.3 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.03405, allocations: 1.088 MB / 251.4 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009554/0.035, allocations: 1.512 MB / 252.9 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008882/0.03589, allocations: 0.8723 MB / 253.8 MB, free: 20 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003283/0.03918, allocations: 3.728 MB / 257.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.03919, allocations: 0 / 257.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.03919, allocations: 0 / 257.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001254/0.03931, allocations: 0 / 257.5 MB, free: 12.27 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.005171/0.04448, allocations: 4.667 MB / 262.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.04452, allocations: 12.03 kB / 262.2 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/0.04681, allocations: 1.023 MB / 263.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.04862, allocations: 1.445 MB / 264.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.82e-05/0.04872, allocations: 213.1 kB / 264.9 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.049, allocations: 267.9 kB / 265.1 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004816/0.05381, allocations: 4.67 MB / 269.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.947e-05/0.05387, allocations: 35.69 kB / 269.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.05408, allocations: 131.9 kB / 270 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001567/0.05565, allocations: 1.603 MB / 271.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003765/0.05942, allocations: 2.393 MB / 274 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1292/0.1886, allocations: 28.88 MB / 302.9 MB, free: 23.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003654/0.1922, allocations: 1.726 MB / 304.6 MB, free: 23.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.1927, allocations: 400 kB / 305 MB, free: 23.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004589/0.1973, allocations: 3.378 MB / 308.3 MB, free: 22.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1973, allocations: 45.53 kB / 308.4 MB, free: 22.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=135): time 3.477e-06/0.1973, allocations: 0 / 308.4 MB, free: 22.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=145): time 0.009785/0.2071, allocations: 4.738 MB / 313.1 MB, free: 21.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2072, allocations: 143.5 kB / 313.3 MB, free: 21.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.209, allocations: 2.802 MB / 316.1 MB, free: 20.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.2091, allocations: 43.23 kB / 316.1 MB, free: 20.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008294/0.2099, allocations: 2.806 MB / 318.9 MB, free: 19.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.2101, allocations: 0.5934 MB / 319.5 MB, free: 18.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007235/0.2109, allocations: 1.061 MB / 320.6 MB, free: 18.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.77e-05/0.2109, allocations: 310.8 kB / 320.9 MB, free: 18.15 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008172/0.2117, allocations: 0.6631 MB / 321.5 MB, free: 17.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.2133, allocations: 4.129 MB / 325.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.2161, allocations: 5.321 MB / 331 MB, free: 7.871 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.177e-05/0.2161, allocations: 39.83 kB / 331 MB, free: 7.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=736) (initialization): time 0.003631/0.2198, allocations: 3.86 MB / 334.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/0.2198, allocations: 60 kB / 335 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.472e-05/0.2199, allocations: 128.9 kB / 335.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004366/0.2203, allocations: 291.5 kB / 335.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/0.2224, allocations: 1.416 MB / 336.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001193/0.2236, allocations: 1.936 MB / 338.7 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/0.2259, allocations: 247.8 kB / 339 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.2261, allocations: 300 kB / 339.2 MB, free: 15.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (706): * Single equations (assignments): 702 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009317/0.2271, allocations: 0.5922 MB / 339.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/0.2273, allocations: 183.8 kB / 340 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009658/0.2283, allocations: 0.7483 MB / 340.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.2283, allocations: 19.75 kB / 340.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2283, allocations: 0 / 340.8 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.2283, allocations: 15.91 kB / 340.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/0.2325, allocations: 3.353 MB / 344.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.2325, allocations: 8 kB / 344.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.233, allocations: 235.7 kB / 344.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/0.2334, allocations: 349.9 kB / 344.7 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005012/0.2339, allocations: 288.3 kB / 345 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.234, allocations: 32 kB / 345 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.2354, allocations: 1.697 MB / 346.7 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.2354, allocations: 15.94 kB / 346.8 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.237, allocations: 1.669 MB / 348.4 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.2372, allocations: 31.94 kB / 348.5 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.2376, allocations: 39.97 kB / 348.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2377, allocations: 96.38 kB / 348.6 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.2378, allocations: 36 kB / 348.6 MB, free: 5.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008093/0.2386, allocations: 0.9892 MB / 349.6 MB, free: 4.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2386, allocations: 3.938 kB / 349.6 MB, free: 4.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002451/0.2411, allocations: 0.8827 MB / 350.5 MB, free: 3.867 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (121): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003275/0.2414, allocations: 187.7 kB / 350.7 MB, free: 3.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.2437, allocations: 2.295 MB / 353 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.00016/0.2439, allocations: 108.2 kB / 353.1 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004563/0.2444, allocations: 0.4888 MB / 353.6 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.2461, allocations: 0.6988 MB / 354.3 MB, free: 76 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008708/0.2548, allocations: 6.525 MB / 360.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.2558, allocations: 1.038 MB / 361.8 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009374/0.2568, allocations: 451.1 kB / 362.3 MB, free: 7.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/0.2574, allocations: 481.2 kB / 362.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2574, allocations: 0 / 362.8 MB, free: 7.43 MB / 314.7 MB Notification: Performance of Templates: time 0.03617/0.2935, allocations: 24.54 MB / 387.3 MB, free: 14.91 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.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.5893038883805275]