Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 180.8 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 240.3 MB, free: 11.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009157/0.0009156, allocations: 101.4 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003166, allocations: 7.938 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3069, allocations: 50.4 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.4256, allocations: 77.59 MB / 479.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.4259, allocations: 79.89 kB / 479.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01221/0.4381, allocations: 4.469 MB / 483.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4382, allocations: 0 / 483.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.4382, allocations: 4 kB / 483.6 MB, free: 14.36 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005325/0.4387, allocations: 418.8 kB / 484 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4388, allocations: 12.03 kB / 484.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.4389, allocations: 19.77 kB / 484.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.4391, allocations: 203.8 kB / 484.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.4391, allocations: 8 kB / 484.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.4392, allocations: 8 kB / 484.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.4397, allocations: 270.9 kB / 484.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4397, allocations: 0 / 484.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.4398, allocations: 7.953 kB / 484.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4398, allocations: 4 kB / 484.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.44, allocations: 51.91 kB / 484.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.4404, allocations: 318.4 kB / 484.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.4407, allocations: 131.8 kB / 485.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.4407, allocations: 8.141 kB / 485.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4408, allocations: 46.45 kB / 485.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.4408, allocations: 0 / 485.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004342/0.4412, allocations: 177.3 kB / 485.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.4414, allocations: 110.9 kB / 485.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.4415, allocations: 141.4 kB / 485.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.4416, allocations: 29.7 kB / 485.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.4416, allocations: 96.12 kB / 485.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.4417, allocations: 20.03 kB / 485.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.4417, allocations: 3.938 kB / 485.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4419, allocations: 326.8 kB / 486 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/0.4419, allocations: 24.36 kB / 486 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.4421, allocations: 142.4 kB / 486.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.989e-05/0.4422, allocations: 44 kB / 486.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4422, allocations: 4 kB / 486.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002817/0.4425, allocations: 181.2 kB / 486.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.4425, allocations: 11.12 kB / 486.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.4425, allocations: 7.984 kB / 486.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.4426, allocations: 7.953 kB / 486.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.4427, allocations: 31.92 kB / 486.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.4427, allocations: 7.938 kB / 486.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.995e-05/0.4428, allocations: 20.38 kB / 486.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.4429, allocations: 8 kB / 486.5 MB, free: 11.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.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 (21): * Single equations (assignments): 21 * 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.0001406/0.443, allocations: 148.6 kB / 486.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.4432, allocations: 105.5 kB / 486.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.4433, allocations: 24.7 kB / 486.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4433, allocations: 11.89 kB / 486.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4433, allocations: 4 kB / 486.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4433, allocations: 4 kB / 486.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.4436, allocations: 193.5 kB / 487 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4436, allocations: 4 kB / 487 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.4437, allocations: 27.98 kB / 487 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4437, allocations: 0 / 487 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4437, allocations: 4 kB / 487 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.4437, allocations: 0 / 487 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4438, allocations: 11.88 kB / 487 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.4441, allocations: 268.5 kB / 487.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.4442, allocations: 112.8 kB / 487.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.4442, allocations: 7.953 kB / 487.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.4443, allocations: 8 kB / 487.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.4444, allocations: 0 / 487.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.4444, allocations: 8 kB / 487.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.566e-05/0.4445, allocations: 115.2 kB / 487.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4445, allocations: 96 / 487.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002712/0.4448, allocations: 23.94 kB / 487.5 MB, free: 10.03 MB / 362.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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * 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 (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001703/0.4449, allocations: 115.5 kB / 487.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.4452, allocations: 108.2 kB / 487.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4452, allocations: 0 / 487.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.4453, allocations: 12 kB / 487.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.4456, allocations: 79.88 kB / 487.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.4462, allocations: 300.4 kB / 488.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.4465, allocations: 0.7282 MB / 488.9 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.456e-05/0.4466, allocations: 9.422 kB / 488.9 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.4466, allocations: 15.44 kB / 488.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4467, allocations: 0 / 488.9 MB, free: 8.605 MB / 362.7 MB Notification: Performance of Templates: time 0.004111/0.4508, allocations: 1.045 MB / 489.9 MB, free: 7.57 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches