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.001629/0.001629, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002228/0.002228, allocations: 209.4 kB / 24.47 MB, free: 4.023 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.52/1.52, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.002078/0.002078, allocations: 63.89 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3215, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01329/0.3348, allocations: 10.34 MB / 442.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008271/0.3431, allocations: 3.925 MB / 446.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.3447, allocations: 55.88 kB / 446.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004273/0.349, allocations: 2.11 MB / 448.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005023/0.354, allocations: 1.634 MB / 450.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.3559, allocations: 0.7018 MB / 450.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005965/0.3619, allocations: 3.393 MB / 454.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003126/0.365, allocations: 2.011 MB / 456.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.3671, allocations: 1.25 MB / 457.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002991/0.3701, allocations: 1.904 MB / 459.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006691/0.3708, allocations: 263.9 kB / 459.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.373, allocations: 1.143 MB / 460.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001721/0.3747, allocations: 1.601 MB / 462.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002129/0.3769, allocations: 1.844 MB / 464.2 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007894/0.3847, allocations: 5.906 MB / 470.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3847, allocations: 0 / 470.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3848, allocations: 4 kB / 470.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001656/0.3849, allocations: 3.938 kB / 470.1 MB, free: 1.141 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.009043/0.394, allocations: 4.213 MB / 474.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.394, allocations: 12.03 kB / 474.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007276/0.4013, allocations: 1.874 MB / 476.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004931/0.4062, allocations: 1.89 MB / 478.1 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.4064, allocations: 213.2 kB / 478.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007782/0.4072, allocations: 267.8 kB / 478.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/0.4281, allocations: 10.01 MB / 488.6 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.4282, allocations: 47.58 kB / 488.6 MB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004032/0.4286, allocations: 135.9 kB / 488.8 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003485/0.4321, allocations: 1.848 MB / 490.6 MB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01994/0.4521, allocations: 8.56 MB / 499.2 MB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05093/0.503, allocations: 36.76 MB / 0.5234 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.5133, allocations: 3.772 MB / 0.5271 GB, free: 9.496 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/0.5159, allocations: 1.701 MB / 0.5287 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2421/0.758, allocations: 7.62 MB / 0.5362 GB, free: 101.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.7581, allocations: 53.75 kB / 0.5362 GB, free: 101.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 5.099e-06/0.7581, allocations: 0 / 0.5362 GB, free: 101.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.06512/0.8232, allocations: 17.72 MB / 0.5535 GB, free: 96.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.8233, allocations: 141.5 kB / 0.5537 GB, free: 96.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005298/0.8285, allocations: 3.481 MB / 0.5571 GB, free: 93.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004567/0.829, allocations: 49.7 kB / 0.5571 GB, free: 93.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.8306, allocations: 2.846 MB / 0.5599 GB, free: 90.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006549/0.8313, allocations: 0.6764 MB / 0.5606 GB, free: 89.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001565/0.8329, allocations: 1.12 MB / 0.5616 GB, free: 88.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.8329, allocations: 301.1 kB / 0.5619 GB, free: 88.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003466/0.8364, allocations: 1.963 MB / 0.5639 GB, free: 86.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004764/0.8411, allocations: 5.393 MB / 0.5691 GB, free: 79.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009514/0.8507, allocations: 7.954 MB / 0.5769 GB, free: 69.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.8508, allocations: 32 kB / 0.5769 GB, free: 69.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.02091/0.8717, allocations: 8.195 MB / 0.5849 GB, free: 61.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.82e-05/0.8718, allocations: 62.78 kB / 0.585 GB, free: 61.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/0.8719, allocations: 124 kB / 0.5851 GB, free: 61.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005869/0.8778, allocations: 1.3 MB / 0.5864 GB, free: 60.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0061/0.8839, allocations: 1.267 MB / 0.5876 GB, free: 58.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.8953, allocations: 6.55 MB / 0.594 GB, free: 52.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007192/0.9024, allocations: 303.7 kB / 0.5943 GB, free: 51.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/0.9036, allocations: 343.5 kB / 0.5946 GB, free: 51.48 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.003959/0.9076, allocations: 1.815 MB / 0.5964 GB, free: 49.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008016/0.9084, allocations: 321.8 kB / 0.5967 GB, free: 49.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.9184, allocations: 3.365 MB / 0.6 GB, free: 45.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.515e-05/0.9185, allocations: 20 kB / 0.6 GB, free: 45.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/0.9185, allocations: 4 kB / 0.6 GB, free: 45.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.9185, allocations: 4.453 kB / 0.6 GB, free: 45.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02084/0.9393, allocations: 7.584 MB / 0.6074 GB, free: 38.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/0.9394, allocations: 0 / 0.6074 GB, free: 38.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001898/0.9413, allocations: 243.7 kB / 0.6076 GB, free: 38.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00581/0.9471, allocations: 1.12 MB / 0.6087 GB, free: 36.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/0.9473, allocations: 27.94 kB / 0.6088 GB, free: 36.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.958, allocations: 6.184 MB / 0.6148 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.958, allocations: 0 / 0.6148 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/0.9723, allocations: 5.747 MB / 0.6204 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.9735, allocations: 366.9 kB / 0.6208 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009272/0.9744, allocations: 23.98 kB / 0.6208 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/0.977, allocations: 99.88 kB / 0.6209 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004062/0.9774, allocations: 92.94 kB / 0.621 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002025/0.9776, allocations: 44 kB / 0.621 GB, free: 24.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004912/0.9825, allocations: 2.149 MB / 0.6231 GB, free: 22.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9825, allocations: 0 / 0.6231 GB, free: 22.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007736/0.9902, allocations: 0.8906 MB / 0.624 GB, free: 21.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (129): * Single equations (assignments): 125 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006407/0.9909, allocations: 173.4 kB / 0.6242 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01046/1.001, allocations: 4.622 MB / 0.6287 GB, free: 16.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.001, allocations: 0 / 0.6287 GB, free: 16.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003459/1.005, allocations: 1.456 MB / 0.6301 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/1.009, allocations: 354.4 kB / 0.6304 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/1.032, allocations: 8.206 MB / 0.6384 GB, free: 6.316 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005547/1.037, allocations: 2.843 MB / 0.6412 GB, free: 3.441 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006461/1.044, allocations: 1.699 MB / 0.6429 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.045, allocations: 219.4 kB / 0.6431 GB, free: 1.527 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/1.045, allocations: 0 / 0.6431 GB, free: 1.527 MB / 446.1 MB Notification: Performance of Templates: time 0.08046/1.125, allocations: 32.9 MB / 0.6752 GB, free: 0.8633 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 -s cvode -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.699003347195685]