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.001611/0.001611, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.001542/0.001542, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 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.517/1.517, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 59.86 kB / 347.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3056, allocations: 49.15 MB / 396.8 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01079/0.3164, allocations: 9.087 MB / 405.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008402/0.3248, allocations: 3.692 MB / 409.6 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.3266, allocations: 65.84 kB / 409.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00388/0.3305, allocations: 2.033 MB / 411.7 MB, free: 184 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005199/0.3357, allocations: 1.689 MB / 413.4 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.3376, allocations: 0.6951 MB / 414.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005698/0.3433, allocations: 3.388 MB / 417.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00442/0.3478, allocations: 2.22 MB / 419.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.351, allocations: 1.293 MB / 421 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004216/0.3553, allocations: 1.808 MB / 422.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001376/0.3566, allocations: 268 kB / 423.1 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.3601, allocations: 1.01 MB / 424.1 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002679/0.3628, allocations: 1.613 MB / 425.7 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004753/0.3675, allocations: 1.378 MB / 427.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.3786, allocations: 5.998 MB / 433.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.3787, allocations: 0 / 433.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3787, allocations: 0 / 433.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003405/0.379, allocations: 0 / 433.1 MB, free: 14.85 MB / 350.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.01662/0.3956, allocations: 4.168 MB / 437.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.3957, allocations: 11.98 kB / 437.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007841/0.4035, allocations: 1.878 MB / 439.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006486/0.41, allocations: 1.916 MB / 441.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.4103, allocations: 201.2 kB / 441.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/0.4114, allocations: 267.9 kB / 441.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/0.4338, allocations: 10.04 MB / 451.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002271/0.434, allocations: 35.69 kB / 451.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001189/0.4352, allocations: 135.9 kB / 451.7 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003705/0.4389, allocations: 1.848 MB / 453.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02163/0.4605, allocations: 8.528 MB / 462.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05474/0.5153, allocations: 34.64 MB / 496.7 MB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.5256, allocations: 3.065 MB / 499.8 MB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002855/0.5284, allocations: 1.689 MB / 0.4897 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0126/0.541, allocations: 6.21 MB / 0.4958 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/0.5411, allocations: 55.48 kB / 0.4958 GB, free: 2.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 7.203e-06/0.5411, allocations: 4 kB / 0.4959 GB, free: 2.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=166): time 0.05474/0.5958, allocations: 17.43 MB / 0.5129 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.5959, allocations: 145.5 kB / 0.513 GB, free: 0.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005415/0.6014, allocations: 3.252 MB / 0.5162 GB, free: 13.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002522/0.6016, allocations: 49.61 kB / 0.5162 GB, free: 13.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002338/0.6039, allocations: 2.875 MB / 0.519 GB, free: 10.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008203/0.6048, allocations: 0.6745 MB / 0.5197 GB, free: 9.672 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002032/0.6068, allocations: 1.127 MB / 0.5208 GB, free: 8.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.6069, allocations: 305.1 kB / 0.5211 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003355/0.6103, allocations: 1.951 MB / 0.523 GB, free: 6.277 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006543/0.6168, allocations: 5.374 MB / 0.5282 GB, free: 15.19 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.6279, allocations: 7.932 MB / 0.536 GB, free: 5.551 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001369/0.628, allocations: 36 kB / 0.536 GB, free: 5.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01883/0.6468, allocations: 8.137 MB / 0.544 GB, free: 13.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.647, allocations: 64.16 kB / 0.544 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000289/0.6473, allocations: 120 kB / 0.5442 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004487/0.6518, allocations: 1.296 MB / 0.5454 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004348/0.6561, allocations: 1.259 MB / 0.5466 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.6664, allocations: 6.365 MB / 0.5529 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/0.6705, allocations: 299.7 kB / 0.5531 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008871/0.6714, allocations: 343.9 kB / 0.5535 GB, free: 3.531 MB / 478.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.003509/0.6749, allocations: 1.814 MB / 0.5552 GB, free: 1.703 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000708/0.6756, allocations: 282.1 kB / 0.5555 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2179/0.8935, allocations: 3.317 MB / 0.5588 GB, free: 144.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.267e-05/0.8935, allocations: 17.34 kB / 0.5588 GB, free: 144.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/0.8935, allocations: 4.781 kB / 0.5588 GB, free: 144.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.445e-05/0.8936, allocations: 12.42 kB / 0.5588 GB, free: 144.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.9081, allocations: 6.607 MB / 0.5652 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/0.9081, allocations: 1.438 kB / 0.5652 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.9093, allocations: 237.1 kB / 0.5655 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/0.9128, allocations: 1.118 MB / 0.5666 GB, free: 142.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/0.9131, allocations: 32.44 kB / 0.5666 GB, free: 142.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007986/0.921, allocations: 5.987 MB / 0.5724 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.921, allocations: 2 kB / 0.5724 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009971/0.931, allocations: 5.673 MB / 0.578 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/0.9331, allocations: 481.4 kB / 0.5784 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000613/0.9338, allocations: 27.5 kB / 0.5785 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.9349, allocations: 93.02 kB / 0.5786 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.9352, allocations: 93.05 kB / 0.5786 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.9353, allocations: 43.06 kB / 0.5787 GB, free: 137.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002498/0.9378, allocations: 1.841 MB / 0.5805 GB, free: 136.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9378, allocations: 3.938 kB / 0.5805 GB, free: 136.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004221/0.942, allocations: 0.907 MB / 0.5814 GB, free: 136.4 MB / 478.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.0003806/0.9424, allocations: 174 kB / 0.5815 GB, free: 136.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006727/0.9491, allocations: 4.589 MB / 0.586 GB, free: 134.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.9491, allocations: 3.906 kB / 0.586 GB, free: 134.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.951, allocations: 1.434 MB / 0.5874 GB, free: 133.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.953, allocations: 292.7 kB / 0.5877 GB, free: 133.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.9643, allocations: 8.161 MB / 0.5957 GB, free: 125.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002266/0.9666, allocations: 2.305 MB / 0.5979 GB, free: 122.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003462/0.9701, allocations: 1.666 MB / 0.5996 GB, free: 121.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/0.9706, allocations: 203.4 kB / 0.5997 GB, free: 120.9 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.9706, allocations: 0 / 0.5997 GB, free: 120.9 MB / 478.1 MB Notification: Performance of Templates: time 0.04972/1.02, allocations: 31.66 MB / 0.6307 GB, free: 89.23 MB / 478.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] 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.780806681141257]