Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.001231/0.001231, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00199/0.003222, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001261/0.001261, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00171/0.00297, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9225/0.9225, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1733/1.096, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.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.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 239.7 MB, free: 6.387 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.547e-05, allocations: 2.312 kB / 239.7 MB, free: 6.383 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003492/0.003518, allocations: 2.04 MB / 241.8 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.005541, allocations: 1.192 MB / 243 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.005665, allocations: 7.938 kB / 243 MB, free: 3.145 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.005924, allocations: 75.42 kB / 243 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.00616, allocations: 103.5 kB / 243.2 MB, free: 2.969 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.006851, allocations: 300.1 kB / 243.4 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.00714, allocations: 215.3 kB / 243.7 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.007259, allocations: 33.59 kB / 243.7 MB, free: 2.438 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.007487, allocations: 167.5 kB / 243.9 MB, free: 2.273 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.007651, allocations: 83.77 kB / 243.9 MB, free: 2.191 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.007686, allocations: 19.94 kB / 244 MB, free: 2.172 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.007874, allocations: 67.94 kB / 244 MB, free: 2.105 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.759e-05/0.007961, allocations: 59.8 kB / 244.1 MB, free: 2.047 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.008024, allocations: 35.88 kB / 244.1 MB, free: 2.012 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.008352, allocations: 215.1 kB / 244.3 MB, free: 1.801 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.008361, allocations: 0.8125 kB / 244.3 MB, free: 1.801 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008362, allocations: 0 / 244.3 MB, free: 1.801 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.008376, allocations: 0 / 244.3 MB, free: 1.801 MB / 234.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.0007811/0.009157, allocations: 0.5173 MB / 244.8 MB, free: 1.254 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.0092, allocations: 12.02 kB / 244.9 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.00927, allocations: 25.89 kB / 244.9 MB, free: 1.219 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.009591, allocations: 222.8 kB / 245.1 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.009615, allocations: 10.16 kB / 245.1 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.009643, allocations: 20.36 kB / 245.1 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.01006, allocations: 263.6 kB / 245.4 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01007, allocations: 3.938 kB / 245.4 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.01009, allocations: 8 kB / 245.4 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.01009, allocations: 5.406 kB / 245.4 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.596e-05/0.01017, allocations: 41.61 kB / 245.4 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.01052, allocations: 222.4 kB / 245.7 MB, free: 372 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.01076, allocations: 193.3 kB / 245.8 MB, free: 148 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.01084, allocations: 55.23 kB / 245.9 MB, free: 84 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.01086, allocations: 9.625 kB / 245.9 MB, free: 76 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.01101, allocations: 78.16 kB / 246 MB, free: 15.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 2.204e-06/0.01101, allocations: 0 / 246 MB, free: 15.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002584/0.01127, allocations: 125.5 kB / 246.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.01135, allocations: 119.9 kB / 246.2 MB, free: 15.71 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.01159, allocations: 276.6 kB / 246.5 MB, free: 15.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.01161, allocations: 29.7 kB / 246.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.01167, allocations: 110.1 kB / 246.6 MB, free: 15.29 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.01171, allocations: 31.77 kB / 246.7 MB, free: 15.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.01176, allocations: 34.69 kB / 246.7 MB, free: 15.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.01188, allocations: 338.8 kB / 247 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.01191, allocations: 10.83 kB / 247 MB, free: 14.86 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.01198, allocations: 88.44 kB / 247.1 MB, free: 14.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.837e-05/0.01208, allocations: 80.64 kB / 247.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01208, allocations: 5.656 kB / 247.2 MB, free: 14.65 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001456/0.01223, allocations: 100.3 kB / 247.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01224, allocations: 8.188 kB / 247.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.01225, allocations: 7.984 kB / 247.3 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01227, allocations: 0 / 247.3 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01237, allocations: 20 kB / 247.3 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.01238, allocations: 11.92 kB / 247.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.01244, allocations: 3.953 kB / 247.4 MB, free: 14.49 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.01245, allocations: 4 kB / 247.4 MB, free: 14.49 MB / 250.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 0.0001043/0.01255, allocations: 132.9 kB / 247.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.01267, allocations: 97.52 kB / 247.6 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.01282, allocations: 91.78 kB / 247.7 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01282, allocations: 4 kB / 247.7 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.01282, allocations: 0 / 247.7 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01283, allocations: 3.984 kB / 247.7 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.01298, allocations: 129.7 kB / 247.8 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.01298, allocations: 7.938 kB / 247.8 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.0131, allocations: 27.98 kB / 247.8 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.01317, allocations: 43.72 kB / 247.9 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01318, allocations: 0 / 247.9 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.01319, allocations: 7.984 kB / 247.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01319, allocations: 3.938 kB / 247.9 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.0132, allocations: 4 kB / 247.9 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.01333, allocations: 111.3 kB / 248 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.01336, allocations: 11.94 kB / 248 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-05/0.01342, allocations: 4 kB / 248 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.01347, allocations: 11.97 kB / 248 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.01349, allocations: 8 kB / 248 MB, free: 13.73 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.01361, allocations: 103.5 kB / 248.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01361, allocations: 0 / 248.1 MB, free: 13.62 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.01385, allocations: 39.98 kB / 248.2 MB, free: 13.59 MB / 250.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.001293/0.01515, allocations: 0.5817 MB / 248.8 MB, free: 13.28 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.01529, allocations: 72.69 kB / 248.8 MB, free: 13.2 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.0153, allocations: 4 kB / 248.8 MB, free: 13.2 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.01535, allocations: 24.86 kB / 248.9 MB, free: 13.17 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.01576, allocations: 449.9 kB / 249.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/0.01637, allocations: 414.9 kB / 249.7 MB, free: 12.22 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.76e-05/0.01642, allocations: 100.3 kB / 249.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.58e-05/0.01647, allocations: 21.94 kB / 249.8 MB, free: 12.08 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.01658, allocations: 99.28 kB / 249.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01658, allocations: 3.938 kB / 249.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of Templates: time 0.005691/0.02227, allocations: 3.877 MB / 253.8 MB, free: 8.18 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.619132953695953]