Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.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.001451/0.001451, allocations: 92.62 kB / 20.96 MB, free: 3.469 MB / 18.57 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.00147/0.00147, allocations: 149.4 kB / 24.25 MB, free: 180 kB / 18.57 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.431/1.431, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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.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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.574e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.006608/0.006644, allocations: 2.267 MB / 269.6 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007372/0.007381, allocations: 243 kB / 269.8 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.007516, allocations: 7.938 kB / 269.8 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.007678, allocations: 43.58 kB / 269.9 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.007865, allocations: 91.2 kB / 269.9 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.008047, allocations: 63.78 kB / 270 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003739/0.008421, allocations: 306.3 kB / 270.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.00859, allocations: 62.05 kB / 270.4 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.00881, allocations: 167.7 kB / 270.5 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.00897, allocations: 91.7 kB / 270.6 MB, free: 3.406 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.009013, allocations: 24 kB / 270.6 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.016e-05/0.009064, allocations: 20 kB / 270.7 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-05/0.009117, allocations: 51.81 kB / 270.7 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.009239, allocations: 95.77 kB / 270.8 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.009606, allocations: 291 kB / 271.1 MB, free: 2.934 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.009614, allocations: 3.984 kB / 271.1 MB, free: 2.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009615, allocations: 0 / 271.1 MB, free: 2.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.009619, allocations: 0 / 271.1 MB, free: 2.93 MB / 250.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.0008493/0.01047, allocations: 485.4 kB / 271.6 MB, free: 2.422 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.01051, allocations: 12.92 kB / 271.6 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.0106, allocations: 44.75 kB / 271.6 MB, free: 2.367 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.01091, allocations: 186 kB / 271.8 MB, free: 2.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.01094, allocations: 20.88 kB / 271.8 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/0.01101, allocations: 32.31 kB / 271.9 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.01145, allocations: 235.2 kB / 272.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.01147, allocations: 12.17 kB / 272.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.01149, allocations: 8.375 kB / 272.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.0115, allocations: 8.375 kB / 272.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.01181, allocations: 155.8 kB / 272.3 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.01292, allocations: 0.6604 MB / 272.9 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.01348, allocations: 275.8 kB / 273.2 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.01375, allocations: 122.5 kB / 273.3 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.01377, allocations: 15.94 kB / 273.3 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.01381, allocations: 38.56 kB / 273.4 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.282e-06/0.01381, allocations: 0 / 273.4 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.002964/0.01677, allocations: 1.515 MB / 274.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.01686, allocations: 118.8 kB / 275 MB, free: 14.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.01707, allocations: 174.3 kB / 275.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.0171, allocations: 33.7 kB / 275.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.01722, allocations: 140.8 kB / 275.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.01737, allocations: 166.5 kB / 275.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.01748, allocations: 70.2 kB / 275.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.01767, allocations: 334.8 kB / 275.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.01785, allocations: 96.95 kB / 276 MB, free: 13.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.01808, allocations: 158.9 kB / 276.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/0.01861, allocations: 273.8 kB / 276.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01861, allocations: 0 / 276.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005875/0.0192, allocations: 352.3 kB / 276.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.01922, allocations: 10.66 kB / 276.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01922, allocations: 0 / 276.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.01925, allocations: 4 kB / 276.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.0196, allocations: 99.83 kB / 276.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.01961, allocations: 7.938 kB / 276.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01972, allocations: 8.094 kB / 276.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.01975, allocations: 20 kB / 276.9 MB, free: 12.7 MB / 266.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 0.000177/0.01992, allocations: 161.6 kB / 277.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.02003, allocations: 35.86 kB / 277.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.965e-05/0.02012, allocations: 37.8 kB / 277.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.02012, allocations: 4 kB / 277.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.02013, allocations: 4 kB / 277.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.02014, allocations: 3.938 kB / 277.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.02164, allocations: 0.9419 MB / 278.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.02166, allocations: 8 kB / 278.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.02207, allocations: 91.84 kB / 278.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.02207, allocations: 4 kB / 278.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.0221, allocations: 12 kB / 278.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.02211, allocations: 7.984 kB / 278.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.02211, allocations: 4.281 kB / 278.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/0.02307, allocations: 0.7295 MB / 278.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.02311, allocations: 27.84 kB / 279 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.02315, allocations: 12 kB / 279 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.02338, allocations: 12.05 kB / 279 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.02345, allocations: 43.81 kB / 279 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.02347, allocations: 12 kB / 279.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.02358, allocations: 128.3 kB / 279.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02358, allocations: 0 / 279.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000461/0.02405, allocations: 72 kB / 279.2 MB, free: 10.23 MB / 266.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.0001528/0.0242, allocations: 119 kB / 279.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.02467, allocations: 243.7 kB / 279.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02467, allocations: 0 / 279.6 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.02489, allocations: 136.8 kB / 279.7 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007127/0.0256, allocations: 80.48 kB / 279.8 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.02699, allocations: 0.7798 MB / 280.6 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.02719, allocations: 163.8 kB / 280.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.0273, allocations: 30.95 kB / 280.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.02739, allocations: 28.5 kB / 280.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02739, allocations: 7.938 kB / 280.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of Templates: time 0.007423/0.03481, allocations: 2.945 MB / 283.8 MB, free: 5.676 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.395451585995033]