Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.001889/0.001889, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001206/0.001206, allocations: 170 kB / 24.82 MB, free: 9.254 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 0.9978/0.9978, allocations: 177 MB / 205.1 MB, free: 5.492 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.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.694e-05, allocations: 2.312 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.0028/0.002817, allocations: 2.009 MB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.004924, allocations: 1.3 MB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.005039, allocations: 3.938 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.005262, allocations: 71.59 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.00559, allocations: 147.2 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.006095, allocations: 275 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.006317, allocations: 219.4 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.0064, allocations: 40.44 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.006528, allocations: 131.6 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.006637, allocations: 91.75 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.006657, allocations: 12 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.006775, allocations: 71.95 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.006834, allocations: 75.69 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.006879, allocations: 51.77 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.007112, allocations: 235.1 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.007114, allocations: 4 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.007115, allocations: 0 / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.007118, allocations: 0 / 278 MB, free: 12.51 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005499/0.007668, allocations: 0.6138 MB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.007699, allocations: 15.98 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.007754, allocations: 40.75 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.007962, allocations: 244.6 kB / 278.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.007982, allocations: 20.38 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.007997, allocations: 12.38 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.008286, allocations: 276.9 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.008294, allocations: 192 / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.008302, allocations: 384 / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.008309, allocations: 7.938 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.149e-05/0.00836, allocations: 31.91 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.008655, allocations: 339.6 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.008816, allocations: 173.4 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.008876, allocations: 67.16 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.008894, allocations: 4 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.713e-05/0.008971, allocations: 76.97 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.008972, allocations: 0 / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002352/0.009207, allocations: 189.2 kB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.009255, allocations: 122.7 kB / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.009436, allocations: 342.1 kB / 280.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.009453, allocations: 29.7 kB / 280.6 MB, free: 9.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.009524, allocations: 179.3 kB / 280.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.009548, allocations: 31.83 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.009594, allocations: 51.3 kB / 280.8 MB, free: 9.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.009703, allocations: 0.5079 MB / 281.3 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.009722, allocations: 11.98 kB / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.009779, allocations: 111.4 kB / 281.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.741e-05/0.009847, allocations: 90.03 kB / 281.6 MB, free: 8.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.009848, allocations: 4.031 kB / 281.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001189/0.009967, allocations: 133.3 kB / 281.7 MB, free: 8.492 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.009978, allocations: 7.125 kB / 281.7 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.009982, allocations: 0 / 281.7 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.009994, allocations: 4 kB / 281.7 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.01005, allocations: 15.98 kB / 281.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01005, allocations: 4 kB / 281.7 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.0101, allocations: 160 / 281.7 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.01011, allocations: 12.31 kB / 281.7 MB, free: 8.453 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$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 (16): * Single equations (assignments): 16 * 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.052e-05/0.01019, allocations: 180.8 kB / 281.9 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.01034, allocations: 121.4 kB / 282 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.01045, allocations: 107.4 kB / 282.1 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.01046, allocations: 4 kB / 282.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.01046, allocations: 4 kB / 282.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.01046, allocations: 0 / 282.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.01057, allocations: 165.1 kB / 282.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01058, allocations: 0 / 282.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-05/0.01064, allocations: 31.98 kB / 282.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01064, allocations: 3.984 kB / 282.3 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.01065, allocations: 8 kB / 282.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01066, allocations: 3.938 kB / 282.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01066, allocations: 0 / 282.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.01076, allocations: 155.5 kB / 282.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.01082, allocations: 47.77 kB / 282.5 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.01084, allocations: 4 kB / 282.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.921e-05/0.01088, allocations: 11.94 kB / 282.6 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.01091, allocations: 11.98 kB / 282.6 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.01092, allocations: 11.98 kB / 282.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.01102, allocations: 222.9 kB / 282.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01102, allocations: 0 / 282.8 MB, free: 7.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.0112, allocations: 47.94 kB / 282.9 MB, free: 7.254 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: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007589/0.01196, allocations: 407.5 kB / 283.3 MB, free: 6.961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.01208, allocations: 83.38 kB / 283.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01208, allocations: 0 / 283.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.01212, allocations: 31.66 kB / 283.4 MB, free: 6.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.01239, allocations: 115.8 kB / 283.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.01279, allocations: 427.1 kB / 283.9 MB, free: 6.273 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.902e-05/0.01284, allocations: 96.3 kB / 284 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.496e-05/0.01288, allocations: 21.95 kB / 284 MB, free: 6.137 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.01299, allocations: 118.2 kB / 284.1 MB, free: 6.02 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01299, allocations: 0 / 284.1 MB, free: 6.02 MB / 266.7 MB Notification: Performance of Templates: time 0.005093/0.01808, allocations: 3.861 MB / 288 MB, free: 2.219 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.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.9676989167928696]