Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 184.5 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 47.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2402, allocations: 52.15 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01345/0.2536, allocations: 10.37 MB / 431.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009017/0.2626, allocations: 3.913 MB / 435.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.2646, allocations: 59.81 kB / 435.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004787/0.2694, allocations: 2.106 MB / 437.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004596/0.274, allocations: 1.673 MB / 439 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.2758, allocations: 0.6979 MB / 439.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005555/0.2814, allocations: 3.357 MB / 443 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.284, allocations: 2.025 MB / 445.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.286, allocations: 1.265 MB / 446.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.2887, allocations: 1.908 MB / 448.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006215/0.2894, allocations: 263.9 kB / 448.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.2915, allocations: 1.158 MB / 449.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.2931, allocations: 1.613 MB / 451.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002192/0.2953, allocations: 1.864 MB / 453.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007519/0.3029, allocations: 5.958 MB / 459.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3029, allocations: 4 kB / 459.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3029, allocations: 0 / 459.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001169/0.303, allocations: 3.938 kB / 459.1 MB, free: 8.719 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.007838/0.3108, allocations: 4.236 MB / 463.3 MB, free: 4.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3109, allocations: 8.031 kB / 463.3 MB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006489/0.3173, allocations: 1.882 MB / 465.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/0.3213, allocations: 1.918 MB / 467.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.3214, allocations: 205.2 kB / 467.3 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005602/0.322, allocations: 267.8 kB / 467.6 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/0.3404, allocations: 9.977 MB / 477.6 MB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-05/0.3405, allocations: 39.67 kB / 477.6 MB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003841/0.3409, allocations: 131.9 kB / 477.8 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003195/0.3441, allocations: 1.864 MB / 479.6 MB, free: 3.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.3621, allocations: 8.529 MB / 488.1 MB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04729/0.4094, allocations: 36.76 MB / 0.5126 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009816/0.4192, allocations: 3.769 MB / 0.5163 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/0.4218, allocations: 1.704 MB / 0.518 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01167/0.4335, allocations: 7.529 MB / 0.5253 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.4335, allocations: 59.42 kB / 0.5254 GB, free: 7.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.288e-06/0.4335, allocations: 0 / 0.5254 GB, free: 7.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.2512/0.6847, allocations: 17.59 MB / 0.5425 GB, free: 106.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.6848, allocations: 147.2 kB / 0.5427 GB, free: 106.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/0.6885, allocations: 3.49 MB / 0.5461 GB, free: 104.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.6887, allocations: 49.23 kB / 0.5461 GB, free: 104.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.6898, allocations: 2.848 MB / 0.5489 GB, free: 102.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.6903, allocations: 0.6714 MB / 0.5496 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/0.6914, allocations: 1.127 MB / 0.5507 GB, free: 101.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.6914, allocations: 301.1 kB / 0.551 GB, free: 101.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.6936, allocations: 1.952 MB / 0.5529 GB, free: 101 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/0.6968, allocations: 5.369 MB / 0.5581 GB, free: 94.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006273/0.7031, allocations: 7.934 MB / 0.5659 GB, free: 84.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.211e-05/0.7032, allocations: 36.88 kB / 0.5659 GB, free: 84.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01277/0.716, allocations: 8.178 MB / 0.5739 GB, free: 76.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/0.716, allocations: 59.94 kB / 0.5739 GB, free: 76.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.414e-05/0.7161, allocations: 120 kB / 0.5741 GB, free: 76.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003503/0.7196, allocations: 1.296 MB / 0.5753 GB, free: 75.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003276/0.7229, allocations: 1.263 MB / 0.5766 GB, free: 73.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007006/0.7299, allocations: 6.547 MB / 0.5829 GB, free: 67.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/0.7338, allocations: 299.7 kB / 0.5832 GB, free: 66.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004936/0.7343, allocations: 342.4 kB / 0.5836 GB, free: 66.54 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.002017/0.7363, allocations: 1.81 MB / 0.5853 GB, free: 64.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000427/0.7368, allocations: 317.8 kB / 0.5856 GB, free: 64.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005864/0.7426, allocations: 3.356 MB / 0.5889 GB, free: 61.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/0.7427, allocations: 20 kB / 0.5889 GB, free: 61.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.7427, allocations: 4 kB / 0.5889 GB, free: 61.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.7427, allocations: 7.969 kB / 0.5889 GB, free: 61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.7543, allocations: 7.563 MB / 0.5963 GB, free: 53.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.7543, allocations: 0 / 0.5963 GB, free: 53.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.7553, allocations: 247.5 kB / 0.5966 GB, free: 53.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003295/0.7586, allocations: 1.116 MB / 0.5976 GB, free: 52.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.7588, allocations: 27.98 kB / 0.5977 GB, free: 52.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/0.7654, allocations: 6.173 MB / 0.6037 GB, free: 45.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7654, allocations: 0 / 0.6037 GB, free: 45.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007761/0.7732, allocations: 5.719 MB / 0.6093 GB, free: 39.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006307/0.7738, allocations: 370.8 kB / 0.6096 GB, free: 39.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/0.7741, allocations: 24 kB / 0.6097 GB, free: 39.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.7753, allocations: 91.88 kB / 0.6098 GB, free: 39.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.7755, allocations: 92.75 kB / 0.6098 GB, free: 39.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.7756, allocations: 44 kB / 0.6099 GB, free: 39.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002337/0.778, allocations: 2.15 MB / 0.612 GB, free: 37.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.778, allocations: 0 / 0.612 GB, free: 37.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003726/0.7817, allocations: 0.9101 MB / 0.6129 GB, free: 36.29 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.0003251/0.782, allocations: 167.5 kB / 0.613 GB, free: 36.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00583/0.7878, allocations: 4.598 MB / 0.6175 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.7878, allocations: 4.844 kB / 0.6175 GB, free: 31.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.7897, allocations: 1.43 MB / 0.6189 GB, free: 30.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.7918, allocations: 356.5 kB / 0.6193 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.8024, allocations: 8.195 MB / 0.6273 GB, free: 21.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/0.8044, allocations: 2.861 MB / 0.6301 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003099/0.8075, allocations: 1.703 MB / 0.6317 GB, free: 16.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/0.808, allocations: 211.4 kB / 0.6319 GB, free: 16.71 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.808, allocations: 0 / 0.6319 GB, free: 16.71 MB / 446.1 MB Notification: Performance of Templates: time 0.05744/0.8654, allocations: 33.1 MB / 0.6642 GB, free: 15.8 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.169444761238992]