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.00104/0.00104, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.001087/0.001087, allocations: 157.1 kB / 24.99 MB, free: 8.219 MB / 18.57 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 1.085/1.085, allocations: 177 MB / 205.2 MB, free: 5.555 MB / 186.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.293e-06/1.293e-06, allocations: 0 / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.076e-05, allocations: 2.312 kB / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002681/0.002712, allocations: 1.79 MB / 274.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009658/0.003678, allocations: 0.6035 MB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.0038, allocations: 7.938 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.705e-05/0.003867, allocations: 11.86 kB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.004044, allocations: 15.81 kB / 275.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.004451, allocations: 107.6 kB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.004588, allocations: 87.7 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.004706, allocations: 25.61 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.004895, allocations: 71.75 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.004957, allocations: 23.91 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.00498, allocations: 8 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-05/0.005031, allocations: 16 kB / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.005089, allocations: 23.91 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.005137, allocations: 27.91 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.00532, allocations: 87.64 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.005324, allocations: 0 / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.005325, allocations: 3.938 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.005331, allocations: 0 / 275.9 MB, free: 14.78 MB / 266.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.0005454/0.005877, allocations: 460 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.005917, allocations: 11.98 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.00606, allocations: 36.84 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.006256, allocations: 172.2 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.006284, allocations: 8.375 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.0063, allocations: 12.38 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.006674, allocations: 249.1 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.006682, allocations: 192 / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.0067, allocations: 8.375 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.006709, allocations: 7.938 kB / 276.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.874e-05/0.006768, allocations: 31.89 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.007078, allocations: 295.1 kB / 277.2 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.007259, allocations: 137.3 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.007421, allocations: 55.16 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.007444, allocations: 11.92 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.007468, allocations: 49.27 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/0.00747, allocations: 0 / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002785/0.007748, allocations: 141.7 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.007817, allocations: 110.9 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.00793, allocations: 213.8 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.007943, allocations: 33.7 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.007993, allocations: 138.9 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.008013, allocations: 11.91 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.008047, allocations: 27.38 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.008168, allocations: 0.4884 MB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.008193, allocations: 15.98 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/0.008233, allocations: 54.31 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.656e-05/0.008299, allocations: 70.48 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.008302, allocations: 0 / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001024/0.008405, allocations: 85.52 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.008421, allocations: 11.06 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.008426, allocations: 0 / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.008441, allocations: 8.156 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.008507, allocations: 7.984 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.008513, allocations: 0 / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.008538, allocations: 4 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.008546, allocations: 4 kB / 278.8 MB, free: 11.54 MB / 266.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 9.024e-05/0.008636, allocations: 169.4 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.008758, allocations: 113.9 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.008794, allocations: 20.78 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.008797, allocations: 0 / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.008802, allocations: 7.984 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.008806, allocations: 4 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.008919, allocations: 144.5 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008921, allocations: 0 / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.008992, allocations: 23.92 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.008995, allocations: 8 kB / 279.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.009006, allocations: 7.938 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.009009, allocations: 4 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009011, allocations: 0 / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.00919, allocations: 295.1 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.00923, allocations: 19.94 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.009249, allocations: 3.938 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.009296, allocations: 12 kB / 279.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.00933, allocations: 7.922 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.009336, allocations: 4 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.866e-05/0.009395, allocations: 155.2 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.009395, allocations: 0 / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001709/0.009566, allocations: 16 kB / 279.8 MB, free: 10.47 MB / 266.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 9.654e-05/0.009662, allocations: 103.2 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.00979, allocations: 59.78 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.009793, allocations: 0 / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.009806, allocations: 11.62 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.01014, allocations: 79.02 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.01071, allocations: 265.9 kB / 280.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.941e-05/0.01076, allocations: 75.33 kB / 280.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.749e-05/0.01078, allocations: 9.109 kB / 280.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.01082, allocations: 16.5 kB / 280.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01082, allocations: 0 / 280.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of Templates: time 0.003035/0.01385, allocations: 1.221 MB / 281.6 MB, free: 8.59 MB / 266.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 -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.8577141959685832]