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.0009891/0.0009891, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001224/0.001224, allocations: 165.5 kB / 24.91 MB, free: 8.762 MB / 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.9301/0.9301, allocations: 177 MB / 205.2 MB, free: 5.422 MB / 186.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.593e-06/1.593e-06, allocations: 0 / 273.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.274e-05, allocations: 2.312 kB / 273.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.007665/0.007688, allocations: 9.786 MB / 283.2 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005713/0.0134, allocations: 3.912 MB / 287.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007372/0.01414, allocations: 63.75 kB / 287.2 MB, free: 3.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.01627, allocations: 2.188 MB / 289.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.112/0.1282, allocations: 1.685 MB / 291.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.1299, allocations: 0.7437 MB / 291.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004434/0.1343, allocations: 3.77 MB / 295.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002932/0.1373, allocations: 2.497 MB / 298.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.14, allocations: 1.951 MB / 300 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.1422, allocations: 1.764 MB / 301.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005288/0.1427, allocations: 259.2 kB / 302 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.1441, allocations: 1.074 MB / 303.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008319/0.1449, allocations: 1.661 MB / 304.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007993/0.1457, allocations: 1.053 MB / 305.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.1482, allocations: 3.968 MB / 309.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1482, allocations: 0 / 309.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1482, allocations: 0 / 309.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.005e-05/0.1483, allocations: 0 / 309.8 MB, free: 10.18 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.003243/0.1515, allocations: 3.83 MB / 313.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.1515, allocations: 15.98 kB / 313.6 MB, free: 7.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.1538, allocations: 1.025 MB / 314.7 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.1551, allocations: 1.435 MB / 316.1 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.1552, allocations: 198.8 kB / 316.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.1554, allocations: 272.7 kB / 316.6 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004384/0.1598, allocations: 4.694 MB / 321.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.939e-05/0.1599, allocations: 37.48 kB / 321.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/0.1601, allocations: 132.7 kB / 321.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001308/0.1614, allocations: 1.586 MB / 323 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003995/0.1654, allocations: 2.417 MB / 325.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02152/0.1869, allocations: 28.88 MB / 354.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003689/0.1906, allocations: 1.779 MB / 356.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.1911, allocations: 417.3 kB / 356.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004615/0.1957, allocations: 3.403 MB / 359.9 MB, free: 9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1957, allocations: 46.5 kB / 359.9 MB, free: 8.949 MB / 314.7 MB Notification: Performance of pre-optimization done (n=135): time 4.959e-06/0.1957, allocations: 0 / 359.9 MB, free: 8.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=145): time 0.01122/0.207, allocations: 4.848 MB / 364.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.207, allocations: 145.5 kB / 364.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.2094, allocations: 2.781 MB / 367.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.4e-05/0.2095, allocations: 49.69 kB / 367.8 MB, free: 1.539 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.2106, allocations: 2.794 MB / 370.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.211, allocations: 0.5931 MB / 371.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008641/0.2119, allocations: 1.065 MB / 372.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.2119, allocations: 301.1 kB / 372.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.213, allocations: 0.6781 MB / 373.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002658/0.2156, allocations: 4.128 MB / 377.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004014/0.2196, allocations: 5.329 MB / 382.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.564e-05/0.2197, allocations: 36 kB / 382.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=736) (initialization): time 0.004755/0.2244, allocations: 3.842 MB / 386.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.2245, allocations: 60 kB / 386.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.274e-05/0.2246, allocations: 132.8 kB / 386.7 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000515/0.2251, allocations: 299.5 kB / 387 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.2273, allocations: 1.333 MB / 388.3 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.2289, allocations: 1.917 MB / 390.3 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002348/0.2312, allocations: 259.8 kB / 390.5 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003089/0.2315, allocations: 304 kB / 390.8 MB, free: 6.812 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.001199/0.2327, allocations: 0.5874 MB / 391.4 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.2331, allocations: 179.8 kB / 391.6 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.2344, allocations: 0.7448 MB / 392.3 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.2344, allocations: 16 kB / 392.3 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.2344, allocations: 4 kB / 392.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.2344, allocations: 7.969 kB / 392.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/0.2388, allocations: 3.36 MB / 395.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.2388, allocations: 8.844 kB / 395.7 MB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/0.2394, allocations: 227.6 kB / 395.9 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/0.2399, allocations: 288.2 kB / 396.2 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-05/0.2399, allocations: 35.98 kB / 396.2 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/0.2412, allocations: 1.696 MB / 397.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.2412, allocations: 15.92 kB / 398 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.2431, allocations: 1.677 MB / 399.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.2435, allocations: 254 kB / 399.9 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.2436, allocations: 35.98 kB / 399.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.2442, allocations: 35.94 kB / 400 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.2443, allocations: 108.3 kB / 400.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/0.2444, allocations: 36 kB / 400.1 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008942/0.2453, allocations: 0.9808 MB / 401.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2453, allocations: 0 / 401.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002793/0.2481, allocations: 0.8476 MB / 401.9 MB, free: 11.3 MB / 362.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.0002984/0.2484, allocations: 167.9 kB / 402.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002579/0.2509, allocations: 2.306 MB / 404.4 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001444/0.2511, allocations: 96.16 kB / 404.5 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004891/0.2516, allocations: 492 kB / 405 MB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.2531, allocations: 0.4943 MB / 405.5 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007662/0.2607, allocations: 6.314 MB / 411.8 MB, free: 1.262 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.2619, allocations: 1.032 MB / 412.8 MB, free: 208 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001161/0.2631, allocations: 440.2 kB / 413.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006377/0.2637, allocations: 485.2 kB / 413.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.185e-06/0.2637, allocations: 0 / 413.7 MB, free: 15.29 MB / 378.7 MB Notification: Performance of Templates: time 0.1701/0.4338, allocations: 23.57 MB / 437.3 MB, free: 114.4 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5596034303307533]