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.00102/0.00102, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008236/0.0008237, allocations: 100.6 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.597e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09272, allocations: 51.48 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.4656, allocations: 77.66 MB / 472.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.466, allocations: 77.59 kB / 472.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01855/0.4845, allocations: 4.528 MB / 477.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4846, allocations: 0 / 477.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.4846, allocations: 4 kB / 477.4 MB, free: 11.35 MB / 346.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.0004529/0.4851, allocations: 399.3 kB / 477.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4851, allocations: 8.031 kB / 477.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002241/0.4854, allocations: 27.94 kB / 477.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.4856, allocations: 215.2 kB / 478.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.4857, allocations: 4.859 kB / 478.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.4857, allocations: 9.172 kB / 478.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001756/0.4859, allocations: 55.94 kB / 478.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004821/0.4864, allocations: 224.2 kB / 478.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4864, allocations: 0 / 478.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4864, allocations: 0 / 478.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4865, allocations: 4 kB / 478.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.4869, allocations: 283.7 kB / 478.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.4871, allocations: 122.8 kB / 478.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.4872, allocations: 61.12 kB / 478.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.4873, allocations: 9.641 kB / 478.8 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.4873, allocations: 34.56 kB / 478.9 MB, free: 9.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.964e-06/0.4873, allocations: 0 / 478.9 MB, free: 9.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003418/0.4877, allocations: 115 kB / 479 MB, free: 9.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.4878, allocations: 114.9 kB / 479.1 MB, free: 9.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.4879, allocations: 132.8 kB / 479.2 MB, free: 9.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.4879, allocations: 26.55 kB / 479.2 MB, free: 9.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.488, allocations: 97.91 kB / 479.3 MB, free: 9.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.488, allocations: 21.66 kB / 479.4 MB, free: 9.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.488, allocations: 0 / 479.4 MB, free: 9.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.4881, allocations: 322 kB / 479.7 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.4882, allocations: 21 kB / 479.7 MB, free: 9.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.963e-05/0.4883, allocations: 119.8 kB / 479.8 MB, free: 8.992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.179e-05/0.4883, allocations: 38.12 kB / 479.9 MB, free: 8.969 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4884, allocations: 0 / 479.9 MB, free: 8.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003023/0.4887, allocations: 155.6 kB / 480 MB, free: 8.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4887, allocations: 4 kB / 480 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4887, allocations: 7.688 kB / 480 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.4888, allocations: 8 kB / 480 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.4889, allocations: 29.39 kB / 480.1 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.489, allocations: 12 kB / 480.1 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.4891, allocations: 16.48 kB / 480.1 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.4892, allocations: 12 kB / 480.1 MB, free: 8.762 MB / 346.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 () * 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 7.272e-05/0.4892, allocations: 114.1 kB / 480.2 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.4895, allocations: 109.1 kB / 480.3 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.4896, allocations: 17.62 kB / 480.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4896, allocations: 0 / 480.3 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4896, allocations: 4 kB / 480.3 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4896, allocations: 5.172 kB / 480.3 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.4898, allocations: 168.9 kB / 480.5 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4898, allocations: 0 / 480.5 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.49, allocations: 28.25 kB / 480.5 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.49, allocations: 4 kB / 480.5 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.4901, allocations: 9.188 kB / 480.5 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4901, allocations: 4 kB / 480.5 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4901, allocations: 0 / 480.5 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.4904, allocations: 256.3 kB / 480.8 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.4905, allocations: 102.5 kB / 480.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.4905, allocations: 4 kB / 480.9 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.4907, allocations: 5.547 kB / 480.9 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.4907, allocations: 0.5 kB / 480.9 MB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.4907, allocations: 13.2 kB / 480.9 MB, free: 7.957 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.478e-05/0.4908, allocations: 109 kB / 481 MB, free: 7.863 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4908, allocations: 0 / 481 MB, free: 7.863 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005025/0.4914, allocations: 16 kB / 481 MB, free: 7.848 MB / 346.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 () * 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.0001343/0.4915, allocations: 100.7 kB / 481.1 MB, free: 7.742 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.4917, allocations: 84.19 kB / 481.2 MB, free: 7.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4918, allocations: 384 / 481.2 MB, free: 7.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.4918, allocations: 8 kB / 481.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.4923, allocations: 68.3 kB / 481.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.4928, allocations: 170.2 kB / 481.5 MB, free: 7.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.493, allocations: 0.7279 MB / 482.2 MB, free: 6.738 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.144e-05/0.4931, allocations: 16.67 kB / 482.2 MB, free: 6.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.4932, allocations: 12.94 kB / 482.2 MB, free: 6.711 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4932, allocations: 0 / 482.2 MB, free: 6.711 MB / 346.7 MB Notification: Performance of Templates: time 0.004959/0.4981, allocations: 1.02 MB / 483.2 MB, free: 5.941 MB / 346.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/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