Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 105.9 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 56.16 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3301, allocations: 50.46 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003692/0.3339, allocations: 1.807 MB / 408.9 MB, free: 26.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3351, allocations: 0.5688 MB / 409.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.3353, allocations: 3.938 kB / 409.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.366e-05/0.3354, allocations: 3.938 kB / 409.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.3355, allocations: 11.94 kB / 409.5 MB, free: 25.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.336, allocations: 89.97 kB / 409.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.3361, allocations: 87.77 kB / 409.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.3363, allocations: 37.08 kB / 409.7 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.3365, allocations: 39.8 kB / 409.7 MB, free: 25.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.3365, allocations: 51.7 kB / 409.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3366, allocations: 4 kB / 409.8 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.135e-05/0.3366, allocations: 12 kB / 409.8 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.3367, allocations: 23.91 kB / 409.8 MB, free: 25.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.3368, allocations: 51.66 kB / 409.8 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.3369, allocations: 103.6 kB / 409.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.337, allocations: 0 / 409.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.337, allocations: 0 / 409.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.337, allocations: 0 / 409.9 MB, free: 24.93 MB / 298.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.0006392/0.3376, allocations: 432.5 kB / 410.4 MB, free: 24.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3377, allocations: 8.875 kB / 410.4 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.3378, allocations: 28.73 kB / 410.4 MB, free: 24.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.3381, allocations: 213 kB / 410.6 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.448e-05/0.3382, allocations: 8.375 kB / 410.6 MB, free: 24.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.3382, allocations: 12.38 kB / 410.6 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.3387, allocations: 272.3 kB / 410.9 MB, free: 23.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3387, allocations: 0 / 410.9 MB, free: 23.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3387, allocations: 8 kB / 410.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3387, allocations: 4 kB / 410.9 MB, free: 23.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3389, allocations: 47.91 kB / 411 MB, free: 23.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.3392, allocations: 306.5 kB / 411.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.3394, allocations: 131.7 kB / 411.4 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3396, allocations: 82.77 kB / 411.5 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.3396, allocations: 3.984 kB / 411.5 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.3396, allocations: 38.56 kB / 411.5 MB, free: 23.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.3397, allocations: 0 / 411.5 MB, free: 23.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004007/0.3401, allocations: 181.5 kB / 411.7 MB, free: 22.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.3401, allocations: 119 kB / 411.8 MB, free: 22.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3403, allocations: 148.1 kB / 411.9 MB, free: 22.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.3403, allocations: 33.7 kB / 412 MB, free: 22.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.3404, allocations: 88.27 kB / 412.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.3404, allocations: 19.8 kB / 412.1 MB, free: 22.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.3404, allocations: 41.64 kB / 412.1 MB, free: 22.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.3405, allocations: 330.8 kB / 412.4 MB, free: 22.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.284e-05/0.3406, allocations: 23.98 kB / 412.5 MB, free: 22.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.3407, allocations: 134.1 kB / 412.6 MB, free: 21.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.3409, allocations: 174.3 kB / 412.8 MB, free: 21.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3409, allocations: 0 / 412.8 MB, free: 21.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002364/0.3412, allocations: 181.1 kB / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3412, allocations: 10.75 kB / 413 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3412, allocations: 4.531 kB / 413 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3412, allocations: 8 kB / 413 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3414, allocations: 31.92 kB / 413 MB, free: 21.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.3414, allocations: 11.94 kB / 413 MB, free: 21.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.621e-05/0.3415, allocations: 11.94 kB / 413 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3415, allocations: 8 kB / 413 MB, free: 21.47 MB / 298.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 ($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 (21): * Single equations (assignments): 21 * 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.0001085/0.3416, allocations: 145.6 kB / 413.2 MB, free: 21.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.3418, allocations: 117.4 kB / 413.3 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.3418, allocations: 20.72 kB / 413.3 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3418, allocations: 0 / 413.3 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3419, allocations: 4 kB / 413.3 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3419, allocations: 7.938 kB / 413.3 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.342, allocations: 189.6 kB / 413.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.342, allocations: 0 / 413.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3421, allocations: 32.39 kB / 413.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3422, allocations: 0 / 413.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3422, allocations: 11.98 kB / 413.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3422, allocations: 0 / 413.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3422, allocations: 0 / 413.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.3427, allocations: 0.8541 MB / 414.4 MB, free: 19.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.3427, allocations: 112.8 kB / 414.5 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3428, allocations: 4 kB / 414.5 MB, free: 19.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.3429, allocations: 8 kB / 414.5 MB, free: 19.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3429, allocations: 11.98 kB / 414.5 MB, free: 19.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3429, allocations: 4 kB / 414.5 MB, free: 19.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.959e-05/0.343, allocations: 117.7 kB / 414.7 MB, free: 19.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.343, allocations: 0 / 414.7 MB, free: 19.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003532/0.3434, allocations: 20 kB / 414.7 MB, free: 19.68 MB / 298.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 (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.0001086/0.3435, allocations: 99.19 kB / 414.8 MB, free: 19.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.3437, allocations: 112.1 kB / 414.9 MB, free: 19.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3437, allocations: 0 / 414.9 MB, free: 19.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.52e-05/0.3438, allocations: 7.984 kB / 414.9 MB, free: 19.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.3444, allocations: 82.3 kB / 415 MB, free: 19.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.345, allocations: 471 kB / 415.4 MB, free: 18.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3452, allocations: 0.7244 MB / 416.2 MB, free: 18.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.582e-05/0.3453, allocations: 5.438 kB / 416.2 MB, free: 18.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.3453, allocations: 19.42 kB / 416.2 MB, free: 18.09 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3453, allocations: 0 / 416.2 MB, free: 18.09 MB / 298.7 MB Notification: Performance of Templates: time 0.003923/0.3492, allocations: 1.189 MB / 417.4 MB, free: 16.91 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches