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.00173/0.00173, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001771/0.001771, allocations: 218.8 kB / 23 MB, free: 5.609 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.412/1.412, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.001871/0.001871, allocations: 67.83 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2385, allocations: 53.33 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01273/0.2513, allocations: 10.33 MB / 440.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008213/0.2595, allocations: 3.925 MB / 444.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.2609, allocations: 55.81 kB / 444.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004138/0.265, allocations: 2.106 MB / 446.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004106/0.2691, allocations: 1.638 MB / 447.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.2707, allocations: 0.6979 MB / 448.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004653/0.2753, allocations: 3.396 MB / 451.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.2779, allocations: 2.011 MB / 454 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.2796, allocations: 1.254 MB / 455.2 MB, free: 14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.2819, allocations: 1.896 MB / 457.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004664/0.2824, allocations: 260 kB / 457.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.2844, allocations: 1.151 MB / 458.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001572/0.286, allocations: 1.597 MB / 460.1 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.2879, allocations: 1.844 MB / 462 MB, free: 7.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006996/0.2949, allocations: 5.913 MB / 467.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2949, allocations: 0 / 467.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2949, allocations: 3.938 kB / 467.9 MB, free: 1.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001253/0.295, allocations: 4 kB / 467.9 MB, free: 1.289 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.007678/0.3027, allocations: 4.205 MB / 472.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3028, allocations: 15.97 kB / 472.1 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00636/0.3091, allocations: 1.878 MB / 474 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003718/0.3128, allocations: 1.894 MB / 475.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.313, allocations: 205.2 kB / 476.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005302/0.3135, allocations: 271.8 kB / 476.3 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01886/0.3324, allocations: 10 MB / 486.3 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.3325, allocations: 43.64 kB / 486.4 MB, free: 13.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004126/0.3329, allocations: 139.8 kB / 486.5 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003241/0.3362, allocations: 1.848 MB / 488.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.3551, allocations: 8.564 MB / 496.9 MB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04505/0.4001, allocations: 36.75 MB / 0.5212 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009899/0.41, allocations: 3.776 MB / 0.5249 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/0.4126, allocations: 1.698 MB / 0.5265 GB, free: 7.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.4241, allocations: 7.628 MB / 0.534 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1961/0.6202, allocations: 49.78 kB / 0.534 GB, free: 103 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.859e-06/0.6202, allocations: 0.7188 kB / 0.534 GB, free: 103 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.04432/0.6645, allocations: 17.72 MB / 0.5513 GB, free: 97.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.6645, allocations: 141.5 kB / 0.5515 GB, free: 97.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.6679, allocations: 3.485 MB / 0.5549 GB, free: 93.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.668, allocations: 45.7 kB / 0.5549 GB, free: 93.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009842/0.669, allocations: 2.849 MB / 0.5577 GB, free: 91.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/0.6694, allocations: 0.6736 MB / 0.5583 GB, free: 90.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.6704, allocations: 1.124 MB / 0.5594 GB, free: 89.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.476e-05/0.6704, allocations: 309.1 kB / 0.5597 GB, free: 89.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.6726, allocations: 1.963 MB / 0.5617 GB, free: 87.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/0.6758, allocations: 5.385 MB / 0.5669 GB, free: 80.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005595/0.6813, allocations: 7.956 MB / 0.5747 GB, free: 70.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.046e-05/0.6814, allocations: 35.56 kB / 0.5747 GB, free: 70.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01123/0.6926, allocations: 8.198 MB / 0.5827 GB, free: 62.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/0.6927, allocations: 56 kB / 0.5828 GB, free: 62.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.713e-05/0.6927, allocations: 120 kB / 0.5829 GB, free: 62.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00346/0.6962, allocations: 1.297 MB / 0.5842 GB, free: 60.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003234/0.6994, allocations: 1.267 MB / 0.5854 GB, free: 59.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00673/0.7062, allocations: 6.551 MB / 0.5918 GB, free: 52.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003679/0.7098, allocations: 303.7 kB / 0.5921 GB, free: 52.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004449/0.7103, allocations: 340 kB / 0.5924 GB, free: 52.16 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.00214/0.7124, allocations: 1.815 MB / 0.5942 GB, free: 50.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/0.7128, allocations: 317.8 kB / 0.5945 GB, free: 50.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005675/0.7185, allocations: 3.369 MB / 0.5978 GB, free: 46.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.7185, allocations: 16 kB / 0.5978 GB, free: 46.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.7185, allocations: 12 kB / 0.5978 GB, free: 46.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.7185, allocations: 7.969 kB / 0.5978 GB, free: 46.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.7293, allocations: 7.584 MB / 0.6052 GB, free: 38.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.7293, allocations: 4 kB / 0.6052 GB, free: 38.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.7303, allocations: 243.7 kB / 0.6055 GB, free: 38.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003144/0.7334, allocations: 1.109 MB / 0.6065 GB, free: 37.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.7336, allocations: 35.98 kB / 0.6066 GB, free: 37.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006472/0.74, allocations: 6.183 MB / 0.6126 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.74, allocations: 3.938 kB / 0.6126 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00779/0.7478, allocations: 5.74 MB / 0.6182 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007298/0.7486, allocations: 366.9 kB / 0.6186 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003235/0.7489, allocations: 23.44 kB / 0.6186 GB, free: 25.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.75, allocations: 107.8 kB / 0.6187 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.7503, allocations: 88.81 kB / 0.6188 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.7504, allocations: 44 kB / 0.6188 GB, free: 24.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002515/0.7529, allocations: 2.153 MB / 0.6209 GB, free: 22.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7529, allocations: 0 / 0.6209 GB, free: 22.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003822/0.7567, allocations: 0.8906 MB / 0.6218 GB, free: 21.84 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.0003382/0.7571, allocations: 162.4 kB / 0.6219 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005678/0.7627, allocations: 4.629 MB / 0.6265 GB, free: 17.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7628, allocations: 0 / 0.6265 GB, free: 17.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.7646, allocations: 1.441 MB / 0.6279 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.7671, allocations: 366.4 kB / 0.6282 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.7785, allocations: 8.207 MB / 0.6362 GB, free: 7.016 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/0.7806, allocations: 2.85 MB / 0.639 GB, free: 4.133 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003102/0.7837, allocations: 1.699 MB / 0.6407 GB, free: 2.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/0.7842, allocations: 219.4 kB / 0.6409 GB, free: 2.219 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7842, allocations: 0 / 0.6409 GB, free: 2.219 MB / 446.1 MB Notification: Performance of Templates: time 0.06456/0.8487, allocations: 32.88 MB / 0.673 GB, free: 1.512 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.279090661555529]