Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.0007095/0.0007095, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009397/0.001649, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006955/0.0006955, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000864/0.001559, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9265/0.9265, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09537/1.022, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.526e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002446/0.002462, allocations: 1.854 MB / 246.9 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.003306, allocations: 0.6074 MB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.535e-05/0.003391, allocations: 7.938 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.003432, allocations: 11.86 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.003509, allocations: 11.81 kB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.003801, allocations: 107.5 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.003933, allocations: 95.72 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.004057, allocations: 26.27 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.004206, allocations: 75.73 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.356e-05/0.00427, allocations: 35.83 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.004292, allocations: 8 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.76e-05/0.00435, allocations: 8 kB / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.004391, allocations: 23.94 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.004425, allocations: 19.94 kB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.004564, allocations: 67.69 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-05/0.004578, allocations: 11.98 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004579, allocations: 3.938 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.004593, allocations: 0 / 248 MB, free: 10.66 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004422/0.005036, allocations: 348 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.005063, allocations: 11.97 kB / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.005209, allocations: 106 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.005465, allocations: 154.2 kB / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.005485, allocations: 12.38 kB / 248.6 MB, free: 9.973 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.005499, allocations: 8.375 kB / 248.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.005791, allocations: 242.6 kB / 248.8 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.005799, allocations: 192 / 248.8 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.005809, allocations: 4.375 kB / 248.9 MB, free: 9.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.005817, allocations: 15.88 kB / 248.9 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.083e-05/0.005858, allocations: 19.97 kB / 248.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.006047, allocations: 173.9 kB / 249.1 MB, free: 9.473 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.006181, allocations: 95.81 kB / 249.2 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.006235, allocations: 46.77 kB / 249.2 MB, free: 9.297 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.006257, allocations: 4 kB / 249.2 MB, free: 9.293 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.006281, allocations: 42.5 kB / 249.2 MB, free: 9.242 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 2.424e-06/0.006283, allocations: 3.984 kB / 249.2 MB, free: 9.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001818/0.006465, allocations: 105.6 kB / 249.3 MB, free: 9.129 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.662e-05/0.006532, allocations: 122.8 kB / 249.5 MB, free: 8.984 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.006619, allocations: 150.6 kB / 249.6 MB, free: 8.824 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.006632, allocations: 29.7 kB / 249.6 MB, free: 8.789 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.006662, allocations: 88.12 kB / 249.7 MB, free: 8.699 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.00668, allocations: 15.88 kB / 249.7 MB, free: 8.684 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.006713, allocations: 21.72 kB / 249.8 MB, free: 8.656 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.00679, allocations: 322.8 kB / 250.1 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.006803, allocations: 8 kB / 250.1 MB, free: 8.324 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.084e-05/0.006834, allocations: 40.28 kB / 250.1 MB, free: 8.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.444e-05/0.006888, allocations: 60.23 kB / 250.2 MB, free: 8.195 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.00689, allocations: 0 / 250.2 MB, free: 8.195 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002166/0.007107, allocations: 65.55 kB / 250.3 MB, free: 8.125 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.007118, allocations: 4 kB / 250.3 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007123, allocations: 4 kB / 250.3 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.007133, allocations: 4.094 kB / 250.3 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.007201, allocations: 15.94 kB / 250.3 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-06/0.007204, allocations: 0 / 250.3 MB, free: 8.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.007236, allocations: 8 kB / 250.3 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.007242, allocations: 3.984 kB / 250.3 MB, free: 8.086 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.163e-05/0.007314, allocations: 123.9 kB / 250.4 MB, free: 7.957 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.007405, allocations: 82.16 kB / 250.5 MB, free: 7.871 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.007441, allocations: 20.77 kB / 250.5 MB, free: 7.852 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.007444, allocations: 3.938 kB / 250.5 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.007446, allocations: 0 / 250.5 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007449, allocations: 8 kB / 250.5 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.007565, allocations: 89.81 kB / 250.6 MB, free: 7.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007566, allocations: 3.938 kB / 250.6 MB, free: 7.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.719e-05/0.007643, allocations: 31.92 kB / 250.6 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.007683, allocations: 23.84 kB / 250.7 MB, free: 7.676 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.007686, allocations: 3.984 kB / 250.7 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.007695, allocations: 8 kB / 250.7 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.007698, allocations: 3.938 kB / 250.7 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007699, allocations: 0 / 250.7 MB, free: 7.66 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.735e-05/0.007776, allocations: 149.2 kB / 250.8 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.007796, allocations: 8.031 kB / 250.8 MB, free: 7.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.007853, allocations: 4 kB / 250.8 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.007876, allocations: 3.938 kB / 250.8 MB, free: 7.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.007885, allocations: 11.98 kB / 250.9 MB, free: 7.465 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.22e-05/0.007917, allocations: 33.64 kB / 250.9 MB, free: 7.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007917, allocations: 0 / 250.9 MB, free: 7.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.008111, allocations: 20 kB / 250.9 MB, free: 7.41 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 7.179e-05/0.008183, allocations: 76.42 kB / 251 MB, free: 7.328 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.424e-05/0.008277, allocations: 60.81 kB / 251 MB, free: 7.266 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.008281, allocations: 0 / 251 MB, free: 7.266 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.157e-05/0.008293, allocations: 8.859 kB / 251.1 MB, free: 7.254 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.008569, allocations: 76.44 kB / 251.1 MB, free: 7.18 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008117/0.009381, allocations: 261.3 kB / 251.4 MB, free: 6.891 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.009431, allocations: 79.33 kB / 251.5 MB, free: 6.793 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.619e-05/0.009457, allocations: 5.234 kB / 251.5 MB, free: 6.785 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.009523, allocations: 71.36 kB / 251.5 MB, free: 6.715 MB / 250.7 MB Notification: Performance of SimCode: time 6.02e-07/0.009523, allocations: 0 / 251.5 MB, free: 6.715 MB / 250.7 MB Notification: Performance of Templates: time 0.003068/0.01259, allocations: 1.306 MB / 252.8 MB, free: 5.434 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.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.466494874097407]