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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 110.1 kB / 291.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008575/0.0008577, allocations: 43.92 kB / 350 MB, free: 52 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2413, allocations: 49.44 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003081/0.2444, allocations: 2.458 MB / 401.9 MB, free: 30.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004921/0.2449, allocations: 240.8 kB / 402.2 MB, free: 30.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.2451, allocations: 11.88 kB / 402.2 MB, free: 30.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.2452, allocations: 35.77 kB / 402.2 MB, free: 30.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.2454, allocations: 71.41 kB / 402.3 MB, free: 30.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.2455, allocations: 47.95 kB / 402.3 MB, free: 30.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.2457, allocations: 278.7 kB / 402.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.2459, allocations: 86.25 kB / 402.7 MB, free: 30.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.2459, allocations: 95.58 kB / 402.8 MB, free: 30.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2461, allocations: 119.5 kB / 402.9 MB, free: 29.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.2461, allocations: 12 kB / 402.9 MB, free: 29.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.709e-05/0.2461, allocations: 19.94 kB / 402.9 MB, free: 29.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.2462, allocations: 47.78 kB / 403 MB, free: 29.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.548e-05/0.2463, allocations: 123.4 kB / 403.1 MB, free: 29.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.2465, allocations: 284.5 kB / 403.4 MB, free: 29.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2465, allocations: 0 / 403.4 MB, free: 29.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2465, allocations: 0 / 403.4 MB, free: 29.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2465, allocations: 3.938 kB / 403.4 MB, free: 29.43 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.0005709/0.2471, allocations: 0.5381 MB / 403.9 MB, free: 28.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.2471, allocations: 15.97 kB / 403.9 MB, free: 28.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.2471, allocations: 32.56 kB / 404 MB, free: 28.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.2473, allocations: 242.2 kB / 404.2 MB, free: 28.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.2473, allocations: 20.94 kB / 404.2 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.2474, allocations: 24.38 kB / 404.2 MB, free: 28.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.2477, allocations: 244 kB / 404.5 MB, free: 28.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.2477, allocations: 4.094 kB / 404.5 MB, free: 28.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.2477, allocations: 15.94 kB / 404.5 MB, free: 28.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2477, allocations: 8 kB / 404.5 MB, free: 28.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.248, allocations: 159.9 kB / 404.7 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/0.2487, allocations: 0.7931 MB / 405.5 MB, free: 27.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.2491, allocations: 299.6 kB / 405.7 MB, free: 26.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2493, allocations: 134.5 kB / 405.9 MB, free: 26.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2493, allocations: 4 kB / 405.9 MB, free: 26.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.2493, allocations: 38.5 kB / 405.9 MB, free: 26.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.353e-06/0.2493, allocations: 224 / 405.9 MB, free: 26.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001846/0.2512, allocations: 1.946 MB / 407.9 MB, free: 24.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.2512, allocations: 106.9 kB / 408 MB, free: 24.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2514, allocations: 203.7 kB / 408.2 MB, free: 24.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.2514, allocations: 29.7 kB / 408.2 MB, free: 24.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.2515, allocations: 144.8 kB / 408.3 MB, free: 23.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.2515, allocations: 153.6 kB / 408.5 MB, free: 23.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.2516, allocations: 74.12 kB / 408.6 MB, free: 23.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.707e-05/0.2517, allocations: 342.8 kB / 408.9 MB, free: 23.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.2518, allocations: 88.84 kB / 409 MB, free: 23.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.252, allocations: 158.3 kB / 409.1 MB, free: 23.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.2523, allocations: 280.8 kB / 409.4 MB, free: 22.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2523, allocations: 0 / 409.4 MB, free: 22.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003592/0.2526, allocations: 345.1 kB / 409.8 MB, free: 22.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2527, allocations: 7.938 kB / 409.8 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2527, allocations: 4 kB / 409.8 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.2527, allocations: 4 kB / 409.8 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.253, allocations: 87.84 kB / 409.9 MB, free: 22.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.253, allocations: 8.094 kB / 409.9 MB, free: 22.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.733e-05/0.2531, allocations: 12 kB / 409.9 MB, free: 22.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.2531, allocations: 19.98 kB / 409.9 MB, free: 22.33 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.963e-05/0.2532, allocations: 149.7 kB / 410 MB, free: 22.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.2533, allocations: 27.66 kB / 410.1 MB, free: 22.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.766e-05/0.2534, allocations: 37.88 kB / 410.1 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2534, allocations: 4 kB / 410.1 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2534, allocations: 3.984 kB / 410.1 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2534, allocations: 4.031 kB / 410.1 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.2544, allocations: 1.054 MB / 411.2 MB, free: 20.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2544, allocations: 0 / 411.2 MB, free: 20.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.2548, allocations: 95.83 kB / 411.3 MB, free: 20.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2548, allocations: 12.22 kB / 411.3 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.2548, allocations: 8 kB / 411.3 MB, free: 20.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2548, allocations: 8 kB / 411.3 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2548, allocations: 0 / 411.3 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.2568, allocations: 2.291 MB / 413.6 MB, free: 18.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.2569, allocations: 104.9 kB / 413.7 MB, free: 18.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.2569, allocations: 8 kB / 413.7 MB, free: 18.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.2572, allocations: 12.09 kB / 413.7 MB, free: 18.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.2572, allocations: 43.77 kB / 413.7 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.2573, allocations: 12 kB / 413.8 MB, free: 18.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.655e-05/0.2573, allocations: 135.2 kB / 413.9 MB, free: 18.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2574, allocations: 4 kB / 413.9 MB, free: 18.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005907/0.258, allocations: 92 kB / 414 MB, free: 17.97 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.0001145/0.2581, allocations: 122.9 kB / 414.1 MB, free: 17.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003983/0.2585, allocations: 251.7 kB / 414.3 MB, free: 17.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2585, allocations: 3.938 kB / 414.4 MB, free: 17.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.2587, allocations: 152.1 kB / 414.5 MB, free: 17.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.2595, allocations: 60.25 kB / 414.6 MB, free: 17.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.261, allocations: 1.3 MB / 415.9 MB, free: 16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.2612, allocations: 0.7802 MB / 416.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.2614, allocations: 42.94 kB / 416.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.031e-05/0.2615, allocations: 27.44 kB / 416.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2615, allocations: 0 / 416.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of Templates: time 0.005885/0.2673, allocations: 3.233 MB / 419.9 MB, free: 11.92 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches