Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001526/0.001526, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001619/0.001619, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.83 kB / 378.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2192, allocations: 53.31 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01217/0.2314, allocations: 10.33 MB / 442.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006999/0.2384, allocations: 3.921 MB / 446.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006512/0.2391, allocations: 51.88 kB / 446.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003883/0.2429, allocations: 2.114 MB / 448.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003155/0.2461, allocations: 1.642 MB / 450.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.2474, allocations: 0.6901 MB / 450.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00411/0.2515, allocations: 3.392 MB / 454.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002411/0.2539, allocations: 2.027 MB / 456.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.2554, allocations: 1.254 MB / 457.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.2579, allocations: 1.896 MB / 459.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004396/0.2583, allocations: 260 kB / 459.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.2602, allocations: 1.139 MB / 460.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.2617, allocations: 1.605 MB / 462.4 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.2634, allocations: 1.844 MB / 464.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006196/0.2696, allocations: 5.914 MB / 470.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2696, allocations: 0 / 470.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2696, allocations: 0 / 470.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.751e-05/0.2697, allocations: 0 / 470.1 MB, free: 1.117 MB / 366.1 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.007186/0.2769, allocations: 4.213 MB / 474.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.277, allocations: 8.031 kB / 474.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006792/0.2837, allocations: 1.882 MB / 476.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/0.2877, allocations: 1.89 MB / 478.1 MB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.2879, allocations: 205.2 kB / 478.3 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004827/0.2884, allocations: 275.8 kB / 478.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.3058, allocations: 10 MB / 488.6 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.008e-05/0.3059, allocations: 39.64 kB / 488.6 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003541/0.3063, allocations: 135.9 kB / 488.8 MB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003324/0.3096, allocations: 1.856 MB / 490.6 MB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.3273, allocations: 8.563 MB / 499.2 MB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04497/0.3722, allocations: 36.75 MB / 0.5234 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.3824, allocations: 3.788 MB / 0.5271 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/0.3848, allocations: 1.702 MB / 0.5287 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1897/0.5744, allocations: 7.621 MB / 0.5362 GB, free: 101.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/0.5745, allocations: 50.28 kB / 0.5362 GB, free: 101.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 6.442e-06/0.5745, allocations: 0 / 0.5362 GB, free: 101.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.04785/0.6223, allocations: 17.72 MB / 0.5535 GB, free: 96.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.6224, allocations: 141.5 kB / 0.5537 GB, free: 96.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003149/0.6255, allocations: 3.476 MB / 0.5571 GB, free: 93.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.6256, allocations: 45.7 kB / 0.5571 GB, free: 93.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009445/0.6266, allocations: 2.846 MB / 0.5599 GB, free: 90.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.6269, allocations: 0.6729 MB / 0.5605 GB, free: 89.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/0.6279, allocations: 1.135 MB / 0.5617 GB, free: 88.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.628, allocations: 305.1 kB / 0.5619 GB, free: 88.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.6302, allocations: 1.962 MB / 0.5639 GB, free: 86.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003093/0.6333, allocations: 5.389 MB / 0.5691 GB, free: 79.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005721/0.639, allocations: 7.948 MB / 0.5769 GB, free: 69.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.803e-05/0.639, allocations: 36 kB / 0.5769 GB, free: 69.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01176/0.6508, allocations: 8.2 MB / 0.5849 GB, free: 61.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.6508, allocations: 60 kB / 0.585 GB, free: 61.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.216e-05/0.6509, allocations: 123.9 kB / 0.5851 GB, free: 61.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003641/0.6546, allocations: 1.297 MB / 0.5864 GB, free: 60.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.6578, allocations: 1.267 MB / 0.5876 GB, free: 58.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007126/0.6649, allocations: 6.542 MB / 0.594 GB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/0.6682, allocations: 307.7 kB / 0.5943 GB, free: 51.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003198/0.6685, allocations: 347.9 kB / 0.5946 GB, free: 51.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (685): * Single equations (assignments): 681 * 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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00181/0.6703, allocations: 1.807 MB / 0.5964 GB, free: 49.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/0.6707, allocations: 321.8 kB / 0.5967 GB, free: 49.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006175/0.6769, allocations: 3.377 MB / 0.6 GB, free: 45.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.6769, allocations: 7.969 kB / 0.6 GB, free: 45.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6769, allocations: 0 / 0.6 GB, free: 45.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.6773, allocations: 370.8 kB / 0.6004 GB, free: 45.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003369/0.6777, allocations: 27.36 kB / 0.6004 GB, free: 45.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.6789, allocations: 92.62 kB / 0.6005 GB, free: 45.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.6791, allocations: 104.8 kB / 0.6006 GB, free: 45.29 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006014/0.6851, allocations: 3.664 MB / 0.6041 GB, free: 41.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004474/0.6896, allocations: 4.686 MB / 0.6087 GB, free: 36.93 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00116/0.6907, allocations: 1.108 MB / 0.6098 GB, free: 35.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002203/0.6929, allocations: 2.142 MB / 0.6119 GB, free: 33.69 MB / 446.1 MB Notification: Performance of Backend: time 3.01e-07/0.6929, allocations: 0 / 0.6119 GB, free: 33.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005991/0.6989, allocations: 3.805 MB / 0.6156 GB, free: 29.92 MB / 446.1 MB Notification: Performance of SimCode: time 0.008899/0.7078, allocations: 8.101 MB / 0.6235 GB, free: 21.77 MB / 446.1 MB Notification: Performance of Templates: time 0.06865/0.7765, allocations: 43.43 MB / 0.6659 GB, free: 10.55 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.063339066226035]