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.001689/0.001689, allocations: 87.61 kB / 21.44 MB, free: 272 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.001536/0.001536, allocations: 160.5 kB / 24.7 MB, free: 3.527 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.396/1.396, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.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: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.547e-05, allocations: 2.281 kB / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01154/0.01158, allocations: 9.088 MB / 308.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008525/0.0201, allocations: 3.684 MB / 311.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.02174, allocations: 63.69 kB / 311.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004573/0.02631, allocations: 2.133 MB / 313.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004903/0.03121, allocations: 1.746 MB / 315.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.03308, allocations: 0.7366 MB / 316.4 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006082/0.03917, allocations: 3.754 MB / 320.2 MB, free: 3.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003662/0.04283, allocations: 2.472 MB / 322.6 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1762/0.219, allocations: 1.929 MB / 324.6 MB, free: 16.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003178/0.2222, allocations: 1.903 MB / 326.5 MB, free: 16.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000604/0.2228, allocations: 266.1 kB / 326.7 MB, free: 16.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.2249, allocations: 1.055 MB / 327.8 MB, free: 16.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.2267, allocations: 1.691 MB / 329.5 MB, free: 16.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.2287, allocations: 1.073 MB / 330.6 MB, free: 16.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.239, allocations: 6.004 MB / 336.6 MB, free: 16.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.239, allocations: 0 / 336.6 MB, free: 16.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.239, allocations: 0.625 kB / 336.6 MB, free: 16.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002296/0.2392, allocations: 0 / 336.6 MB, free: 16.06 MB / 302.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.01168/0.2509, allocations: 4.184 MB / 340.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.251, allocations: 13.55 kB / 340.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007577/0.2586, allocations: 1.969 MB / 342.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/0.2633, allocations: 1.872 MB / 344.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.2635, allocations: 205.1 kB / 344.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006258/0.2641, allocations: 278.1 kB / 345.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.2823, allocations: 10.03 MB / 355.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.2824, allocations: 40.3 kB / 355.1 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/0.2827, allocations: 134.1 kB / 355.3 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002641/0.2854, allocations: 1.855 MB / 357.1 MB, free: 2.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.3034, allocations: 8.516 MB / 365.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05083/0.3543, allocations: 34.75 MB / 400.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.365, allocations: 3.198 MB / 403.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002781/0.3678, allocations: 1.685 MB / 405.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/0.3799, allocations: 6.316 MB / 411.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.543e-05/0.38, allocations: 50.84 kB / 411.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=150): time 5.33e-06/0.38, allocations: 0 / 411.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=166): time 0.05778/0.4378, allocations: 18 MB / 429.6 MB, free: 9.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/0.4379, allocations: 145.5 kB / 429.8 MB, free: 9.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006092/0.4439, allocations: 3.353 MB / 433.1 MB, free: 6.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000511/0.4445, allocations: 48.36 kB / 433.2 MB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002611/0.4471, allocations: 2.842 MB / 436 MB, free: 3.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.4482, allocations: 0.666 MB / 436.7 MB, free: 2.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001891/0.4501, allocations: 1.108 MB / 437.8 MB, free: 1.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4503, allocations: 301.1 kB / 438.1 MB, free: 1.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003434/0.4537, allocations: 1.959 MB / 440.1 MB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00647/0.4602, allocations: 5.385 MB / 445.4 MB, free: 8.402 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/0.4712, allocations: 7.944 MB / 453.4 MB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-05/0.4713, allocations: 32 kB / 453.4 MB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01801/0.4893, allocations: 8.164 MB / 461.6 MB, free: 6.688 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.703e-05/0.4894, allocations: 59.94 kB / 461.6 MB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/0.4896, allocations: 124 kB / 461.8 MB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004354/0.4939, allocations: 1.3 MB / 463.1 MB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004433/0.4983, allocations: 1.267 MB / 464.3 MB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.5089, allocations: 6.358 MB / 470.7 MB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00532/0.5142, allocations: 351.7 kB / 471 MB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008304/0.5151, allocations: 344 kB / 471.4 MB, free: 12.8 MB / 430.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.003916/0.519, allocations: 1.813 MB / 473.2 MB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007125/0.5197, allocations: 286.2 kB / 473.5 MB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00828/0.528, allocations: 3.319 MB / 476.8 MB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/0.528, allocations: 23.98 kB / 476.8 MB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.528, allocations: 4 kB / 476.8 MB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.528, allocations: 4.453 kB / 476.8 MB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/0.5448, allocations: 6.663 MB / 483.5 MB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.5448, allocations: 0 / 483.5 MB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/0.546, allocations: 247.6 kB / 483.7 MB, free: 392 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.16/0.7061, allocations: 1.109 MB / 484.8 MB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003671/0.7064, allocations: 33.42 kB / 484.9 MB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008538/0.715, allocations: 5.996 MB / 490.9 MB, free: 140 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.715, allocations: 4.312 kB / 490.9 MB, free: 140 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009755/0.7247, allocations: 5.681 MB / 496.5 MB, free: 138.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.726, allocations: 0.498 MB / 497 MB, free: 138 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/0.7263, allocations: 27.38 kB / 497.1 MB, free: 138 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.7277, allocations: 134.5 kB / 497.2 MB, free: 137.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002971/0.728, allocations: 87.88 kB / 497.3 MB, free: 137.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.7282, allocations: 45.36 kB / 497.3 MB, free: 137.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002801/0.731, allocations: 1.927 MB / 499.3 MB, free: 137.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.731, allocations: 0 / 499.3 MB, free: 137.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004101/0.7351, allocations: 0.9945 MB / 0.4885 GB, free: 137.2 MB / 430.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.0004677/0.7355, allocations: 188.5 kB / 0.4887 GB, free: 137.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00606/0.7416, allocations: 4.606 MB / 0.4932 GB, free: 135.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7416, allocations: 0 / 0.4932 GB, free: 135.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.7433, allocations: 1.435 MB / 0.4946 GB, free: 135 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.7451, allocations: 307.4 kB / 0.4949 GB, free: 134.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.7586, allocations: 8.077 MB / 0.5028 GB, free: 128.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/0.7608, allocations: 2.308 MB / 0.505 GB, free: 126.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003315/0.7641, allocations: 1.669 MB / 0.5067 GB, free: 125.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/0.7647, allocations: 201.9 kB / 0.5069 GB, free: 125.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.493e-06/0.7647, allocations: 0 / 0.5069 GB, free: 125.6 MB / 430.1 MB Notification: Performance of Templates: time 0.05264/0.8174, allocations: 29.29 MB / 0.5355 GB, free: 96.63 MB / 430.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.39357378333807]