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.001181/0.001181, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001162/0.001162, allocations: 167.3 kB / 25.61 MB, free: 8.473 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.024/1.024, allocations: 177 MB / 205.9 MB, free: 4.441 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.393e-06/1.393e-06, allocations: 0 / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.611e-05, allocations: 2.312 kB / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00587/0.005896, allocations: 1.797 MB / 275.9 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009732/0.006869, allocations: 0.5825 MB / 276.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.006969, allocations: 7.938 kB / 276.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.324e-05/0.007023, allocations: 13.59 kB / 276.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.007165, allocations: 19.8 kB / 276.5 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.01061, allocations: 103.6 kB / 276.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.01076, allocations: 95.55 kB / 276.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.01086, allocations: 26.27 kB / 276.8 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.01103, allocations: 60.5 kB / 276.8 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.515e-05/0.01109, allocations: 39.81 kB / 276.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.01111, allocations: 4.656 kB / 276.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.676e-05/0.01116, allocations: 18.47 kB / 276.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.341e-05/0.01121, allocations: 23.92 kB / 276.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.01125, allocations: 27.91 kB / 276.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.01142, allocations: 83.59 kB / 277 MB, free: 1.363 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.01142, allocations: 0 / 277 MB, free: 1.363 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01142, allocations: 0 / 277 MB, free: 1.363 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.01143, allocations: 0 / 277 MB, free: 1.363 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.0004548/0.01188, allocations: 461.8 kB / 277.5 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.01192, allocations: 8.031 kB / 277.5 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.01205, allocations: 36.83 kB / 277.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.01225, allocations: 176.9 kB / 277.7 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.01227, allocations: 8.375 kB / 277.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.01229, allocations: 8.375 kB / 277.7 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.0126, allocations: 247.9 kB / 277.9 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.01261, allocations: 192 / 277.9 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.01262, allocations: 384 / 277.9 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.01263, allocations: 3.938 kB / 278 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.01267, allocations: 23.92 kB / 278 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.01292, allocations: 271.7 kB / 278.2 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.01309, allocations: 133.1 kB / 278.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/0.01616, allocations: 67.36 kB / 278.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.01618, allocations: 7.984 kB / 278.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.01621, allocations: 41.39 kB / 278.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.01621, allocations: 0 / 278.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002371/0.01645, allocations: 125.4 kB / 278.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.01651, allocations: 114.8 kB / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.01662, allocations: 207.3 kB / 278.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.01664, allocations: 37.58 kB / 279 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.01669, allocations: 138.9 kB / 279.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.01672, allocations: 23.88 kB / 279.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.01675, allocations: 27.5 kB / 279.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.01688, allocations: 0.4923 MB / 279.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/0.0169, allocations: 4 kB / 279.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.866e-05/0.01694, allocations: 54.41 kB / 279.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.748e-05/0.017, allocations: 58.38 kB / 279.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.017, allocations: 0 / 279.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001109/0.01711, allocations: 85.5 kB / 279.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01712, allocations: 4 kB / 279.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01713, allocations: 11.94 kB / 279.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.01714, allocations: 0 / 279.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.01719, allocations: 8 kB / 279.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.0172, allocations: 7.938 kB / 279.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.01723, allocations: 3.984 kB / 279.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.01724, allocations: 4 kB / 279.9 MB, free: 14.2 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 8.772e-05/0.01733, allocations: 166.6 kB / 280 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.01745, allocations: 109.5 kB / 280.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.01749, allocations: 16.72 kB / 280.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01749, allocations: 4 kB / 280.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01749, allocations: 0 / 280.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.0175, allocations: 4 kB / 280.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.01764, allocations: 125.1 kB / 280.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01764, allocations: 0 / 280.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.01772, allocations: 27.92 kB / 280.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01772, allocations: 0 / 280.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.01773, allocations: 4 kB / 280.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.01773, allocations: 8 kB / 280.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01773, allocations: 3.938 kB / 280.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.01785, allocations: 207.6 kB / 280.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.0179, allocations: 23.89 kB / 280.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.01792, allocations: 8 kB / 280.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.106e-05/0.01798, allocations: 0 / 280.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.01801, allocations: 11.92 kB / 280.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-06/0.01802, allocations: 4 kB / 280.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.738e-05/0.01809, allocations: 155.9 kB / 280.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01809, allocations: 0 / 280.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.01833, allocations: 24.03 kB / 280.8 MB, free: 13.25 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 0.0001066/0.01843, allocations: 103.2 kB / 280.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001119/0.01854, allocations: 51.53 kB / 280.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01855, allocations: 0 / 280.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.405e-05/0.01856, allocations: 7.688 kB / 280.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.01893, allocations: 75.81 kB / 281 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.02245, allocations: 266.3 kB / 281.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.48e-05/0.02251, allocations: 79.19 kB / 281.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.947e-05/0.02254, allocations: 8.969 kB / 281.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.02262, allocations: 86.19 kB / 281.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02262, allocations: 0 / 281.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of Templates: time 0.006465/0.02908, allocations: 1.327 MB / 282.7 MB, free: 11.21 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.80085307918489]