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.001057/0.001057, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 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.001014/0.001014, allocations: 175.6 kB / 26.39 MB, free: 7.988 MB / 18.57 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.8743/0.8743, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.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.813e-06/1.813e-06, allocations: 0 / 252.3 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.595e-05, allocations: 6.25 kB / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.007826/0.007842, allocations: 9.782 MB / 262 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006198/0.01404, allocations: 3.758 MB / 265.8 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.0152, allocations: 63.69 kB / 265.9 MB, free: 9.578 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.01752, allocations: 2.192 MB / 268.1 MB, free: 7.379 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002647/0.02017, allocations: 1.761 MB / 269.8 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.02119, allocations: 0.7483 MB / 270.6 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.02383, allocations: 3.735 MB / 274.3 MB, free: 1.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.02549, allocations: 2.563 MB / 276.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.02696, allocations: 2.011 MB / 278.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.02871, allocations: 1.859 MB / 280.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002631/0.02897, allocations: 260 kB / 281 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.03013, allocations: 1.057 MB / 282 MB, free: 9.309 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009007/0.03103, allocations: 1.691 MB / 283.7 MB, free: 7.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007276/0.03175, allocations: 1.071 MB / 284.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003366/0.03512, allocations: 4.024 MB / 288.8 MB, free: 2.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.03512, allocations: 4 kB / 288.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.03512, allocations: 0 / 288.8 MB, free: 2.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.03515, allocations: 0 / 288.8 MB, free: 2.496 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.003944/0.0391, allocations: 4.369 MB / 293.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.03913, allocations: 11.98 kB / 293.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.04217, allocations: 1.372 MB / 294.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.04364, allocations: 1.573 MB / 296.2 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.04374, allocations: 209.1 kB / 296.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.04402, allocations: 267.8 kB / 296.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005723/0.04974, allocations: 5.262 MB / 301.9 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-05/0.0498, allocations: 31.69 kB / 301.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002245/0.05003, allocations: 135.9 kB / 302.1 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001364/0.05139, allocations: 1.591 MB / 303.6 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004474/0.05587, allocations: 2.412 MB / 306.1 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02589/0.08176, allocations: 40.37 MB / 346.4 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/0.0855, allocations: 1.814 MB / 348.2 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.08604, allocations: 485.8 kB / 348.7 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004201/0.09024, allocations: 3.634 MB / 352.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.09027, allocations: 46.05 kB / 352.4 MB, free: 448 kB / 330.7 MB Notification: Performance of pre-optimization done (n=135): time 3.015e-06/0.09027, allocations: 0 / 352.4 MB, free: 448 kB / 330.7 MB Notification: Performance of matching and sorting (n=145): time 0.128/0.2183, allocations: 5.448 MB / 357.8 MB, free: 96.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.2183, allocations: 141.3 kB / 358 MB, free: 96.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.2204, allocations: 3.129 MB / 361.1 MB, free: 95.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.2204, allocations: 44.95 kB / 361.2 MB, free: 95.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009336/0.2213, allocations: 3.106 MB / 364.3 MB, free: 93.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.2216, allocations: 0.6204 MB / 364.9 MB, free: 93.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007992/0.2224, allocations: 1.233 MB / 366.1 MB, free: 93.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.2224, allocations: 480.7 kB / 366.6 MB, free: 93.01 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006778/0.2231, allocations: 0.5015 MB / 367.1 MB, free: 92.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.2251, allocations: 5.845 MB / 372.9 MB, free: 86.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/0.2284, allocations: 6.981 MB / 379.9 MB, free: 77.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-05/0.2284, allocations: 39.94 kB / 379.9 MB, free: 77.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=736) (initialization): time 0.003926/0.2323, allocations: 4.54 MB / 384.5 MB, free: 73.71 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.2324, allocations: 60 kB / 384.5 MB, free: 73.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.824e-05/0.2324, allocations: 128 kB / 384.7 MB, free: 73.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.2329, allocations: 301.1 kB / 385 MB, free: 73.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.2346, allocations: 1.271 MB / 386.2 MB, free: 72.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.2359, allocations: 2.476 MB / 388.7 MB, free: 69.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.2375, allocations: 254 kB / 389 MB, free: 69.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/0.2377, allocations: 300 kB / 389.3 MB, free: 69.07 MB / 330.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.000671/0.2384, allocations: 0.6364 MB / 389.9 MB, free: 68.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.2387, allocations: 323.1 kB / 390.2 MB, free: 68.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009002/0.2396, allocations: 0.8627 MB / 391.1 MB, free: 67.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.2396, allocations: 16 kB / 391.1 MB, free: 67.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2396, allocations: 0 / 391.1 MB, free: 67.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2396, allocations: 11.97 kB / 391.1 MB, free: 67.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.2433, allocations: 4.005 MB / 395.1 MB, free: 63.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.2433, allocations: 8 kB / 395.1 MB, free: 63.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.2437, allocations: 204.5 kB / 395.3 MB, free: 62.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.244, allocations: 147.5 kB / 395.5 MB, free: 62.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.244, allocations: 32 kB / 395.5 MB, free: 62.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009645/0.245, allocations: 2.246 MB / 397.7 MB, free: 60.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.245, allocations: 11.94 kB / 397.7 MB, free: 60.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.2464, allocations: 2.031 MB / 399.8 MB, free: 58.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.2467, allocations: 361.8 kB / 400.1 MB, free: 57.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.2469, allocations: 31.98 kB / 400.2 MB, free: 57.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005021/0.2474, allocations: 28 kB / 400.2 MB, free: 57.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.53e-05/0.2475, allocations: 108.3 kB / 400.3 MB, free: 57.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.2476, allocations: 47.98 kB / 400.3 MB, free: 57.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007691/0.2483, allocations: 1.227 MB / 401.6 MB, free: 56.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2483, allocations: 0 / 401.6 MB, free: 56.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00219/0.2505, allocations: 0.8788 MB / 402.4 MB, free: 55.54 MB / 330.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.0002462/0.2508, allocations: 197.8 kB / 402.6 MB, free: 55.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.2528, allocations: 2.531 MB / 405.2 MB, free: 52.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2528, allocations: 4 kB / 405.2 MB, free: 52.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.2532, allocations: 0.5945 MB / 405.8 MB, free: 52.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.2542, allocations: 337 kB / 406.1 MB, free: 51.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005756/0.26, allocations: 6.472 MB / 412.6 MB, free: 45.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/0.2606, allocations: 1.031 MB / 413.6 MB, free: 44.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008744/0.2615, allocations: 447.3 kB / 414 MB, free: 43.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/0.2621, allocations: 0.5137 MB / 414.5 MB, free: 43.24 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.2621, allocations: 0 / 414.5 MB, free: 43.24 MB / 330.7 MB Notification: Performance of Templates: time 0.03171/0.2938, allocations: 24.67 MB / 439.2 MB, free: 18.61 MB / 330.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 -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.9049060260877013]