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.001388/0.001388, allocations: 84.66 kB / 20.95 MB, free: 3.449 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.001399/0.001399, allocations: 153.1 kB / 24.26 MB, free: 152 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.588/1.588, allocations: 173.4 MB / 200.8 MB, free: 9.293 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.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.065e-06/3.065e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.181e-05/4.487e-05, allocations: 6.312 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004527/0.004571, allocations: 1.834 MB / 269.2 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.006091, allocations: 0.6075 MB / 269.8 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.00628, allocations: 11.88 kB / 269.8 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.006468, allocations: 19.8 kB / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.006648, allocations: 23.8 kB / 269.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007219/0.00737, allocations: 99.58 kB / 269.9 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.007638, allocations: 143.5 kB / 270.1 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.007861, allocations: 45.95 kB / 270.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.008093, allocations: 75.8 kB / 270.2 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.008203, allocations: 39.83 kB / 270.2 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.008258, allocations: 12 kB / 270.2 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.451e-05/0.008282, allocations: 12 kB / 270.2 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.445e-05/0.008367, allocations: 31.86 kB / 270.3 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.008428, allocations: 31.91 kB / 270.3 MB, free: 3.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.008749, allocations: 151.4 kB / 270.5 MB, free: 3.547 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.008753, allocations: 0 / 270.5 MB, free: 3.547 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.008755, allocations: 0 / 270.5 MB, free: 3.547 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.008763, allocations: 0 / 270.5 MB, free: 3.547 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.0008163/0.00958, allocations: 373.7 kB / 270.8 MB, free: 3.152 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.009629, allocations: 8.031 kB / 270.8 MB, free: 3.145 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.009733, allocations: 32.8 kB / 270.9 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.01022, allocations: 187.3 kB / 271 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.01025, allocations: 8.562 kB / 271.1 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.01027, allocations: 12.38 kB / 271.1 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007536/0.01103, allocations: 313.8 kB / 271.4 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.01104, allocations: 0 / 271.4 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.01106, allocations: 4 kB / 271.4 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.01106, allocations: 0 / 271.4 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.01134, allocations: 71.89 kB / 271.4 MB, free: 2.465 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.01203, allocations: 359 kB / 271.8 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.01264, allocations: 213 kB / 272 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.01288, allocations: 104.3 kB / 272.1 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.01292, allocations: 4 kB / 272.1 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.01296, allocations: 38.56 kB / 272.1 MB, free: 1.648 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.01296, allocations: 3.938 kB / 272.2 MB, free: 1.645 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007811/0.01374, allocations: 233.3 kB / 272.4 MB, free: 1.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.01393, allocations: 187.9 kB / 272.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.0142, allocations: 179.2 kB / 272.7 MB, free: 1 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.01424, allocations: 29.7 kB / 272.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.01438, allocations: 104.5 kB / 272.9 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.01442, allocations: 12.28 kB / 272.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/0.01451, allocations: 25.7 kB / 272.9 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.01473, allocations: 322.8 kB / 273.2 MB, free: 500 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.01478, allocations: 11.92 kB / 273.2 MB, free: 488 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.01488, allocations: 65.12 kB / 273.3 MB, free: 404 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.01502, allocations: 42.56 kB / 273.3 MB, free: 352 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01502, allocations: 0 / 273.3 MB, free: 352 kB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002008/0.01522, allocations: 85.53 kB / 273.4 MB, free: 260 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.01525, allocations: 4 kB / 273.4 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01525, allocations: 0 / 273.4 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.01528, allocations: 4 kB / 273.4 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.01536, allocations: 4 kB / 273.4 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.01538, allocations: 4 kB / 273.4 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.081e-05/0.01546, allocations: 11.92 kB / 273.4 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.01547, allocations: 0 / 273.4 MB, free: 232 kB / 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 0.0001577/0.01562, allocations: 125.9 kB / 273.6 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/0.01602, allocations: 161.4 kB / 273.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.01608, allocations: 21.47 kB / 273.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.01609, allocations: 4 kB / 273.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.0161, allocations: 4 kB / 273.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.0161, allocations: 3.984 kB / 273.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.0164, allocations: 149.2 kB / 273.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01641, allocations: 0 / 273.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.01656, allocations: 39.92 kB / 273.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.01656, allocations: 4.031 kB / 274 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.01659, allocations: 15.98 kB / 274 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01659, allocations: 0 / 274 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.0166, allocations: 4 kB / 274 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.01715, allocations: 364.1 kB / 274.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.01724, allocations: 39.83 kB / 274.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.01727, allocations: 4 kB / 274.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.01742, allocations: 11.98 kB / 274.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.01746, allocations: 8 kB / 274.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.01747, allocations: 4 kB / 274.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.01762, allocations: 141.1 kB / 274.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01762, allocations: 0 / 274.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.01793, allocations: 16 kB / 274.5 MB, free: 15.05 MB / 266.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 0.0001422/0.01807, allocations: 99.52 kB / 274.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.01834, allocations: 83.86 kB / 274.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01835, allocations: 4.062 kB / 274.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.965e-05/0.01839, allocations: 15.98 kB / 274.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000725/0.01912, allocations: 112.7 kB / 274.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008723/0.01999, allocations: 317 kB / 275.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.02019, allocations: 119.6 kB / 275.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.817e-05/0.02027, allocations: 13.14 kB / 275.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.02033, allocations: 16.5 kB / 275.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02033, allocations: 0 / 275.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of Templates: time 0.006277/0.02661, allocations: 1.8 MB / 277.1 MB, free: 12.46 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.566331641050056]