Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001042/0.001042, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0011/0.0011, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 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 0.9982/0.9982, allocations: 173.4 MB / 202.2 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] 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.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.216e-06/3.216e-06, allocations: 3.984 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.78e-05, allocations: 9.266 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002364/0.002392, allocations: 1.862 MB / 271.1 MB, free: 7.914 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.003338, allocations: 0.609 MB / 271.7 MB, free: 7.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.003486, allocations: 7.938 kB / 271.7 MB, free: 7.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.003631, allocations: 21.83 kB / 271.7 MB, free: 7.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.003752, allocations: 27.78 kB / 271.7 MB, free: 7.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.004068, allocations: 99.59 kB / 271.8 MB, free: 7.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.004223, allocations: 147.5 kB / 272 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.004339, allocations: 45.95 kB / 272 MB, free: 6.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.004449, allocations: 76.62 kB / 272.1 MB, free: 6.887 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.004515, allocations: 39.83 kB / 272.1 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.004537, allocations: 10.03 kB / 272.2 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.004551, allocations: 12 kB / 272.2 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.004602, allocations: 31.91 kB / 272.2 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.004634, allocations: 31.86 kB / 272.2 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.004776, allocations: 95.53 kB / 272.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004779, allocations: 1.281 kB / 272.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00478, allocations: 0 / 272.3 MB, free: 6.672 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004784, allocations: 0 / 272.3 MB, free: 6.672 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004208/0.005205, allocations: 480.5 kB / 272.8 MB, free: 6.168 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.005235, allocations: 8.031 kB / 272.8 MB, free: 6.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.005277, allocations: 29.48 kB / 272.8 MB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.005467, allocations: 190.9 kB / 273 MB, free: 5.918 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.005484, allocations: 9.281 kB / 273 MB, free: 5.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.005497, allocations: 8.359 kB / 273 MB, free: 5.902 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.005782, allocations: 286.8 kB / 273.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005789, allocations: 0.5 kB / 273.3 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.005799, allocations: 8 kB / 273.3 MB, free: 5.566 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.005803, allocations: 3.938 kB / 273.3 MB, free: 5.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.298e-05/0.005846, allocations: 23.92 kB / 273.3 MB, free: 5.539 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.006156, allocations: 434.2 kB / 273.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.006344, allocations: 199.4 kB / 274 MB, free: 4.812 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.006405, allocations: 78.39 kB / 274 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.006421, allocations: 4 kB / 274 MB, free: 4.711 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.006444, allocations: 45.33 kB / 274.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.006446, allocations: 0 / 274.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002095/0.006655, allocations: 141.7 kB / 274.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.006736, allocations: 199.8 kB / 274.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.006851, allocations: 227.2 kB / 274.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.006866, allocations: 29.7 kB / 274.7 MB, free: 4 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.006921, allocations: 147.2 kB / 274.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.006937, allocations: 15.83 kB / 274.8 MB, free: 3.832 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.006972, allocations: 27.75 kB / 274.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.007078, allocations: 0.4923 MB / 275.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.007089, allocations: 4 kB / 275.4 MB, free: 3.289 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.007126, allocations: 68.42 kB / 275.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.007164, allocations: 39 kB / 275.5 MB, free: 3.148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.007167, allocations: 3.938 kB / 275.5 MB, free: 3.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.6e-05/0.007243, allocations: 61.58 kB / 275.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.007255, allocations: 4 kB / 275.5 MB, free: 3.074 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007259, allocations: 4.125 kB / 275.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.007268, allocations: 0 / 275.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.007322, allocations: 11.98 kB / 275.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.007324, allocations: 0 / 275.5 MB, free: 3.059 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.007356, allocations: 7.953 kB / 275.6 MB, free: 3.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.007361, allocations: 4 kB / 275.6 MB, free: 3.047 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.307e-05/0.007435, allocations: 164.5 kB / 275.7 MB, free: 2.875 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.007546, allocations: 109.5 kB / 275.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.007583, allocations: 25.78 kB / 275.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.007585, allocations: 0 / 275.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.007588, allocations: 8.031 kB / 275.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.007593, allocations: 3.984 kB / 275.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.007745, allocations: 133.2 kB / 276 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.007748, allocations: 4 kB / 276 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.007826, allocations: 39.91 kB / 276 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.00783, allocations: 3.938 kB / 276 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.007837, allocations: 8 kB / 276 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.007839, allocations: 0 / 276 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.007841, allocations: 4 kB / 276.1 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.007984, allocations: 342.1 kB / 276.4 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.008034, allocations: 35.77 kB / 276.4 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.008053, allocations: 4 kB / 276.4 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.008129, allocations: 11.98 kB / 276.4 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.008151, allocations: 7.938 kB / 276.4 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.008157, allocations: 4 kB / 276.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.047e-05/0.008217, allocations: 169 kB / 276.6 MB, free: 1.91 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008217, allocations: 4 kB / 276.6 MB, free: 1.906 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.008402, allocations: 16 kB / 276.6 MB, free: 1.891 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 8.152e-05/0.008484, allocations: 103.3 kB / 276.7 MB, free: 1.781 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.5e-05/0.008579, allocations: 39.61 kB / 276.8 MB, free: 1.738 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.00858, allocations: 0 / 276.8 MB, free: 1.738 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.588e-05/0.008596, allocations: 19.61 kB / 276.8 MB, free: 1.715 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.008964, allocations: 89.09 kB / 276.9 MB, free: 1.629 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.009444, allocations: 314.4 kB / 277.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.869e-05/0.009492, allocations: 79.83 kB / 277.3 MB, free: 1.18 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.676e-05/0.009529, allocations: 13.14 kB / 277.3 MB, free: 1.168 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.009621, allocations: 98.17 kB / 277.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.009622, allocations: 4 kB / 277.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of Templates: time 0.003658/0.01328, allocations: 1.985 MB / 279.4 MB, free: 15.13 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.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.7857766207307577]