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.001024/0.001024, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001202/0.001202, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.134/1.134, allocations: 177 MB / 205.2 MB, free: 5.039 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.653e-06/1.653e-06, allocations: 0 / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.708e-05, allocations: 5.125 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003/0.003027, allocations: 1.835 MB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.004107, allocations: 0.6074 MB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.004213, allocations: 11.88 kB / 275.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/0.00427, allocations: 11.86 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.004416, allocations: 7.875 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.004837, allocations: 107.5 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.004985, allocations: 99.69 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.005084, allocations: 22.28 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.005243, allocations: 55.88 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.005306, allocations: 35.89 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.005327, allocations: 8 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.697e-05/0.005384, allocations: 12 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.005433, allocations: 27.84 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.00547, allocations: 31.91 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.005637, allocations: 83.59 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.005642, allocations: 3.984 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005643, allocations: 0 / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.005648, allocations: 0 / 276.4 MB, free: 14.03 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.0003879/0.006036, allocations: 328.4 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.006072, allocations: 11.98 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.006196, allocations: 28.91 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.006657, allocations: 177.3 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.006678, allocations: 8.375 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.006691, allocations: 8.375 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.007009, allocations: 234.9 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.007017, allocations: 192 / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.007028, allocations: 12.36 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.007036, allocations: 3.938 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.356e-05/0.007079, allocations: 23.94 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.007299, allocations: 169.9 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.007437, allocations: 95.83 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.007498, allocations: 46.77 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.007526, allocations: 7.984 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.007555, allocations: 34.56 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.405e-06/0.007558, allocations: 0 / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.00019/0.007748, allocations: 113.4 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.007807, allocations: 110.8 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.00789, allocations: 162.5 kB / 277.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.007901, allocations: 25.7 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.007937, allocations: 92.11 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.007954, allocations: 15.91 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.007986, allocations: 29.62 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.008069, allocations: 318.8 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.008081, allocations: 7.984 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.008107, allocations: 36.3 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.711e-05/0.008154, allocations: 52.33 kB / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.008156, allocations: 0 / 278.5 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.317e-05/0.008229, allocations: 69.55 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.008242, allocations: 8 kB / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.008246, allocations: 4.156 kB / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.008262, allocations: 7.938 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-05/0.008304, allocations: 11.92 kB / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.008308, allocations: 0 / 278.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.00833, allocations: 7.938 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.008336, allocations: 4 kB / 278.6 MB, free: 11.57 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 7.386e-05/0.00841, allocations: 120.7 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.00849, allocations: 81.89 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.008519, allocations: 20.78 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.008524, allocations: 7.938 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.008526, allocations: 4 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.00853, allocations: 3.984 kB / 278.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.008638, allocations: 85.77 kB / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.00864, allocations: 0 / 278.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.008693, allocations: 27.92 kB / 279 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.008696, allocations: 4 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.008704, allocations: 8 kB / 279 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.008707, allocations: 3.984 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.008709, allocations: 7.984 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.16e-05/0.008791, allocations: 145.2 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.008828, allocations: 27.94 kB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.008842, allocations: 0 / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.008882, allocations: 8 kB / 279.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.008913, allocations: 11.86 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.008919, allocations: 4 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.768e-05/0.008947, allocations: 32.83 kB / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008947, allocations: 0 / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.009084, allocations: 12 kB / 279.2 MB, free: 10.9 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.436e-05/0.009178, allocations: 88.34 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.009261, allocations: 52.78 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.009264, allocations: 0 / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.009276, allocations: 12.8 kB / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.009511, allocations: 63.81 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.009994, allocations: 265.3 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.83e-05/0.01004, allocations: 75.7 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.637e-05/0.01007, allocations: 12.92 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.01014, allocations: 67.36 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01014, allocations: 0 / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of Templates: time 0.003082/0.01322, allocations: 1.28 MB / 281.1 MB, free: 8.957 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 -s gbode -gbm=radauIIA3 -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.8620886369608343]