Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 152 kB / 24.81 MB, free: 9.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.012/1.012, allocations: 173.3 MB / 201.4 MB, free: 9.234 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.694e-05, allocations: 2.312 kB / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002953/0.00298, allocations: 1.784 MB / 270.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006739/0.003653, allocations: 0.5218 MB / 270.7 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.003735, allocations: 7.938 kB / 270.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.058e-05/0.003776, allocations: 11.81 kB / 270.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.003888, allocations: 15.86 kB / 270.8 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.004134, allocations: 95.64 kB / 270.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.989e-05/0.004224, allocations: 95.69 kB / 270.9 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.584e-05/0.00429, allocations: 17.3 kB / 271 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.004368, allocations: 59.81 kB / 271 MB, free: 3.586 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.098e-05/0.004409, allocations: 31.89 kB / 271.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.004425, allocations: 8 kB / 271.1 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.004437, allocations: 8 kB / 271.1 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.004472, allocations: 23.91 kB / 271.1 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.004499, allocations: 31.91 kB / 271.1 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.647e-05/0.004595, allocations: 79.59 kB / 271.2 MB, free: 3.406 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004597, allocations: 0 / 271.2 MB, free: 3.406 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004598, allocations: 4 kB / 271.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.004601, allocations: 4 kB / 271.2 MB, free: 3.398 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.0003084/0.00491, allocations: 456 kB / 271.7 MB, free: 2.918 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.004939, allocations: 8.031 kB / 271.7 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.00497, allocations: 24.84 kB / 271.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.005095, allocations: 164.2 kB / 271.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.005108, allocations: 8.375 kB / 271.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.00512, allocations: 16.38 kB / 271.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.005342, allocations: 243.4 kB / 272.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.005347, allocations: 4.188 kB / 272.1 MB, free: 2.406 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.005354, allocations: 4.375 kB / 272.1 MB, free: 2.402 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.00536, allocations: 7.938 kB / 272.1 MB, free: 2.395 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.119e-05/0.005391, allocations: 23.86 kB / 272.1 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.005565, allocations: 271.7 kB / 272.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.005678, allocations: 125.3 kB / 272.5 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/0.005723, allocations: 51.16 kB / 272.6 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.005745, allocations: 7.984 kB / 272.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.005763, allocations: 45.39 kB / 272.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 8.92e-07/0.005764, allocations: 0 / 272.6 MB, free: 1.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001603/0.005924, allocations: 133.5 kB / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.005975, allocations: 122.7 kB / 272.9 MB, free: 1.504 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.006056, allocations: 201.8 kB / 273.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.006065, allocations: 25.7 kB / 273.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.006109, allocations: 142.9 kB / 273.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.006122, allocations: 15.88 kB / 273.3 MB, free: 1.098 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.006151, allocations: 31.31 kB / 273.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.006259, allocations: 0.4924 MB / 273.8 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.00627, allocations: 12 kB / 273.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.006302, allocations: 54.41 kB / 273.9 MB, free: 480 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.006345, allocations: 58.38 kB / 273.9 MB, free: 400 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.006346, allocations: 0 / 273.9 MB, free: 400 kB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.779e-05/0.006414, allocations: 85.61 kB / 274 MB, free: 308 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.006422, allocations: 4 kB / 274 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.006427, allocations: 7.938 kB / 274 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.006433, allocations: 0 / 274 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.719e-05/0.006471, allocations: 11.92 kB / 274 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.006474, allocations: 4 kB / 274 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.006495, allocations: 0 / 274 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.0065, allocations: 4 kB / 274 MB, free: 276 kB / 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 6.877e-05/0.006568, allocations: 164.5 kB / 274.2 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.006673, allocations: 101.6 kB / 274.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.006699, allocations: 28.72 kB / 274.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.006701, allocations: 4 kB / 274.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.006703, allocations: 3.938 kB / 274.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.006705, allocations: 0 / 274.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.23e-05/0.006797, allocations: 117.2 kB / 274.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.006799, allocations: 4 kB / 274.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.006847, allocations: 19.98 kB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.006853, allocations: 4 kB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.00686, allocations: 7.984 kB / 274.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006861, allocations: 0 / 274.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.006863, allocations: 7.938 kB / 274.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.721e-05/0.00694, allocations: 207.2 kB / 274.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.006975, allocations: 31.81 kB / 274.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.006989, allocations: 4 kB / 274.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.914e-05/0.007028, allocations: 8 kB / 274.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.007041, allocations: 3.938 kB / 274.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-06/0.007046, allocations: 4 kB / 274.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.71e-05/0.007093, allocations: 154.2 kB / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007093, allocations: 0 / 274.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001502/0.007244, allocations: 15.94 kB / 274.9 MB, free: 15.33 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 6.71e-05/0.007311, allocations: 111.6 kB / 275 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.336e-05/0.007384, allocations: 59.58 kB / 275.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.007385, allocations: 0 / 275.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.007394, allocations: 7.688 kB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.007624, allocations: 68.75 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.008001, allocations: 273 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.008041, allocations: 75.33 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.002e-05/0.008061, allocations: 8.953 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.008119, allocations: 86.2 kB / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of SimCode: time 3.61e-07/0.008119, allocations: 0 / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Templates: time 0.002393/0.01051, allocations: 1.315 MB / 276.9 MB, free: 13.29 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7337535158731043]