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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001285, allocations: 196.6 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007832/0.000783, allocations: 91.33 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003438, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3109, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.4339, allocations: 82.88 MB / 492.3 MB, free: 8.621 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.4343, allocations: 83.89 kB / 492.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02815/0.4624, allocations: 9.873 MB / 0.4904 GB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4625, allocations: 0 / 0.4904 GB, free: 14.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.266e-05/0.4625, allocations: 8 kB / 0.4904 GB, free: 14.66 MB / 378.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.00101/0.4635, allocations: 0.5974 MB / 0.491 GB, free: 14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.4636, allocations: 8.031 kB / 0.491 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.4637, allocations: 32.56 kB / 0.4911 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.4644, allocations: 327.4 kB / 0.4914 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.4644, allocations: 12.38 kB / 0.4914 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.4644, allocations: 16.38 kB / 0.4914 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/0.4651, allocations: 313.4 kB / 0.4917 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4651, allocations: 192 / 0.4917 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.4651, allocations: 11.92 kB / 0.4917 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.4652, allocations: 4 kB / 0.4917 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.4653, allocations: 71.89 kB / 0.4918 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.466, allocations: 454 kB / 0.4922 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.4664, allocations: 196.9 kB / 0.4924 GB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.4666, allocations: 94.53 kB / 0.4925 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.4666, allocations: 4 kB / 0.4925 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.4668, allocations: 79.31 kB / 0.4926 GB, free: 12.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.4668, allocations: 4 kB / 0.4926 GB, free: 12.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005723/0.4674, allocations: 253.4 kB / 0.4928 GB, free: 11.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.4675, allocations: 174.2 kB / 0.493 GB, free: 11.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.4679, allocations: 350.8 kB / 0.4933 GB, free: 11.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.468, allocations: 33.7 kB / 0.4934 GB, free: 11.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.4681, allocations: 132.6 kB / 0.4935 GB, free: 11.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.4682, allocations: 27.8 kB / 0.4935 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.4682, allocations: 4 kB / 0.4935 GB, free: 11.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4683, allocations: 346.8 kB / 0.4938 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.4685, allocations: 44.44 kB / 0.4939 GB, free: 10.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.4687, allocations: 194.9 kB / 0.4941 GB, free: 10.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.469, allocations: 215.2 kB / 0.4943 GB, free: 10.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.469, allocations: 3.984 kB / 0.4943 GB, free: 10.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004254/0.4694, allocations: 236.9 kB / 0.4945 GB, free: 10.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4695, allocations: 8 kB / 0.4945 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.4695, allocations: 8.297 kB / 0.4945 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.4695, allocations: 4 kB / 0.4945 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.4697, allocations: 44.45 kB / 0.4946 GB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4697, allocations: 8 kB / 0.4946 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.4698, allocations: 15.91 kB / 0.4946 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.4699, allocations: 23.92 kB / 0.4946 GB, free: 9.961 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sum.y,sum.u[2],sum.u[1],upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.4701, allocations: 179.8 kB / 0.4948 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.4703, allocations: 149.9 kB / 0.4949 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.4706, allocations: 127.4 kB / 0.4951 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.4706, allocations: 8 kB / 0.4951 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4706, allocations: 0 / 0.4951 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4707, allocations: 0 / 0.4951 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.4709, allocations: 281.4 kB / 0.4953 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.471, allocations: 0 / 0.4953 GB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.4711, allocations: 27.92 kB / 0.4954 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4711, allocations: 4 kB / 0.4954 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.4711, allocations: 11.98 kB / 0.4954 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4712, allocations: 0 / 0.4954 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4712, allocations: 0 / 0.4954 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.4716, allocations: 266 kB / 0.4956 GB, free: 8.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.4718, allocations: 136.7 kB / 0.4958 GB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.4718, allocations: 8 kB / 0.4958 GB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.4719, allocations: 8.047 kB / 0.4958 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.472, allocations: 11.97 kB / 0.4958 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.472, allocations: 11.98 kB / 0.4958 GB, free: 8.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003002/0.4723, allocations: 253.9 kB / 0.496 GB, free: 8.387 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4723, allocations: 0 / 0.496 GB, free: 8.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003918/0.4727, allocations: 75.78 kB / 0.4961 GB, free: 8.312 MB / 378.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,sample1.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.4738, allocations: 445.1 kB / 0.4965 GB, free: 8.016 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.4742, allocations: 172 kB / 0.4967 GB, free: 7.848 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4742, allocations: 0 / 0.4967 GB, free: 7.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.618e-05/0.4743, allocations: 27.98 kB / 0.4967 GB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/0.4749, allocations: 123.4 kB / 0.4968 GB, free: 7.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008794/0.4758, allocations: 0.5137 MB / 0.4973 GB, free: 7.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.4762, allocations: 0.7719 MB / 0.4981 GB, free: 6.352 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.4764, allocations: 34.66 kB / 0.4981 GB, free: 6.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.4764, allocations: 31.44 kB / 0.4982 GB, free: 6.289 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4764, allocations: 0 / 0.4982 GB, free: 6.289 MB / 378.7 MB Notification: Performance of Templates: time 0.007748/0.4842, allocations: 3.405 MB / 0.5015 GB, free: 2.906 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/UpSample/UpSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches