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.0009834/0.0009834, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008762/0.0008763, allocations: 110 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000239/0.0002392, allocations: 8 kB / 357.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1813, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08711/0.2684, allocations: 78.39 MB / 487.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.2687, allocations: 83.95 kB / 487.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01228/0.281, allocations: 4.582 MB / 492.5 MB, free: 7.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.281, allocations: 0 / 492.5 MB, free: 7.535 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.2811, allocations: 11.94 kB / 492.5 MB, free: 7.523 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.0004573/0.2815, allocations: 410.8 kB / 492.9 MB, free: 7.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2816, allocations: 8.031 kB / 492.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.2817, allocations: 23.81 kB / 492.9 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.2819, allocations: 215.6 kB / 493.1 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.282, allocations: 8 kB / 493.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.282, allocations: 15.95 kB / 493.1 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004814/0.2825, allocations: 263.5 kB / 493.4 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2825, allocations: 0 / 493.4 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2825, allocations: 4 kB / 493.4 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2826, allocations: 7.984 kB / 493.4 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2827, allocations: 51.92 kB / 493.5 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.2831, allocations: 310.5 kB / 493.8 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.2833, allocations: 147.8 kB / 493.9 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.2833, allocations: 4.062 kB / 493.9 MB, free: 5.895 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.2834, allocations: 38.66 kB / 494 MB, free: 5.848 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.2834, allocations: 0 / 494 MB, free: 5.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003881/0.2838, allocations: 177.5 kB / 494.1 MB, free: 5.668 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/0.2839, allocations: 118.8 kB / 494.2 MB, free: 5.527 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.284, allocations: 143.8 kB / 494.4 MB, free: 5.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.284, allocations: 29.7 kB / 494.4 MB, free: 5.348 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.2841, allocations: 88.14 kB / 494.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.2841, allocations: 15.89 kB / 494.5 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.2841, allocations: 4 kB / 494.5 MB, free: 5.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2842, allocations: 322.9 kB / 494.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.2843, allocations: 28.36 kB / 494.9 MB, free: 4.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.2844, allocations: 142.4 kB / 495 MB, free: 4.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.626e-05/0.2845, allocations: 51.98 kB / 495.1 MB, free: 4.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2845, allocations: 3.953 kB / 495.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002661/0.2848, allocations: 181.2 kB / 495.2 MB, free: 4.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.2848, allocations: 4 kB / 495.2 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2848, allocations: 4 kB / 495.2 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2849, allocations: 8.531 kB / 495.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.285, allocations: 39.92 kB / 495.3 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.285, allocations: 7.938 kB / 495.3 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.2851, allocations: 15.84 kB / 495.3 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.2851, allocations: 15.98 kB / 495.3 MB, free: 4.363 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.0001156/0.2852, allocations: 132 kB / 495.5 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.2854, allocations: 125.8 kB / 495.6 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.2855, allocations: 16.72 kB / 495.6 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2855, allocations: 96 / 495.6 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2855, allocations: 11.94 kB / 495.6 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2855, allocations: 3.984 kB / 495.6 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.2857, allocations: 197.5 kB / 495.8 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2857, allocations: 0 / 495.8 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.2858, allocations: 27.94 kB / 495.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.2858, allocations: 4 kB / 495.8 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2859, allocations: 7.984 kB / 495.8 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2859, allocations: 4 kB / 495.8 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2859, allocations: 0 / 495.8 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.2862, allocations: 280.4 kB / 496.1 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.2863, allocations: 104.9 kB / 496.2 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.2863, allocations: 8 kB / 496.2 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.2864, allocations: 8 kB / 496.2 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.2864, allocations: 0 / 496.2 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.2865, allocations: 11.98 kB / 496.3 MB, free: 3.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.2865, allocations: 112.1 kB / 496.4 MB, free: 3.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2865, allocations: 4 kB / 496.4 MB, free: 3.211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.2868, allocations: 23.94 kB / 496.4 MB, free: 3.188 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.0001222/0.287, allocations: 103.2 kB / 496.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.2872, allocations: 115.8 kB / 496.6 MB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2872, allocations: 0 / 496.6 MB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.591e-05/0.2873, allocations: 5.062 kB / 496.6 MB, free: 2.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2876, allocations: 79.89 kB / 496.7 MB, free: 2.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.288, allocations: 308.1 kB / 497 MB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.2883, allocations: 0.7205 MB / 497.7 MB, free: 1.805 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.2884, allocations: 9.422 kB / 497.7 MB, free: 1.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.2884, allocations: 23.38 kB / 497.7 MB, free: 1.77 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2884, allocations: 0 / 497.7 MB, free: 1.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003138/0.2916, allocations: 1.06 MB / 498.8 MB, free: 0.7266 MB / 362.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