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.001338/0.001338, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001107/0.001107, allocations: 161.4 kB / 24.99 MB, free: 9.324 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 1.106/1.106, allocations: 177 MB / 205.2 MB, free: 5.23 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.754e-06/1.754e-06, allocations: 0 / 273 MB, free: 1.605 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.757e-05, allocations: 5.266 kB / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00371/0.003737, allocations: 2.432 MB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005255/0.004263, allocations: 243.1 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.004363, allocations: 7.938 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.004486, allocations: 39.58 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.004602, allocations: 95.14 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.00475, allocations: 63.83 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.004979, allocations: 306.4 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.005125, allocations: 58.62 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.005255, allocations: 167.7 kB / 276.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.005369, allocations: 87.75 kB / 276.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.243e-05/0.005401, allocations: 24 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.459e-05/0.005426, allocations: 23.94 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.005462, allocations: 51.83 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.809e-05/0.00553, allocations: 91.83 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.005727, allocations: 199.2 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.00573, allocations: 0 / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00573, allocations: 4 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.005735, allocations: 0 / 276.8 MB, free: 13.72 MB / 266.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.000528/0.006263, allocations: 0.5624 MB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.006296, allocations: 15.98 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.006363, allocations: 48.75 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.006568, allocations: 200.8 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.006582, allocations: 12.88 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.006616, allocations: 28.38 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.00685, allocations: 199.7 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.006864, allocations: 8.125 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.006882, allocations: 8.375 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.006892, allocations: 8.375 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.007037, allocations: 107.8 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.007679, allocations: 0.7977 MB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.007999, allocations: 249.2 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.008136, allocations: 99.02 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.008152, allocations: 11.94 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.008175, allocations: 41.33 kB / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.292e-06/0.008176, allocations: 0 / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001472/0.009648, allocations: 1.404 MB / 280.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.009692, allocations: 110.8 kB / 280.7 MB, free: 9.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.009812, allocations: 229.7 kB / 281 MB, free: 9.207 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.009831, allocations: 33.7 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.009905, allocations: 191.5 kB / 281.2 MB, free: 8.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.921e-05/0.009984, allocations: 166.6 kB / 281.3 MB, free: 8.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.01005, allocations: 79.81 kB / 281.4 MB, free: 8.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.01017, allocations: 0.504 MB / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.01025, allocations: 56.95 kB / 282 MB, free: 8.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.01037, allocations: 138.8 kB / 282.1 MB, free: 7.988 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.01059, allocations: 221 kB / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01059, allocations: 0 / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002992/0.01089, allocations: 297.7 kB / 282.6 MB, free: 7.453 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.0109, allocations: 4 kB / 282.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01091, allocations: 0 / 282.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.01092, allocations: 4 kB / 282.6 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.01111, allocations: 95.89 kB / 282.7 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.01112, allocations: 7.938 kB / 282.7 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.01117, allocations: 12 kB / 282.7 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.01118, allocations: 8 kB / 282.7 MB, free: 7.324 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 9.372e-05/0.01128, allocations: 188.4 kB / 282.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.01133, allocations: 43.91 kB / 283 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.01138, allocations: 37.84 kB / 283 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.01139, allocations: 11.98 kB / 283 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.01139, allocations: 4 kB / 283 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.0114, allocations: 7.922 kB / 283 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008347/0.01223, allocations: 1.035 MB / 284.1 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01224, allocations: 4 kB / 284.1 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.01244, allocations: 83.91 kB / 284.2 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01244, allocations: 4 kB / 284.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.01246, allocations: 19.98 kB / 284.2 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.01246, allocations: 4 kB / 284.2 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.01247, allocations: 7.938 kB / 284.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.01296, allocations: 0.7898 MB / 285 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.01299, allocations: 31.88 kB / 285 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.01301, allocations: 12 kB / 285 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.01312, allocations: 12 kB / 285 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.01315, allocations: 35.89 kB / 285.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.01317, allocations: 15.98 kB / 285.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.095e-05/0.01323, allocations: 156.2 kB / 285.2 MB, free: 4.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01323, allocations: 3.938 kB / 285.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.0135, allocations: 72 kB / 285.3 MB, free: 4.598 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 9.51e-05/0.01359, allocations: 115 kB / 285.4 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.01385, allocations: 212.3 kB / 285.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01385, allocations: 0 / 285.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.01396, allocations: 123.4 kB / 285.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.01438, allocations: 69.8 kB / 285.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.01572, allocations: 0.7961 MB / 286.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.674e-05/0.01579, allocations: 97.28 kB / 286.7 MB, free: 3.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.864e-05/0.01587, allocations: 34.97 kB / 286.7 MB, free: 3.055 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.01592, allocations: 24.5 kB / 286.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01592, allocations: 0 / 286.8 MB, free: 3.031 MB / 266.7 MB Notification: Performance of Templates: time 0.004394/0.02031, allocations: 2.954 MB / 289.7 MB, free: 124 kB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8664087150245905]