Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.0008458/0.0008458, allocations: 88.28 kB / 21.43 MB, free: 3.133 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.003855/0.003855, allocations: 160.1 kB / 24.7 MB, free: 9.418 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.8678/0.8678, allocations: 177 MB / 204.9 MB, free: 5.715 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.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.958e-05, allocations: 3.266 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002455/0.002485, allocations: 2.282 MB / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003971/0.002882, allocations: 227.1 kB / 328.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.852e-05/0.002981, allocations: 11.94 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.003111, allocations: 47.56 kB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.003218, allocations: 91.14 kB / 328.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.003369, allocations: 55.86 kB / 328.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.003577, allocations: 310.3 kB / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.003739, allocations: 70.05 kB / 328.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.003868, allocations: 167.7 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.003978, allocations: 87.7 kB / 329.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.004013, allocations: 24 kB / 329.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.422e-05/0.004037, allocations: 24 kB / 329.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.004071, allocations: 51.77 kB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.004133, allocations: 91.81 kB / 329.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.004373, allocations: 295 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.004376, allocations: 0 / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004377, allocations: 0 / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.004382, allocations: 0 / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005713/0.004953, allocations: 473.6 kB / 330 MB, free: 11.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.005, allocations: 15.98 kB / 330 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.005057, allocations: 32.69 kB / 330.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.00531, allocations: 186.1 kB / 330.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.005328, allocations: 16.88 kB / 330.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.005366, allocations: 32.33 kB / 330.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.005644, allocations: 243.1 kB / 330.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.005659, allocations: 192 / 330.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.005678, allocations: 12.38 kB / 330.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.005686, allocations: 4.375 kB / 330.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.005877, allocations: 159.8 kB / 330.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.006559, allocations: 0.6603 MB / 331.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.006933, allocations: 291.5 kB / 331.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.007094, allocations: 118.5 kB / 331.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.007113, allocations: 7.938 kB / 331.8 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.007134, allocations: 42.5 kB / 331.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.007136, allocations: 0 / 331.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001616/0.008752, allocations: 1.503 MB / 333.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.008805, allocations: 110.8 kB / 333.4 MB, free: 7.352 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.008914, allocations: 170.3 kB / 333.6 MB, free: 7.176 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.008933, allocations: 37.7 kB / 333.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.009002, allocations: 140.8 kB / 333.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.769e-05/0.00908, allocations: 166.6 kB / 333.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.009151, allocations: 70.2 kB / 334 MB, free: 6.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.00924, allocations: 338.8 kB / 334.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.009341, allocations: 88.95 kB / 334.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.009475, allocations: 158.9 kB / 334.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.009737, allocations: 277 kB / 334.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.009738, allocations: 0 / 334.9 MB, free: 5.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003252/0.01006, allocations: 345.5 kB / 335.2 MB, free: 5.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.01008, allocations: 4 kB / 335.2 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.01009, allocations: 4 kB / 335.2 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.0101, allocations: 4.938 kB / 335.2 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.01029, allocations: 95.83 kB / 335.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.0103, allocations: 16.02 kB / 335.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.01035, allocations: 12 kB / 335.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.01037, allocations: 12 kB / 335.3 MB, free: 5.371 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.687e-05/0.01046, allocations: 149.7 kB / 335.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.01051, allocations: 27.86 kB / 335.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.01056, allocations: 37.8 kB / 335.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.01056, allocations: 4 kB / 335.6 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.01057, allocations: 0 / 335.6 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.01058, allocations: 11.86 kB / 335.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008724/0.01145, allocations: 0.9448 MB / 336.5 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.01145, allocations: 4 kB / 336.5 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.01165, allocations: 79.91 kB / 336.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.01165, allocations: 8.031 kB / 336.6 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.01167, allocations: 20.27 kB / 336.6 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.01168, allocations: 11.94 kB / 336.6 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.01168, allocations: 4 kB / 336.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.01219, allocations: 0.7176 MB / 337.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.01222, allocations: 27.91 kB / 337.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.01225, allocations: 12.12 kB / 337.4 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.01236, allocations: 16 kB / 337.4 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.01239, allocations: 35.83 kB / 337.4 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.0124, allocations: 12 kB / 337.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.412e-05/0.01247, allocations: 132.3 kB / 337.6 MB, free: 2.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01247, allocations: 4 kB / 337.6 MB, free: 2.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002746/0.01274, allocations: 76 kB / 337.7 MB, free: 2.918 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001108/0.01285, allocations: 105.4 kB / 337.8 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.01317, allocations: 267.5 kB / 338 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01317, allocations: 0 / 338 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.01329, allocations: 128.5 kB / 338.2 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.01373, allocations: 74.45 kB / 338.2 MB, free: 2.352 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009465/0.01468, allocations: 0.7912 MB / 339 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.01479, allocations: 159.8 kB / 339.2 MB, free: 1.316 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.01485, allocations: 28.5 kB / 339.2 MB, free: 1.289 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01485, allocations: 0 / 339.2 MB, free: 1.289 MB / 298.7 MB Notification: Performance of Templates: time 0.003742/0.01859, allocations: 3.549 MB / 342.7 MB, free: 13.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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: 4.299992670305073]