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.001176/0.001176, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009631/0.0009631, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9343/0.9343, allocations: 177 MB / 205.2 MB, free: 5.031 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.152e-06/1.152e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.162e-05, allocations: 9.266 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.002298/0.00232, allocations: 2.018 MB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.003798, allocations: 1.32 MB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.003915, allocations: 7.938 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.004183, allocations: 71.53 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.004488, allocations: 151.2 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.005036, allocations: 271 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.005263, allocations: 223.4 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.005356, allocations: 34.48 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.005499, allocations: 143.5 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.005613, allocations: 79.78 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.005634, allocations: 12 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.005757, allocations: 71.94 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.366e-05/0.005821, allocations: 71.75 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.005873, allocations: 55.78 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.00613, allocations: 239 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.006132, allocations: 0 / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006133, allocations: 4 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.006136, allocations: 0 / 278.1 MB, free: 12.29 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.0004712/0.006607, allocations: 496.8 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.006636, allocations: 11.98 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.00668, allocations: 28.91 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.006897, allocations: 233.8 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.006915, allocations: 12.38 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.006932, allocations: 12.38 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.007209, allocations: 268.5 kB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.007216, allocations: 4.125 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.007226, allocations: 384 / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.007232, allocations: 7.938 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.53e-05/0.007287, allocations: 33.64 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.007553, allocations: 222.3 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.007712, allocations: 184.4 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.007762, allocations: 54.55 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.00778, allocations: 11.98 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.764e-05/0.007858, allocations: 78.03 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.007859, allocations: 0 / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002298/0.008089, allocations: 141.4 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.00814, allocations: 118.8 kB / 280 MB, free: 10.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.008298, allocations: 280.6 kB / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.008316, allocations: 29.7 kB / 280.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.008357, allocations: 113.1 kB / 280.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.008382, allocations: 23.84 kB / 280.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.008421, allocations: 41.67 kB / 280.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.008496, allocations: 330.8 kB / 280.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.008518, allocations: 22.75 kB / 280.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.008565, allocations: 83.69 kB / 280.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.008632, allocations: 86.67 kB / 281 MB, free: 9.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008634, allocations: 0 / 281 MB, free: 9.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.455e-05/0.008728, allocations: 100.4 kB / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.008739, allocations: 7.938 kB / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.008743, allocations: 4 kB / 281.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.008752, allocations: 3.984 kB / 281.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.008806, allocations: 15.94 kB / 281.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.008811, allocations: 4 kB / 281.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.008852, allocations: 20.09 kB / 281.1 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.008857, allocations: 0 / 281.1 MB, free: 8.984 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 7.263e-05/0.00893, allocations: 121.3 kB / 281.3 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/0.009005, allocations: 97.52 kB / 281.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.671e-05/0.009102, allocations: 95.44 kB / 281.4 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.009106, allocations: 4 kB / 281.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.009107, allocations: 0 / 281.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.009112, allocations: 3.984 kB / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.442e-05/0.009206, allocations: 125.7 kB / 281.6 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009208, allocations: 4 kB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.333e-05/0.009271, allocations: 27.98 kB / 281.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009273, allocations: 0 / 281.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-06/0.00928, allocations: 7.938 kB / 281.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.009283, allocations: 7.938 kB / 281.6 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009284, allocations: 0 / 281.6 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.511e-05/0.009369, allocations: 119.2 kB / 281.7 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.009419, allocations: 35.78 kB / 281.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.009444, allocations: 8 kB / 281.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.009481, allocations: 11.92 kB / 281.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.009512, allocations: 15.98 kB / 281.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.009523, allocations: 4 kB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.738e-05/0.009601, allocations: 103.5 kB / 281.9 MB, free: 8.133 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009601, allocations: 0 / 281.9 MB, free: 8.133 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001565/0.009757, allocations: 55.88 kB / 282 MB, free: 8.078 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.001044/0.0108, allocations: 0.5141 MB / 282.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.01092, allocations: 84.55 kB / 282.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.01092, allocations: 4 kB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.043e-05/0.01095, allocations: 16.86 kB / 282.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.01117, allocations: 120.8 kB / 282.7 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.01158, allocations: 418.6 kB / 283.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.01163, allocations: 96.3 kB / 283.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.933e-05/0.01168, allocations: 30.23 kB / 283.2 MB, free: 6.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/0.01178, allocations: 95.34 kB / 283.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01178, allocations: 0 / 283.3 MB, free: 6.844 MB / 266.7 MB Notification: Performance of Templates: time 0.005344/0.01712, allocations: 3.828 MB / 287.2 MB, free: 3.07 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.700242424849421]