Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00157/0.00157, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001631/0.001631, allocations: 165.7 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.227e-05, allocations: 2.312 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01268/0.0127, allocations: 9.043 MB / 281.4 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00833/0.02103, allocations: 3.695 MB / 285.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008676/0.0219, allocations: 67.69 kB / 285.1 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004288/0.02619, allocations: 2.153 MB / 287.3 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0038/0.02999, allocations: 1.715 MB / 289 MB, free: 1.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.03162, allocations: 0.7444 MB / 289.7 MB, free: 316 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1271/0.1587, allocations: 3.752 MB / 293.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.1623, allocations: 2.525 MB / 296 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.1653, allocations: 1.91 MB / 297.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.168, allocations: 1.885 MB / 299.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005126/0.1685, allocations: 266.6 kB / 300.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001796/0.1703, allocations: 1.052 MB / 301.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.1716, allocations: 1.669 MB / 302.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.1726, allocations: 1.054 MB / 303.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004912/0.1775, allocations: 5.947 MB / 309.8 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1775, allocations: 2.812 kB / 309.8 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1775, allocations: 0.5938 kB / 309.8 MB, free: 9.613 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001092/0.1776, allocations: 0 / 309.8 MB, free: 9.613 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.006236/0.1839, allocations: 4.152 MB / 314 MB, free: 6.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1839, allocations: 11.97 kB / 314 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006588/0.1905, allocations: 2.41 MB / 316.4 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.1934, allocations: 1.846 MB / 318.2 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.1935, allocations: 202.8 kB / 318.4 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004231/0.194, allocations: 272.9 kB / 318.7 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/0.2133, allocations: 10.06 MB / 328.7 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.09e-05/0.2134, allocations: 40.58 kB / 328.8 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003695/0.2138, allocations: 139.5 kB / 328.9 MB, free: 6.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003437/0.2172, allocations: 1.851 MB / 330.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/0.237, allocations: 8.542 MB / 339.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05359/0.2906, allocations: 34.84 MB / 374.2 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.301, allocations: 3.231 MB / 377.4 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002847/0.3038, allocations: 1.682 MB / 379.1 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/0.316, allocations: 6.317 MB / 385.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.563e-05/0.316, allocations: 51.56 kB / 385.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=150): time 4.399e-06/0.316, allocations: 3.562 kB / 385.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=166): time 0.05817/0.3742, allocations: 18.14 MB / 403.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.3743, allocations: 145.5 kB / 403.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/0.3798, allocations: 3.297 MB / 407 MB, free: 8.445 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003436/0.3802, allocations: 49.7 kB / 407.1 MB, free: 8.391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002907/0.3831, allocations: 2.845 MB / 409.9 MB, free: 5.562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.3842, allocations: 0.6562 MB / 410.6 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00185/0.386, allocations: 1.108 MB / 411.7 MB, free: 3.797 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3862, allocations: 305.1 kB / 412 MB, free: 3.496 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003891/0.3901, allocations: 1.971 MB / 413.9 MB, free: 1.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007469/0.3976, allocations: 5.399 MB / 419.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/0.4098, allocations: 7.951 MB / 427.3 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/0.41, allocations: 36 kB / 427.3 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.1455/0.5554, allocations: 8.485 MB / 435.8 MB, free: 117.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.565e-05/0.5555, allocations: 58.16 kB / 435.9 MB, free: 117.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001441/0.5557, allocations: 121.6 kB / 436 MB, free: 117.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004476/0.5601, allocations: 1.398 MB / 437.4 MB, free: 117.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003848/0.564, allocations: 1.281 MB / 438.7 MB, free: 117.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007743/0.5717, allocations: 6.377 MB / 445 MB, free: 114.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/0.5757, allocations: 360.7 kB / 445.4 MB, free: 114.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006544/0.5764, allocations: 339 kB / 445.7 MB, free: 114.1 MB / 378.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.002419/0.5788, allocations: 1.823 MB / 447.6 MB, free: 113.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/0.5794, allocations: 323.1 kB / 447.9 MB, free: 113.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006386/0.5857, allocations: 3.336 MB / 451.2 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.5858, allocations: 19.94 kB / 451.2 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.5858, allocations: 3.562 kB / 451.2 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.5858, allocations: 11.11 kB / 451.2 MB, free: 112.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.5977, allocations: 6.681 MB / 457.9 MB, free: 107.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.5977, allocations: 0 / 457.9 MB, free: 107.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.5988, allocations: 243.7 kB / 458.2 MB, free: 107 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003676/0.6025, allocations: 1.206 MB / 459.4 MB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/0.6027, allocations: 39.58 kB / 459.4 MB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007005/0.6097, allocations: 6.021 MB / 465.4 MB, free: 99.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6097, allocations: 0 / 465.4 MB, free: 99.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008387/0.618, allocations: 5.759 MB / 471.2 MB, free: 94.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007849/0.6188, allocations: 273 kB / 471.4 MB, free: 93.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/0.6191, allocations: 26.75 kB / 471.5 MB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.6205, allocations: 131.8 kB / 471.6 MB, free: 93.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/0.6208, allocations: 92.81 kB / 471.7 MB, free: 93.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.6209, allocations: 43.75 kB / 471.7 MB, free: 93.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002526/0.6234, allocations: 1.885 MB / 473.6 MB, free: 91.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6234, allocations: 3.938 kB / 473.6 MB, free: 91.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004336/0.6278, allocations: 0.9683 MB / 474.6 MB, free: 90.77 MB / 378.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.0004217/0.6282, allocations: 176.5 kB / 474.8 MB, free: 90.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00613/0.6343, allocations: 4.636 MB / 479.4 MB, free: 85.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6343, allocations: 0 / 479.4 MB, free: 85.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.6362, allocations: 1.441 MB / 480.8 MB, free: 84.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.6381, allocations: 329 kB / 481.2 MB, free: 84.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.6494, allocations: 8.177 MB / 489.3 MB, free: 76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/0.6515, allocations: 2.302 MB / 491.6 MB, free: 73.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003249/0.6548, allocations: 1.662 MB / 493.3 MB, free: 72.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005537/0.6553, allocations: 204.5 kB / 493.5 MB, free: 71.81 MB / 378.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6554, allocations: 4 kB / 493.5 MB, free: 71.81 MB / 378.7 MB Notification: Performance of Templates: time 0.04684/0.7022, allocations: 29.02 MB / 0.5103 GB, free: 43.23 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.208025129977614]