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.0009145/0.0009145, allocations: 84.34 kB / 21.44 MB, free: 3.117 MB / 18.57 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.00436/0.00436, allocations: 153.5 kB / 24.69 MB, free: 9.438 MB / 18.57 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 0.8995/0.8995, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.694e-06/1.694e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.283e-05, allocations: 7.203 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.006668/0.006691, allocations: 9.046 MB / 334.8 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005388/0.01208, allocations: 3.687 MB / 338.5 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000786/0.01287, allocations: 67.69 kB / 338.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.01498, allocations: 2.133 MB / 340.7 MB, free: 388 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.01741, allocations: 1.711 MB / 342.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009535/0.01836, allocations: 0.7249 MB / 343.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002372/0.02074, allocations: 3.776 MB / 346.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.02242, allocations: 2.465 MB / 349.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.02383, allocations: 1.914 MB / 351.3 MB, free: 5.711 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.02524, allocations: 1.878 MB / 353.2 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.02548, allocations: 268 kB / 353.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.02651, allocations: 1.053 MB / 354.5 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009651/0.02747, allocations: 1.667 MB / 356.2 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007868/0.02826, allocations: 1.051 MB / 357.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004715/0.03297, allocations: 5.938 MB / 363.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.03298, allocations: 0 / 363.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.03298, allocations: 0 / 363.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001382/0.03312, allocations: 4 kB / 363.2 MB, free: 9.824 MB / 330.7 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.006652/0.03977, allocations: 4.149 MB / 367.3 MB, free: 5.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.03982, allocations: 11.98 kB / 367.3 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005048/0.04486, allocations: 1.913 MB / 369.2 MB, free: 3.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/0.04776, allocations: 1.826 MB / 371.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/0.04791, allocations: 213.1 kB / 371.3 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004239/0.04833, allocations: 267.8 kB / 371.5 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/0.06218, allocations: 10.07 MB / 381.6 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.804e-05/0.06227, allocations: 43.64 kB / 381.6 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003516/0.06263, allocations: 135.9 kB / 381.8 MB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002456/0.06508, allocations: 1.848 MB / 383.6 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/0.07643, allocations: 8.555 MB / 392.2 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02494/0.1014, allocations: 34.75 MB / 426.9 MB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/0.1069, allocations: 3.239 MB / 430.2 MB, free: 4.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.1084, allocations: 1.693 MB / 431.9 MB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006695/0.1151, allocations: 6.324 MB / 438.2 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.1151, allocations: 51.5 kB / 438.2 MB, free: 12.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.519e-06/0.1151, allocations: 0 / 438.2 MB, free: 12.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=166): time 0.1789/0.294, allocations: 18.08 MB / 456.3 MB, free: 113.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.294, allocations: 148.7 kB / 456.5 MB, free: 113.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.2965, allocations: 3.302 MB / 459.8 MB, free: 112.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.2966, allocations: 45.58 kB / 459.8 MB, free: 112.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/0.2973, allocations: 2.844 MB / 462.7 MB, free: 110.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.2976, allocations: 0.6631 MB / 463.3 MB, free: 109.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007102/0.2983, allocations: 1.104 MB / 464.4 MB, free: 109.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.602e-05/0.2983, allocations: 310.4 kB / 464.7 MB, free: 109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.2999, allocations: 1.962 MB / 466.7 MB, free: 108.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.3022, allocations: 5.394 MB / 472.1 MB, free: 103 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.3064, allocations: 7.953 MB / 480 MB, free: 93.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.77e-05/0.3065, allocations: 36 kB / 480.1 MB, free: 93.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.007314/0.3138, allocations: 8.152 MB / 488.2 MB, free: 85.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.3138, allocations: 60 kB / 488.3 MB, free: 85.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.376e-05/0.3139, allocations: 120 kB / 488.4 MB, free: 85.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.3158, allocations: 1.297 MB / 489.7 MB, free: 84.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.3174, allocations: 1.267 MB / 491 MB, free: 83.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004574/0.322, allocations: 6.369 MB / 497.3 MB, free: 76.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.3241, allocations: 342.2 kB / 497.7 MB, free: 76.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/0.3243, allocations: 340 kB / 498 MB, free: 75.93 MB / 410.7 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.00165/0.3259, allocations: 1.81 MB / 499.8 MB, free: 74.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.3261, allocations: 285 kB / 0.4884 GB, free: 73.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/0.3295, allocations: 3.35 MB / 0.4916 GB, free: 70.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.3295, allocations: 16 kB / 0.4916 GB, free: 70.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.3296, allocations: 4 kB / 0.4917 GB, free: 70.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3296, allocations: 7.984 kB / 0.4917 GB, free: 70.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006661/0.3362, allocations: 6.669 MB / 0.4982 GB, free: 63.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3362, allocations: 8 kB / 0.4982 GB, free: 63.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.3368, allocations: 247.6 kB / 0.4984 GB, free: 63.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/0.3385, allocations: 1.119 MB / 0.4995 GB, free: 62.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.3385, allocations: 24 kB / 0.4995 GB, free: 62.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004284/0.3428, allocations: 6.011 MB / 0.5054 GB, free: 56.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3428, allocations: 3.984 kB / 0.5054 GB, free: 56.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/0.3477, allocations: 5.695 MB / 0.511 GB, free: 50.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.3481, allocations: 277.9 kB / 0.5112 GB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.3483, allocations: 20 kB / 0.5113 GB, free: 50.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/0.3489, allocations: 127.8 kB / 0.5114 GB, free: 50.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.3491, allocations: 99.56 kB / 0.5115 GB, free: 50.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/0.3491, allocations: 47.03 kB / 0.5115 GB, free: 49.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001484/0.3506, allocations: 1.885 MB / 0.5134 GB, free: 48.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3506, allocations: 0 / 0.5134 GB, free: 48.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002795/0.3534, allocations: 0.9648 MB / 0.5143 GB, free: 47.13 MB / 410.7 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.000297/0.3537, allocations: 172.8 kB / 0.5145 GB, free: 46.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003906/0.3576, allocations: 4.632 MB / 0.519 GB, free: 42.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3576, allocations: 0 / 0.519 GB, free: 42.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.3588, allocations: 1.437 MB / 0.5204 GB, free: 40.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.3599, allocations: 314.7 kB / 0.5207 GB, free: 40.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008436/0.3683, allocations: 8.44 MB / 0.5289 GB, free: 32.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/0.3697, allocations: 2.305 MB / 0.5312 GB, free: 29.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004419/0.3702, allocations: 248.5 kB / 0.5314 GB, free: 29.53 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3702, allocations: 0 / 0.5314 GB, free: 29.53 MB / 410.7 MB Notification: Performance of Templates: time 0.05288/0.423, allocations: 66.51 MB / 0.5964 GB, free: 11.09 MB / 458.7 MB " [Timeout remaining time 660] 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: 7.645535064861178]