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.0009635/0.0009635, 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.0009264/0.0009264, allocations: 159.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.9622/0.9622, allocations: 177 MB / 205.2 MB, free: 5.047 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.633e-06/1.633e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.659e-05, allocations: 5.266 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.002888/0.002905, allocations: 2.057 MB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.004418, allocations: 1.316 MB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.004524, allocations: 7.938 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.004808, allocations: 79.47 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.005068, allocations: 139.3 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.005523, allocations: 259 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.005732, allocations: 231.3 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.827e-05/0.00583, allocations: 42.41 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.005958, allocations: 131.6 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.00607, allocations: 87.75 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.006092, allocations: 12 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.00622, allocations: 75.94 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.006278, allocations: 67.77 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.006333, allocations: 55.77 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.006566, allocations: 231.1 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.00657, allocations: 7.984 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006571, allocations: 0 / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.006574, allocations: 0 / 278.2 MB, free: 12.22 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.0004632/0.007037, allocations: 0.489 MB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.007072, allocations: 15.97 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.007116, allocations: 28.92 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.007336, allocations: 225.8 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.007355, allocations: 12.38 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.00737, allocations: 12.38 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.007664, allocations: 272.5 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.007672, allocations: 4.172 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.007681, allocations: 384 / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.007687, allocations: 11.88 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.427e-05/0.007742, allocations: 49.5 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.007995, allocations: 222.3 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.008149, allocations: 180.4 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.008197, allocations: 50.56 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.008214, allocations: 4 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.192e-05/0.008306, allocations: 74.09 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.008308, allocations: 0 / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.000185/0.008493, allocations: 145.5 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.008551, allocations: 118.8 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.008722, allocations: 276.6 kB / 280.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.008741, allocations: 29.7 kB / 280.4 MB, free: 9.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.008789, allocations: 109.1 kB / 280.5 MB, free: 9.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.008813, allocations: 27.83 kB / 280.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.008852, allocations: 37.69 kB / 280.5 MB, free: 9.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.009077, allocations: 334.8 kB / 280.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.009098, allocations: 22.75 kB / 280.9 MB, free: 9.281 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.009149, allocations: 87.69 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.008e-05/0.009219, allocations: 74.72 kB / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.009221, allocations: 0 / 281.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001013/0.009322, allocations: 108.5 kB / 281.2 MB, free: 8.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.009334, allocations: 12.12 kB / 281.2 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.009339, allocations: 8.062 kB / 281.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.009349, allocations: 0 / 281.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.009408, allocations: 19.98 kB / 281.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.009411, allocations: 320 / 281.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.009453, allocations: 11.95 kB / 281.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.009459, allocations: 4 kB / 281.2 MB, free: 8.906 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.219e-05/0.009531, allocations: 132.6 kB / 281.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.009602, allocations: 89.53 kB / 281.4 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.755e-05/0.0097, allocations: 91.52 kB / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.009702, allocations: 3.938 kB / 281.5 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.009706, allocations: 4 kB / 281.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009709, allocations: 0 / 281.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.492e-05/0.009804, allocations: 129.6 kB / 281.7 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.009807, allocations: 7.969 kB / 281.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.009877, allocations: 27.98 kB / 281.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.009878, allocations: 4 kB / 281.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.009887, allocations: 4 kB / 281.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.009891, allocations: 7.938 kB / 281.7 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.009892, allocations: 0 / 281.7 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.123e-05/0.009973, allocations: 119.2 kB / 281.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.01002, allocations: 39.77 kB / 281.9 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.01005, allocations: 8 kB / 281.9 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.01008, allocations: 7.938 kB / 281.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.01011, allocations: 11.98 kB / 281.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.01013, allocations: 7.984 kB / 281.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.031e-05/0.01021, allocations: 103.5 kB / 282 MB, free: 8.047 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01021, allocations: 0 / 282 MB, free: 8.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001446/0.01035, allocations: 47.95 kB / 282 MB, free: 8 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.001033/0.01139, allocations: 0.526 MB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.0115, allocations: 72.61 kB / 282.6 MB, free: 7.586 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.01151, allocations: 4 kB / 282.6 MB, free: 7.582 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.01154, allocations: 24.78 kB / 282.7 MB, free: 7.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.01178, allocations: 121 kB / 282.8 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.01221, allocations: 414.7 kB / 283.2 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.22e-05/0.01226, allocations: 100.2 kB / 283.3 MB, free: 6.879 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.463e-05/0.01231, allocations: 21.94 kB / 283.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.731e-05/0.01241, allocations: 91.36 kB / 283.4 MB, free: 6.77 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01241, allocations: 0 / 283.4 MB, free: 6.77 MB / 266.7 MB Notification: Performance of Templates: time 0.005201/0.01761, allocations: 3.853 MB / 287.3 MB, free: 2.973 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 -s gbode -gbm=radauIIA3 -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.741768791805953]