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.000975/0.000975, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.002455, 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.0009111/0.0009111, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.00218, 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.9618/0.9618, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1198/1.082, allocations: 53.87 MB / 243.9 MB, free: 14.82 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.432e-06/1.432e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.145e-05, allocations: 5.406 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.005874/0.005896, allocations: 1.847 MB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.006877, allocations: 0.6074 MB / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.006976, allocations: 3.938 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.007022, allocations: 7.875 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.578e-05/0.007118, allocations: 27.78 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.007505, allocations: 103.6 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.007679, allocations: 91.7 kB / 247.9 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.00778, allocations: 18.28 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.007969, allocations: 79.75 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.008036, allocations: 35.83 kB / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.008056, allocations: 8 kB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.008118, allocations: 8 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.008164, allocations: 19.92 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.008197, allocations: 27.94 kB / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.008355, allocations: 79.61 kB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.008364, allocations: 3.938 kB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.008365, allocations: 0 / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.008374, allocations: 0 / 248.2 MB, free: 10.55 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.003491/0.01187, allocations: 348 kB / 248.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.0119, allocations: 12.02 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.01207, allocations: 98.03 kB / 248.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.01228, allocations: 170.1 kB / 248.8 MB, free: 9.871 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.01231, allocations: 8.375 kB / 248.8 MB, free: 9.863 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.01232, allocations: 12.38 kB / 248.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.01265, allocations: 236.3 kB / 249 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.01266, allocations: 192 / 249 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.01267, allocations: 12.31 kB / 249.1 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.01268, allocations: 3.938 kB / 249.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.333e-05/0.01272, allocations: 27.91 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.01294, allocations: 177.9 kB / 249.3 MB, free: 9.359 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.01308, allocations: 99.62 kB / 249.4 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.01313, allocations: 46.62 kB / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.01315, allocations: 8.125 kB / 249.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.01318, allocations: 38.56 kB / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.01318, allocations: 0 / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002066/0.01339, allocations: 105.6 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.01346, allocations: 122.8 kB / 249.7 MB, free: 8.871 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.737e-05/0.01356, allocations: 142.6 kB / 249.8 MB, free: 8.719 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.01357, allocations: 33.7 kB / 249.8 MB, free: 8.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.01361, allocations: 84.12 kB / 249.9 MB, free: 8.594 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.01363, allocations: 16.02 kB / 249.9 MB, free: 8.578 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.01367, allocations: 29.7 kB / 250 MB, free: 8.543 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.01377, allocations: 322.8 kB / 250.3 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.01378, allocations: 8 kB / 250.3 MB, free: 8.211 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.01382, allocations: 36.23 kB / 250.3 MB, free: 8.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.03e-05/0.01388, allocations: 52.25 kB / 250.4 MB, free: 8.094 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01388, allocations: 0 / 250.4 MB, free: 8.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.65e-05/0.01397, allocations: 77.55 kB / 250.5 MB, free: 8.012 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01399, allocations: 4 kB / 250.5 MB, free: 8.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01399, allocations: 0 / 250.5 MB, free: 8.008 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.01401, allocations: 7.938 kB / 250.5 MB, free: 8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.01407, allocations: 7.984 kB / 250.5 MB, free: 7.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.01408, allocations: 4 kB / 250.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.01411, allocations: 0 / 250.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.01412, allocations: 8 kB / 250.5 MB, free: 7.98 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 8.556e-05/0.01421, allocations: 128.8 kB / 250.6 MB, free: 7.844 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004122/0.01833, allocations: 78.16 kB / 250.7 MB, free: 7.762 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.018e-05/0.01839, allocations: 24.77 kB / 250.7 MB, free: 7.738 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.0184, allocations: 7.938 kB / 250.7 MB, free: 7.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.0184, allocations: 0 / 250.7 MB, free: 7.73 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.0184, allocations: 0 / 250.7 MB, free: 7.73 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01856, allocations: 85.77 kB / 250.8 MB, free: 7.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01856, allocations: 4 kB / 250.8 MB, free: 7.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.01868, allocations: 27.98 kB / 250.8 MB, free: 7.598 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.01874, allocations: 23.83 kB / 250.9 MB, free: 7.574 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.01875, allocations: 8 kB / 250.9 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.01876, allocations: 0 / 250.9 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.01877, allocations: 11.92 kB / 250.9 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.01877, allocations: 3.938 kB / 250.9 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.0189, allocations: 141.4 kB / 251 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.01892, allocations: 8 kB / 251 MB, free: 7.383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.01901, allocations: 8 kB / 251 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.01904, allocations: 3.938 kB / 251 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.01905, allocations: 4 kB / 251 MB, free: 7.367 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.559e-05/0.01909, allocations: 41.62 kB / 251.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01909, allocations: 4.031 kB / 251.1 MB, free: 7.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.01931, allocations: 16 kB / 251.1 MB, free: 7.305 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 0.0001123/0.01942, allocations: 88.33 kB / 251.2 MB, free: 7.211 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.01953, allocations: 56.66 kB / 251.2 MB, free: 7.152 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.01954, allocations: 0 / 251.2 MB, free: 7.152 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.01956, allocations: 12.84 kB / 251.3 MB, free: 7.137 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.01992, allocations: 180 kB / 251.4 MB, free: 6.938 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009015/0.02082, allocations: 265.2 kB / 251.7 MB, free: 6.645 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.551e-05/0.02087, allocations: 79.33 kB / 251.8 MB, free: 6.547 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.361e-05/0.02091, allocations: 4.984 kB / 251.8 MB, free: 6.539 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.02098, allocations: 71.34 kB / 251.8 MB, free: 6.469 MB / 250.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02098, allocations: 3.938 kB / 251.8 MB, free: 6.465 MB / 250.7 MB Notification: Performance of Templates: time 0.003352/0.02434, allocations: 1.292 MB / 253.1 MB, free: 5.207 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.553640921600163]