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.002304/0.002304, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002679/0.002679, allocations: 170.3 kB / 25.03 MB, free: 8.43 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 1.379/1.379, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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 6.151e-06/6.151e-06, allocations: 4 kB / 250.4 MB, free: 3.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/3.233e-05, allocations: 2.312 kB / 250.4 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01533/0.01536, allocations: 10.01 MB / 260.4 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009084/0.02444, allocations: 3.782 MB / 264.2 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.02609, allocations: 67.69 kB / 264.2 MB, free: 5.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005103/0.03119, allocations: 2.223 MB / 266.5 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0052/0.03639, allocations: 1.75 MB / 268.2 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.03843, allocations: 0.7521 MB / 269 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005972/0.0444, allocations: 3.726 MB / 272.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004064/0.04847, allocations: 2.563 MB / 275.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/0.05243, allocations: 1.945 MB / 277.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00382/0.05625, allocations: 1.921 MB / 279.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008242/0.05708, allocations: 264 kB / 279.4 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.05955, allocations: 1.069 MB / 280.5 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002383/0.06194, allocations: 1.702 MB / 282.2 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002108/0.06404, allocations: 1.079 MB / 283.2 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009355/0.0734, allocations: 6.004 MB / 289.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.07341, allocations: 7.922 kB / 289.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.07341, allocations: 0 / 289.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002267/0.07363, allocations: 4 kB / 289.2 MB, free: 12.88 MB / 282.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.01162/0.08526, allocations: 4.904 MB / 294.2 MB, free: 7.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.08532, allocations: 11.98 kB / 294.2 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0089/0.09422, allocations: 2.335 MB / 296.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005569/0.09979, allocations: 1.743 MB / 298.2 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.1, allocations: 205.1 kB / 298.4 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.1011, allocations: 271.9 kB / 298.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1271/0.2282, allocations: 6.957 MB / 305.7 MB, free: 51.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.2283, allocations: 38.45 kB / 305.7 MB, free: 51.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003814/0.2287, allocations: 132.9 kB / 305.8 MB, free: 51.19 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003234/0.2319, allocations: 1.859 MB / 307.7 MB, free: 50.95 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.2456, allocations: 4.23 MB / 311.9 MB, free: 50.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03733/0.283, allocations: 43.81 MB / 355.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007644/0.2906, allocations: 2.21 MB / 357.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.2917, allocations: 0.6653 MB / 358.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008397/0.3001, allocations: 4.677 MB / 363.3 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3002, allocations: 54.33 kB / 363.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=150): time 4.449e-06/0.3002, allocations: 3.938 kB / 363.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of matching and sorting (n=166): time 0.05422/0.3544, allocations: 13.66 MB / 377 MB, free: 3.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.3545, allocations: 141.5 kB / 377.1 MB, free: 3.172 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006561/0.3611, allocations: 3.766 MB / 380.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003694/0.3615, allocations: 51.97 kB / 381 MB, free: 15.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003203/0.3647, allocations: 3.159 MB / 384.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.3659, allocations: 0.7312 MB / 384.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002252/0.3681, allocations: 1.412 MB / 386.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.3684, allocations: 476.8 kB / 386.7 MB, free: 9.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.3704, allocations: 0.7409 MB / 387.5 MB, free: 8.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007563/0.3779, allocations: 5.977 MB / 393.4 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.389, allocations: 7.398 MB / 400.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/0.3891, allocations: 43.94 kB / 400.9 MB, free: 6.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01526/0.4044, allocations: 5.785 MB / 406.7 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.4045, allocations: 60 kB / 406.7 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/0.4047, allocations: 120 kB / 406.8 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004383/0.4091, allocations: 0.9519 MB / 407.8 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004364/0.4134, allocations: 1.267 MB / 409.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00773/0.4212, allocations: 3.773 MB / 412.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004744/0.4259, allocations: 347.5 kB / 413.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008009/0.4267, allocations: 340 kB / 413.5 MB, free: 9.965 MB / 346.7 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.001883/0.4286, allocations: 0.7046 MB / 414.2 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007682/0.4293, allocations: 322.1 kB / 414.5 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00673/0.4361, allocations: 2.054 MB / 416.6 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/0.4361, allocations: 18.89 kB / 416.6 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.065e-05/0.4361, allocations: 15.92 kB / 416.6 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.4362, allocations: 7.984 kB / 416.6 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/0.4535, allocations: 5.976 MB / 422.6 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.556e-05/0.4535, allocations: 7.875 kB / 422.6 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.4549, allocations: 239.7 kB / 422.8 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003955/0.4589, allocations: 0.7744 MB / 423.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002636/0.4591, allocations: 35.94 kB / 423.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00721/0.4663, allocations: 3.474 MB / 427.1 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4664, allocations: 3.938 kB / 427.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00927/0.4756, allocations: 3.201 MB / 430.3 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/0.4777, allocations: 477.8 kB / 430.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004174/0.4781, allocations: 24 kB / 430.8 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.4795, allocations: 123.8 kB / 430.9 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/0.4798, allocations: 112.7 kB / 431 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.48, allocations: 47.98 kB / 431.1 MB, free: 8.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002972/0.483, allocations: 1.526 MB / 432.6 MB, free: 6.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.483, allocations: 0 / 432.6 MB, free: 6.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004812/0.4878, allocations: 0.9921 MB / 433.6 MB, free: 5.621 MB / 362.7 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.0005803/0.4883, allocations: 198.8 kB / 433.8 MB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00805/0.4964, allocations: 3.328 MB / 437.1 MB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.4964, allocations: 4 kB / 437.1 MB, free: 2.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.4985, allocations: 0.9515 MB / 438.1 MB, free: 1.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.5009, allocations: 314.8 kB / 438.4 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1339/0.6347, allocations: 6.645 MB / 445 MB, free: 111.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003295/0.638, allocations: 2.09 MB / 447.1 MB, free: 110.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00363/0.6416, allocations: 1.444 MB / 448.6 MB, free: 110.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006843/0.6423, allocations: 210 kB / 448.8 MB, free: 110.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.873e-06/0.6423, allocations: 0 / 448.8 MB, free: 110.7 MB / 362.7 MB Notification: Performance of Templates: time 0.06516/0.7075, allocations: 29.59 MB / 478.4 MB, free: 91.21 MB / 362.7 MB " [Timeout remaining time 659] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.348550358088687]