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.001089/0.001089, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002627, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009808/0.0009808, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002329, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8199/0.8199, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.13/0.9498, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.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 2.204e-06/2.204e-06, allocations: 4 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/1.068e-05, allocations: 2.312 kB / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.001813/0.001823, allocations: 1.922 MB / 241.7 MB, free: 4.422 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005954/0.002419, allocations: 0.627 MB / 242.3 MB, free: 3.793 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.002505, allocations: 8.75 kB / 242.3 MB, free: 3.785 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.223e-05/0.002577, allocations: 23.73 kB / 242.3 MB, free: 3.762 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.002642, allocations: 28.95 kB / 242.4 MB, free: 3.734 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.00283, allocations: 95.7 kB / 242.5 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.002961, allocations: 135.6 kB / 242.6 MB, free: 3.508 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.003058, allocations: 43.58 kB / 242.6 MB, free: 3.465 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003166, allocations: 91.67 kB / 242.7 MB, free: 3.375 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.00323, allocations: 36.55 kB / 242.8 MB, free: 3.34 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.003254, allocations: 12 kB / 242.8 MB, free: 3.328 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.456e-05/0.003269, allocations: 9.781 kB / 242.8 MB, free: 3.32 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.003308, allocations: 23.88 kB / 242.8 MB, free: 3.297 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.003335, allocations: 31.88 kB / 242.8 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.003447, allocations: 87.61 kB / 242.9 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.003455, allocations: 0.6562 kB / 242.9 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003456, allocations: 0 / 242.9 MB, free: 3.18 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.003465, allocations: 0.6875 kB / 242.9 MB, free: 3.18 MB / 234.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.0003729/0.003838, allocations: 373.9 kB / 243.3 MB, free: 2.793 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.59e-05/0.003864, allocations: 8.031 kB / 243.3 MB, free: 2.785 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.003899, allocations: 24.91 kB / 243.3 MB, free: 2.762 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.004072, allocations: 187.8 kB / 243.5 MB, free: 2.551 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.004086, allocations: 4.562 kB / 243.5 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.0041, allocations: 8.375 kB / 243.5 MB, free: 2.539 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.004352, allocations: 260.1 kB / 243.8 MB, free: 2.246 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.004359, allocations: 1.688 kB / 243.8 MB, free: 2.246 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.004369, allocations: 4 kB / 243.8 MB, free: 2.242 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004374, allocations: 4 kB / 243.8 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.572e-05/0.00441, allocations: 29.06 kB / 243.8 MB, free: 2.211 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.004622, allocations: 282.9 kB / 244.1 MB, free: 1.906 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.00477, allocations: 145.8 kB / 244.2 MB, free: 1.715 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.00482, allocations: 73.27 kB / 244.3 MB, free: 1.629 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.004838, allocations: 7.984 kB / 244.3 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.004856, allocations: 38.56 kB / 244.3 MB, free: 1.574 MB / 234.7 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.004858, allocations: 0.75 kB / 244.3 MB, free: 1.574 MB / 234.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001636/0.005021, allocations: 126.7 kB / 244.5 MB, free: 1.445 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.005079, allocations: 166.2 kB / 244.6 MB, free: 1.246 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.097e-05/0.00516, allocations: 169.5 kB / 244.8 MB, free: 1.07 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.005171, allocations: 25.7 kB / 244.8 MB, free: 1.039 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.005202, allocations: 98.98 kB / 244.9 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.005214, allocations: 11.92 kB / 244.9 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.005238, allocations: 17.72 kB / 244.9 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.064e-05/0.005299, allocations: 322.8 kB / 245.3 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.005306, allocations: 4 kB / 245.3 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/0.005334, allocations: 57.06 kB / 245.3 MB, free: 0.5 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.779e-05/0.005362, allocations: 28.03 kB / 245.4 MB, free: 476 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005363, allocations: 0 / 245.4 MB, free: 476 kB / 234.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.99e-05/0.005413, allocations: 63.45 kB / 245.4 MB, free: 408 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.005422, allocations: 4 kB / 245.4 MB, free: 404 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.005426, allocations: 0 / 245.4 MB, free: 404 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.005436, allocations: 8.906 kB / 245.4 MB, free: 396 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.832e-05/0.005485, allocations: 7.984 kB / 245.4 MB, free: 388 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.005488, allocations: 7.984 kB / 245.4 MB, free: 380 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.005515, allocations: 8.844 kB / 245.4 MB, free: 372 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.005519, allocations: 0 / 245.4 MB, free: 372 kB / 234.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 5.192e-05/0.005571, allocations: 117.2 kB / 245.6 MB, free: 244 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.658e-05/0.005648, allocations: 94.28 kB / 245.7 MB, free: 144 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.005677, allocations: 21.45 kB / 245.7 MB, free: 124 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.005679, allocations: 5.656 kB / 245.7 MB, free: 120 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.005681, allocations: 0 / 245.7 MB, free: 120 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005684, allocations: 0 / 245.7 MB, free: 120 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.005802, allocations: 101.8 kB / 245.8 MB, free: 0 / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.005803, allocations: 0.5312 kB / 245.8 MB, free: 0 / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.005881, allocations: 43.91 kB / 245.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.005919, allocations: 35.78 kB / 245.9 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.005921, allocations: 3.984 kB / 245.9 MB, free: 15.92 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.005928, allocations: 4.328 kB / 245.9 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.005929, allocations: 0 / 245.9 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.00593, allocations: 0 / 245.9 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.902e-05/0.006009, allocations: 233.3 kB / 246.1 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.006025, allocations: 11.92 kB / 246.1 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.006096, allocations: 11.98 kB / 246.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.006114, allocations: 4 kB / 246.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.00612, allocations: 12.03 kB / 246.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.242e-05/0.006152, allocations: 50.72 kB / 246.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006152, allocations: 0 / 246.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.006296, allocations: 19.95 kB / 246.2 MB, free: 15.55 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 5.682e-05/0.006352, allocations: 84.34 kB / 246.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.191e-05/0.006424, allocations: 48.77 kB / 246.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.006428, allocations: 0 / 246.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/0.006443, allocations: 13.17 kB / 246.3 MB, free: 15.39 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.006835, allocations: 332.9 kB / 246.7 MB, free: 15.01 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.007502, allocations: 311.8 kB / 247 MB, free: 14.66 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.007544, allocations: 79.83 kB / 247.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.554e-05/0.007569, allocations: 9.141 kB / 247.1 MB, free: 14.56 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.00765, allocations: 83.47 kB / 247.1 MB, free: 14.48 MB / 250.7 MB Notification: Performance of SimCode: time 3.9e-07/0.00765, allocations: 4 kB / 247.1 MB, free: 14.47 MB / 250.7 MB Notification: Performance of Templates: time 0.002928/0.01058, allocations: 1.998 MB / 249.1 MB, free: 12.54 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.215759859420359]