Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.0007846/0.0007846, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001837, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006734/0.0006734, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009565/0.00163, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.8728/0.8728, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09044/0.9632, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.398e-06/1.06e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001723/0.001734, allocations: 1.712 MB / 246.9 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005359/0.00227, allocations: 0.5723 MB / 247.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.002329, allocations: 3.938 kB / 247.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.002357, allocations: 7.938 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.474e-05/0.002412, allocations: 15.86 kB / 247.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.00256, allocations: 55.75 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.002643, allocations: 63.72 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.579e-05/0.002709, allocations: 23.92 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.002812, allocations: 47.89 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.002854, allocations: 23.91 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.002866, allocations: 4 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.072e-05/0.002907, allocations: 4 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.002939, allocations: 15.94 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.581e-05/0.002955, allocations: 15.94 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.372e-05/0.003049, allocations: 47.77 kB / 247.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.003056, allocations: 3.938 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003057, allocations: 0 / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.003064, allocations: 0 / 247.8 MB, free: 10.93 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002896/0.003353, allocations: 304.2 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.549e-05/0.003379, allocations: 8.625 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.00349, allocations: 98.03 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.003615, allocations: 142.2 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-06/0.00362, allocations: 384 / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.003629, allocations: 8.375 kB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.003777, allocations: 139.9 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.003784, allocations: 3.938 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-06/0.003788, allocations: 0 / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.003792, allocations: 0 / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.003811, allocations: 15.92 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.00396, allocations: 170.8 kB / 248.7 MB, free: 9.945 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.336e-05/0.004023, allocations: 86.36 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.004047, allocations: 35.48 kB / 248.8 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.00406, allocations: 0 / 248.8 MB, free: 9.777 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.004079, allocations: 42.5 kB / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 6.91e-07/0.004079, allocations: 0 / 248.9 MB, free: 9.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001036/0.004183, allocations: 69.53 kB / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.004232, allocations: 140.5 kB / 249.1 MB, free: 9.484 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.314e-05/0.004295, allocations: 142.5 kB / 249.2 MB, free: 9.336 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.004304, allocations: 29.7 kB / 249.2 MB, free: 9.301 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.004333, allocations: 88.12 kB / 249.3 MB, free: 9.211 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.004346, allocations: 11.94 kB / 249.3 MB, free: 9.199 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.004366, allocations: 13.72 kB / 249.3 MB, free: 9.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.449e-05/0.004431, allocations: 314.8 kB / 249.6 MB, free: 8.863 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-06/0.004437, allocations: 4 kB / 249.6 MB, free: 8.859 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.004448, allocations: 17.7 kB / 249.7 MB, free: 8.836 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.26e-05/0.004471, allocations: 17.72 kB / 249.7 MB, free: 8.812 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004473, allocations: 0 / 249.7 MB, free: 8.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.714e-05/0.00451, allocations: 49.62 kB / 249.7 MB, free: 8.758 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.004519, allocations: 4 kB / 249.7 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.004522, allocations: 0 / 249.7 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.00453, allocations: 4 kB / 249.7 MB, free: 8.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.061e-05/0.004571, allocations: 7.984 kB / 249.7 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.004573, allocations: 0 / 249.7 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.004587, allocations: 4 kB / 249.7 MB, free: 8.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.004592, allocations: 11.88 kB / 249.8 MB, free: 8.727 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.064e-05/0.004643, allocations: 108.7 kB / 249.9 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.004679, allocations: 53.67 kB / 249.9 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.004701, allocations: 11.97 kB / 249.9 MB, free: 8.539 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.004703, allocations: 4 kB / 249.9 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.004705, allocations: 0 / 249.9 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004707, allocations: 3.938 kB / 249.9 MB, free: 8.531 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.875e-05/0.004786, allocations: 77.88 kB / 250 MB, free: 8.438 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.004787, allocations: 0 / 250 MB, free: 8.438 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/0.004817, allocations: 19.98 kB / 250 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.004843, allocations: 27.77 kB / 250.1 MB, free: 8.391 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.004844, allocations: 0 / 250.1 MB, free: 8.391 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.004848, allocations: 8.062 kB / 250.1 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.004849, allocations: 0 / 250.1 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00485, allocations: 0 / 250.1 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.719e-05/0.004917, allocations: 158.1 kB / 250.2 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.004927, allocations: 7.938 kB / 250.2 MB, free: 8.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.079e-05/0.004958, allocations: 0 / 250.2 MB, free: 8.195 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.004977, allocations: 7.984 kB / 250.2 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.00498, allocations: 0 / 250.2 MB, free: 8.188 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.299e-05/0.005003, allocations: 32.83 kB / 250.3 MB, free: 8.152 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005003, allocations: 0 / 250.3 MB, free: 8.152 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001099/0.005113, allocations: 12.03 kB / 250.3 MB, free: 8.141 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (6): * Single equations (assignments): 6 * 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 4.755e-05/0.00516, allocations: 72.42 kB / 250.4 MB, free: 8.059 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.836e-05/0.005208, allocations: 32.77 kB / 250.4 MB, free: 8.023 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.005211, allocations: 0 / 250.4 MB, free: 8.023 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.42e-05/0.005226, allocations: 12.8 kB / 250.4 MB, free: 8.008 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.00543, allocations: 160.4 kB / 250.6 MB, free: 7.824 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.00601, allocations: 220.1 kB / 250.8 MB, free: 7.578 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.082e-05/0.00604, allocations: 59.34 kB / 250.8 MB, free: 7.5 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.677e-05/0.006057, allocations: 4 kB / 250.8 MB, free: 7.496 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.006106, allocations: 59.36 kB / 250.9 MB, free: 7.438 MB / 250.7 MB Notification: Performance of SimCode: time 6.62e-07/0.006107, allocations: 0 / 250.9 MB, free: 7.438 MB / 250.7 MB Notification: Performance of Templates: time 0.00188/0.007988, allocations: 0.8153 MB / 251.7 MB, free: 6.645 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.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.3252823976799846]