Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001421/0.001421, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001532/0.001532, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.88 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2711, allocations: 53.41 MB / 431.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01324/0.2843, allocations: 9.034 MB / 440.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009261/0.2936, allocations: 3.676 MB / 444.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.2949, allocations: 63.75 kB / 444.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004347/0.2992, allocations: 2.028 MB / 446.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004186/0.3034, allocations: 1.65 MB / 448.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.3051, allocations: 0.6979 MB / 448.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004522/0.3096, allocations: 3.396 MB / 452.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.3125, allocations: 2.198 MB / 454.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.3145, allocations: 1.269 MB / 455.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/0.317, allocations: 1.798 MB / 457.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000519/0.3175, allocations: 260 kB / 457.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.3195, allocations: 1.006 MB / 458.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001574/0.3211, allocations: 1.601 MB / 460.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.3227, allocations: 1.367 MB / 461.7 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007014/0.3297, allocations: 5.937 MB / 467.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3297, allocations: 0 / 467.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3297, allocations: 0 / 467.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001125/0.3298, allocations: 0 / 467.6 MB, free: 2.383 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.008202/0.338, allocations: 4.133 MB / 471.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3381, allocations: 15.92 kB / 471.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006842/0.3449, allocations: 1.878 MB / 473.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004533/0.3495, allocations: 1.838 MB / 475.5 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.3496, allocations: 205.2 kB / 475.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005407/0.3502, allocations: 271.8 kB / 476 MB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.3707, allocations: 10.05 MB / 486 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.3708, allocations: 43.64 kB / 486 MB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/0.3712, allocations: 135.9 kB / 486.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003237/0.3744, allocations: 1.848 MB / 488 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01976/0.3942, allocations: 8.548 MB / 496.6 MB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04691/0.4411, allocations: 34.65 MB / 0.5188 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00969/0.4508, allocations: 3.098 MB / 0.5218 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/0.4532, allocations: 1.697 MB / 0.5235 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.4648, allocations: 6.21 MB / 0.5295 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.4648, allocations: 47.56 kB / 0.5296 GB, free: 5.801 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.508e-06/0.4648, allocations: 0 / 0.5296 GB, free: 5.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.2498/0.7147, allocations: 17.53 MB / 0.5467 GB, free: 99.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.7147, allocations: 149 kB / 0.5468 GB, free: 99.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/0.7176, allocations: 3.22 MB / 0.55 GB, free: 97.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.7177, allocations: 56.66 kB / 0.55 GB, free: 97.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009538/0.7187, allocations: 2.871 MB / 0.5528 GB, free: 95.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/0.7191, allocations: 0.676 MB / 0.5535 GB, free: 95.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/0.7201, allocations: 1.125 MB / 0.5546 GB, free: 94.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.459e-05/0.7201, allocations: 304.9 kB / 0.5549 GB, free: 94.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/0.7224, allocations: 1.966 MB / 0.5568 GB, free: 92.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.7255, allocations: 5.385 MB / 0.5621 GB, free: 85.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005715/0.7312, allocations: 7.951 MB / 0.5698 GB, free: 75.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.223e-05/0.7313, allocations: 36 kB / 0.5699 GB, free: 75.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01139/0.7427, allocations: 8.166 MB / 0.5778 GB, free: 67.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.277e-05/0.7427, allocations: 56 kB / 0.5779 GB, free: 67.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.155e-05/0.7428, allocations: 120 kB / 0.578 GB, free: 67.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003568/0.7464, allocations: 1.299 MB / 0.5793 GB, free: 66.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00339/0.7498, allocations: 1.268 MB / 0.5805 GB, free: 64.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007092/0.7568, allocations: 6.36 MB / 0.5867 GB, free: 58.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003817/0.7607, allocations: 314.9 kB / 0.587 GB, free: 58.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00049/0.7612, allocations: 346.2 kB / 0.5873 GB, free: 57.8 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.00236/0.7635, allocations: 1.803 MB / 0.5891 GB, free: 55.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/0.7639, allocations: 286.1 kB / 0.5894 GB, free: 55.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005901/0.7698, allocations: 3.335 MB / 0.5926 GB, free: 52.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.7699, allocations: 20 kB / 0.5927 GB, free: 52.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.7699, allocations: 8 kB / 0.5927 GB, free: 52.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.7699, allocations: 7.969 kB / 0.5927 GB, free: 52.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.7819, allocations: 6.621 MB / 0.5991 GB, free: 45.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.7819, allocations: 0 / 0.5991 GB, free: 45.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.783, allocations: 251.6 kB / 0.5994 GB, free: 45.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003287/0.7863, allocations: 1.115 MB / 0.6005 GB, free: 44.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.7864, allocations: 27.98 kB / 0.6005 GB, free: 44.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006702/0.7931, allocations: 5.991 MB / 0.6063 GB, free: 38.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7931, allocations: 4.062 kB / 0.6063 GB, free: 38.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008163/0.8013, allocations: 5.713 MB / 0.6119 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006278/0.8019, allocations: 250 kB / 0.6122 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/0.8022, allocations: 23.98 kB / 0.6122 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.8034, allocations: 95.88 kB / 0.6123 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.8036, allocations: 92.75 kB / 0.6124 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.8037, allocations: 48 kB / 0.6124 GB, free: 31.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.8057, allocations: 1.822 MB / 0.6142 GB, free: 30.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8057, allocations: 0 / 0.6142 GB, free: 30.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003694/0.8094, allocations: 0.8981 MB / 0.6151 GB, free: 29.25 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.0003349/0.8098, allocations: 154.9 kB / 0.6152 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005912/0.8157, allocations: 4.629 MB / 0.6197 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8157, allocations: 0 / 0.6197 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.8175, allocations: 1.441 MB / 0.6211 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.8192, allocations: 305.8 kB / 0.6214 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.8302, allocations: 8.15 MB / 0.6294 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.8324, allocations: 2.296 MB / 0.6316 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003207/0.8356, allocations: 1.654 MB / 0.6333 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.8361, allocations: 203.4 kB / 0.6334 GB, free: 10.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8361, allocations: 0 / 0.6334 GB, free: 10.36 MB / 446.1 MB Notification: Performance of Templates: time 0.05914/0.8952, allocations: 31.38 MB / 0.6641 GB, free: 11.38 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.4064490012824535]