Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 180.6 kB / 17.4 MB, free: 4.398 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.601/1.601, allocations: 223.3 MB / 241.4 MB, free: 9.973 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.0009265/0.0009265, allocations: 93.83 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 15.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2708, allocations: 50.4 MB / 402.7 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1027/0.3736, allocations: 78.37 MB / 481.1 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.3739, allocations: 79.95 kB / 481.2 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01636/0.3902, allocations: 5.615 MB / 486.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3903, allocations: 0 / 486.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.3903, allocations: 12 kB / 486.8 MB, free: 12.26 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006954/0.391, allocations: 478.7 kB / 487.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3911, allocations: 8.031 kB / 487.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.3912, allocations: 28.56 kB / 487.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.3915, allocations: 243.9 kB / 487.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.3915, allocations: 20.34 kB / 487.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.3916, allocations: 24.38 kB / 487.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.3927, allocations: 0.6227 MB / 488.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3927, allocations: 8.125 kB / 488.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.3928, allocations: 11.94 kB / 488.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.3928, allocations: 15.98 kB / 488.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.3932, allocations: 187.8 kB / 488.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.3938, allocations: 370.3 kB / 488.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.3943, allocations: 252.6 kB / 489 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.3946, allocations: 162.6 kB / 489.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.3946, allocations: 4 kB / 489.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3946, allocations: 38.56 kB / 489.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.814e-06/0.3946, allocations: 0 / 489.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.000837/0.3955, allocations: 439.6 kB / 489.7 MB, free: 9.176 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.3956, allocations: 138.9 kB / 489.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.3958, allocations: 166.4 kB / 490 MB, free: 8.844 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3958, allocations: 29.7 kB / 490 MB, free: 8.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.3959, allocations: 97.14 kB / 490.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.3959, allocations: 47.59 kB / 490.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/0.3959, allocations: 4 kB / 490.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3961, allocations: 338.8 kB / 490.5 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3962, allocations: 76.84 kB / 490.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.3966, allocations: 326.7 kB / 490.9 MB, free: 7.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.3971, allocations: 420.9 kB / 491.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3971, allocations: 0 / 491.3 MB, free: 7.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005944/0.3977, allocations: 413.3 kB / 491.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.3978, allocations: 8 kB / 491.7 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3978, allocations: 8 kB / 491.7 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-05/0.3978, allocations: 12 kB / 491.7 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.3981, allocations: 87.83 kB / 491.8 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-05/0.3981, allocations: 15.94 kB / 491.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3983, allocations: 36.03 kB / 491.9 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.3983, allocations: 24 kB / 491.9 MB, free: 6.676 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002195/0.3985, allocations: 184 kB / 492.1 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/0.3991, allocations: 302.2 kB / 492.4 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.487e-05/0.3992, allocations: 34.59 kB / 492.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.3992, allocations: 4 kB / 492.4 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3992, allocations: 0 / 492.4 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3992, allocations: 7.984 kB / 492.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.3995, allocations: 249.3 kB / 492.6 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3995, allocations: 4 kB / 492.6 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.3998, allocations: 63.89 kB / 492.7 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3998, allocations: 0 / 492.7 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.3998, allocations: 12 kB / 492.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3998, allocations: 4.391 kB / 492.7 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3998, allocations: 3.984 kB / 492.7 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.4004, allocations: 443.6 kB / 493.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.4006, allocations: 128.7 kB / 493.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.4006, allocations: 19.98 kB / 493.3 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.4008, allocations: 8 kB / 493.3 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.4008, allocations: 7.984 kB / 493.3 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.4008, allocations: 12 kB / 493.3 MB, free: 5.117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.459e-05/0.4009, allocations: 127.5 kB / 493.5 MB, free: 4.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.401, allocations: 4 kB / 493.5 MB, free: 4.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003655/0.4013, allocations: 55.94 kB / 493.5 MB, free: 4.934 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: 7 (superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b_super,FIR2.first,FIR1.first,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0001585/0.4015, allocations: 107.2 kB / 493.6 MB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005198/0.402, allocations: 296.3 kB / 493.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.402, allocations: 0 / 493.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.4021, allocations: 17.55 kB / 493.9 MB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.4028, allocations: 215.7 kB / 494.1 MB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.4039, allocations: 0.5857 MB / 494.7 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.4043, allocations: 0.7803 MB / 495.5 MB, free: 2.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.075e-05/0.4044, allocations: 22.3 kB / 495.5 MB, free: 2.855 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.4044, allocations: 27.42 kB / 495.6 MB, free: 2.828 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4044, allocations: 0 / 495.6 MB, free: 2.828 MB / 362.7 MB Notification: Performance of Templates: time 0.00557/0.41, allocations: 2.3 MB / 497.9 MB, free: 0.5391 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches