Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009184/0.0009184, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.002076, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004883/0.005949, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1087/1.116, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.474e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.005753/0.005777, allocations: 1.854 MB / 246.6 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.006683, allocations: 0.6074 MB / 247.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.006786, allocations: 7.938 kB / 247.2 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.452e-05/0.00683, allocations: 7.875 kB / 247.2 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.309e-05/0.006923, allocations: 19.84 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.007259, allocations: 107.5 kB / 247.3 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.007415, allocations: 91.7 kB / 247.4 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.00752, allocations: 22.28 kB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.0077, allocations: 75.81 kB / 247.5 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.007767, allocations: 31.88 kB / 247.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.00779, allocations: 8 kB / 247.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.546e-05/0.007855, allocations: 12 kB / 247.6 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.007907, allocations: 23.81 kB / 247.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.007942, allocations: 19.94 kB / 247.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.008105, allocations: 75.69 kB / 247.7 MB, free: 11.24 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.008114, allocations: 0 / 247.7 MB, free: 11.24 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.008115, allocations: 0 / 247.7 MB, free: 11.24 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.008125, allocations: 4 kB / 247.7 MB, free: 11.24 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.003494/0.01162, allocations: 351.9 kB / 248 MB, free: 10.87 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.01166, allocations: 12.03 kB / 248 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.01183, allocations: 102 kB / 248.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.01204, allocations: 165.5 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.01206, allocations: 8.375 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.01208, allocations: 16.36 kB / 248.3 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.01239, allocations: 235.8 kB / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.0124, allocations: 192 / 248.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.01241, allocations: 8.375 kB / 248.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.01242, allocations: 11.88 kB / 248.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.132e-05/0.01246, allocations: 19.98 kB / 248.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.01269, allocations: 177.9 kB / 248.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.01294, allocations: 99.81 kB / 248.9 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/0.01299, allocations: 46.62 kB / 248.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.01301, allocations: 4 kB / 248.9 MB, free: 9.863 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.01304, allocations: 34.56 kB / 248.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 2.735e-06/0.01304, allocations: 7.938 kB / 248.9 MB, free: 9.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.000196/0.01324, allocations: 105.6 kB / 249.1 MB, free: 9.703 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.01331, allocations: 127 kB / 249.2 MB, free: 9.555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.0134, allocations: 151.9 kB / 249.3 MB, free: 9.395 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.01341, allocations: 29.7 kB / 249.4 MB, free: 9.359 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.01345, allocations: 84.14 kB / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.01348, allocations: 19.88 kB / 249.5 MB, free: 9.254 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.01351, allocations: 17.72 kB / 249.5 MB, free: 9.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.01359, allocations: 322.8 kB / 249.8 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.01361, allocations: 4 kB / 249.8 MB, free: 8.902 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.01364, allocations: 40.39 kB / 249.8 MB, free: 8.848 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.359e-05/0.01369, allocations: 48.23 kB / 249.9 MB, free: 8.785 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01369, allocations: 0 / 249.9 MB, free: 8.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.415e-05/0.01378, allocations: 69.55 kB / 249.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01379, allocations: 8 kB / 250 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.0138, allocations: 8.141 kB / 250 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.01381, allocations: 3.938 kB / 250 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.01388, allocations: 11.94 kB / 250 MB, free: 8.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01388, allocations: 3.984 kB / 250 MB, free: 8.676 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/0.01391, allocations: 8 kB / 250 MB, free: 8.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.01392, allocations: 8 kB / 250 MB, free: 8.66 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.465e-05/0.014, allocations: 124.6 kB / 250.1 MB, free: 8.527 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.01409, allocations: 73.61 kB / 250.2 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.01412, allocations: 24.77 kB / 250.2 MB, free: 8.426 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.01413, allocations: 3.938 kB / 250.2 MB, free: 8.422 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01413, allocations: 8 kB / 250.2 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01414, allocations: 0 / 250.2 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.01426, allocations: 85.81 kB / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.01426, allocations: 3.984 kB / 250.3 MB, free: 8.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.994e-05/0.01434, allocations: 31.92 kB / 250.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003056/0.0174, allocations: 23.84 kB / 250.4 MB, free: 8.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.0174, allocations: 0 / 250.4 MB, free: 8.254 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.01741, allocations: 7.984 kB / 250.4 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.01742, allocations: 3.938 kB / 250.4 MB, free: 8.242 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01742, allocations: 0 / 250.4 MB, free: 8.242 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.152e-05/0.01751, allocations: 153.2 kB / 250.5 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.01753, allocations: 11.94 kB / 250.5 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.144e-05/0.01759, allocations: 4 kB / 250.5 MB, free: 8.055 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.01762, allocations: 7.938 kB / 250.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.01762, allocations: 0 / 250.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.562e-05/0.01766, allocations: 40.97 kB / 250.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01766, allocations: 0 / 250.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001973/0.01786, allocations: 20 kB / 250.6 MB, free: 7.984 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.855e-05/0.01793, allocations: 76.42 kB / 250.7 MB, free: 7.902 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.01804, allocations: 61.44 kB / 250.7 MB, free: 7.84 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.01804, allocations: 0 / 250.7 MB, free: 7.84 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-05/0.01806, allocations: 8.859 kB / 250.8 MB, free: 7.828 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.0184, allocations: 186.9 kB / 250.9 MB, free: 7.621 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008511/0.01925, allocations: 257.4 kB / 251.2 MB, free: 7.336 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.502e-05/0.01931, allocations: 83.84 kB / 251.3 MB, free: 7.234 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.378e-05/0.01934, allocations: 8.984 kB / 251.3 MB, free: 7.223 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.01942, allocations: 67.36 kB / 251.3 MB, free: 7.156 MB / 250.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01942, allocations: 0 / 251.3 MB, free: 7.156 MB / 250.7 MB Notification: Performance of Templates: time 0.006275/0.02569, allocations: 1.281 MB / 252.6 MB, free: 5.906 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.627099151723087]