Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.0008093/0.0008093, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001845, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006687/0.0006687, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008755/0.001544, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.944/0.944, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08211/1.026, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] 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(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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164e-05/1.304e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.008163/0.008176, allocations: 9.853 MB / 255.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005764/0.01394, allocations: 3.951 MB / 259 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007182/0.01466, allocations: 59.75 kB / 259.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.0166, allocations: 2.125 MB / 261.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.01875, allocations: 1.676 MB / 262.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008808/0.01963, allocations: 0.6936 MB / 263.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002669/0.0223, allocations: 3.666 MB / 267.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.02377, allocations: 2.333 MB / 269.6 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.02513, allocations: 2.055 MB / 271.6 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.02677, allocations: 1.753 MB / 273.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002739/0.02704, allocations: 260 kB / 273.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1102/0.1372, allocations: 1.067 MB / 274.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.1388, allocations: 1.482 MB / 276.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.1401, allocations: 0.8526 MB / 277 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.1435, allocations: 3.678 MB / 280.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.1435, allocations: 3.75 kB / 280.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1435, allocations: 0 / 280.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001036/0.1436, allocations: 0.75 kB / 280.7 MB, free: 6.344 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.004658/0.1483, allocations: 4.637 MB / 285.4 MB, free: 4.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.1483, allocations: 9.812 kB / 285.4 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/0.1508, allocations: 1.015 MB / 286.4 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.1522, allocations: 1.436 MB / 287.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.823e-05/0.1522, allocations: 207 kB / 288 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.1525, allocations: 270 kB / 288.3 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004563/0.1571, allocations: 4.693 MB / 293 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.645e-05/0.1571, allocations: 37.5 kB / 293 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/0.1574, allocations: 129.5 kB / 293.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001126/0.1585, allocations: 1.491 MB / 294.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003482/0.162, allocations: 2.418 MB / 297 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/0.1801, allocations: 28.88 MB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/0.1836, allocations: 1.754 MB / 327.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/0.1842, allocations: 401.1 kB / 328.1 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004583/0.1888, allocations: 3.387 MB / 331.5 MB, free: 1.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1888, allocations: 50.31 kB / 331.5 MB, free: 1.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=135): time 2.885e-06/0.1888, allocations: 0 / 331.5 MB, free: 1.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=145): time 0.01026/0.1991, allocations: 4.843 MB / 336.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.1991, allocations: 145.5 kB / 336.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.2011, allocations: 2.791 MB / 339.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.2011, allocations: 45.7 kB / 339.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.2022, allocations: 2.792 MB / 342.1 MB, free: 7.629 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/0.2025, allocations: 0.597 MB / 342.7 MB, free: 7.062 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008363/0.2034, allocations: 1.06 MB / 343.8 MB, free: 6.113 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003191/0.2037, allocations: 301.1 kB / 344.1 MB, free: 5.816 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009527/0.2046, allocations: 0.6737 MB / 344.7 MB, free: 5.137 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.207, allocations: 4.137 MB / 348.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/0.2113, allocations: 5.736 MB / 354.6 MB, free: 8.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-05/0.2113, allocations: 36 kB / 354.7 MB, free: 8.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=736) (initialization): time 0.004041/0.2154, allocations: 3.853 MB / 358.5 MB, free: 4.406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.2154, allocations: 62.97 kB / 358.6 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.869e-05/0.2155, allocations: 132 kB / 358.7 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004376/0.2159, allocations: 298 kB / 359 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.2181, allocations: 1.408 MB / 360.4 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.2193, allocations: 1.933 MB / 362.3 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.221, allocations: 263.8 kB / 362.6 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004007/0.2214, allocations: 300 kB / 362.9 MB, free: 15.95 MB / 346.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.001268/0.2227, allocations: 0.5833 MB / 363.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.2229, allocations: 183.8 kB / 363.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009142/0.2238, allocations: 0.7448 MB / 364.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.2238, allocations: 16 kB / 364.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.2238, allocations: 0 / 364.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.2239, allocations: 11.97 kB / 364.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.2277, allocations: 3.352 MB / 367.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.2277, allocations: 20.91 kB / 367.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.2282, allocations: 227.7 kB / 368 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.2284, allocations: 269.7 kB / 368.3 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/0.2289, allocations: 284.2 kB / 368.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.229, allocations: 35.98 kB / 368.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.2302, allocations: 1.695 MB / 370.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.2302, allocations: 11.94 kB / 370.3 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.2316, allocations: 1.676 MB / 372 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.2318, allocations: 31.98 kB / 372 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.2323, allocations: 32 kB / 372 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.2324, allocations: 104.2 kB / 372.1 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/0.2325, allocations: 49.56 kB / 372.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008275/0.2333, allocations: 0.9772 MB / 373.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2333, allocations: 4 kB / 373.2 MB, free: 5.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002538/0.2358, allocations: 0.8476 MB / 374 MB, free: 5.113 MB / 346.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.0002745/0.2361, allocations: 167.1 kB / 374.2 MB, free: 4.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.2382, allocations: 2.421 MB / 376.6 MB, free: 2.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001616/0.2384, allocations: 100.1 kB / 376.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.2389, allocations: 0.5634 MB / 377.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.2409, allocations: 2.343 MB / 379.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00828/0.2492, allocations: 6.479 MB / 386.1 MB, free: 8.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/0.25, allocations: 1.029 MB / 387.1 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008823/0.2509, allocations: 440.1 kB / 387.5 MB, free: 7.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005463/0.2514, allocations: 461.2 kB / 388 MB, free: 6.742 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2514, allocations: 4 kB / 388 MB, free: 6.738 MB / 362.7 MB Notification: Performance of Templates: time 0.03337/0.2848, allocations: 22.33 MB / 410.3 MB, free: 0.5469 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.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.112166304141283]