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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 187.9 kB / 8.14 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 221.4 MB / 229.9 MB, free: 3.059 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008876/0.0008876, allocations: 93.78 kB / 280.8 MB, free: 1.172 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.504e-06, allocations: 4 kB / 336.5 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1786, allocations: 50.4 MB / 386.9 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0776/0.2563, allocations: 77.51 MB / 464.4 MB, free: 9.156 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.2565, allocations: 75.95 kB / 464.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01592/0.2725, allocations: 5.207 MB / 469.7 MB, free: 3.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.2725, allocations: 11.94 kB / 469.7 MB, free: 3.902 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005851/0.2731, allocations: 469.8 kB / 470.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.2731, allocations: 8.031 kB / 470.2 MB, free: 3.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.2732, allocations: 23.72 kB / 470.2 MB, free: 3.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.2735, allocations: 234.6 kB / 470.4 MB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.2735, allocations: 8 kB / 470.4 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.2736, allocations: 16 kB / 470.5 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003273/0.2739, allocations: 187.8 kB / 470.6 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.2747, allocations: 0.576 MB / 471.2 MB, free: 2.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2748, allocations: 4 kB / 471.2 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.2748, allocations: 0 / 471.2 MB, free: 2.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.2748, allocations: 15.98 kB / 471.2 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.2753, allocations: 342.8 kB / 471.6 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.2756, allocations: 203.8 kB / 471.8 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.2758, allocations: 138.6 kB / 471.9 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.2758, allocations: 11.94 kB / 471.9 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.2759, allocations: 46.47 kB / 472 MB, free: 1.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 1.613e-06/0.2759, allocations: 0 / 472 MB, free: 1.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004885/0.2764, allocations: 274.3 kB / 472.2 MB, free: 1.188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/0.2765, allocations: 127.4 kB / 472.4 MB, free: 1.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.2766, allocations: 141.5 kB / 472.5 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.2766, allocations: 25.7 kB / 472.5 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.2767, allocations: 92.95 kB / 472.6 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.2767, allocations: 43.77 kB / 472.7 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-06/0.2767, allocations: 0 / 472.7 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2769, allocations: 342.7 kB / 473 MB, free: 392 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/0.277, allocations: 56.86 kB / 473 MB, free: 336 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.2772, allocations: 310.8 kB / 473.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.2774, allocations: 119.8 kB / 473.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2774, allocations: 0 / 473.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000483/0.2779, allocations: 333.6 kB / 473.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.2779, allocations: 8.25 kB / 473.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.2779, allocations: 8 kB / 473.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2779, allocations: 12 kB / 473.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.2782, allocations: 87.72 kB / 473.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.2782, allocations: 19.92 kB / 473.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.2784, allocations: 23.75 kB / 473.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.2784, allocations: 28.66 kB / 474 MB, free: 15.27 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 () * 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 9.562e-05/0.2785, allocations: 128.7 kB / 474.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/0.2789, allocations: 265.5 kB / 474.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.79e-05/0.279, allocations: 30.64 kB / 474.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.279, allocations: 8 kB / 474.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2791, allocations: 0 / 474.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2791, allocations: 3.984 kB / 474.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.2793, allocations: 206.8 kB / 474.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.2793, allocations: 0 / 474.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.2796, allocations: 63.91 kB / 474.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.2796, allocations: 8 kB / 474.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.2796, allocations: 3.984 kB / 474.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.2796, allocations: 4 kB / 474.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2796, allocations: 0 / 474.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004736/0.2801, allocations: 431.3 kB / 475.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.2803, allocations: 132.7 kB / 475.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.2803, allocations: 15.98 kB / 475.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2805, allocations: 11.92 kB / 475.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.2805, allocations: 4 kB / 475.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.2806, allocations: 12 kB / 475.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.157e-05/0.2806, allocations: 119.2 kB / 475.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003801/0.281, allocations: 36 kB / 475.4 MB, free: 13.73 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 () * 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.0001099/0.2812, allocations: 106.4 kB / 475.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.2815, allocations: 257.2 kB / 475.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2815, allocations: 0 / 475.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.614e-05/0.2815, allocations: 4.75 kB / 475.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.2821, allocations: 202.2 kB / 476 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009162/0.283, allocations: 370.7 kB / 476.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/0.2834, allocations: 0.8107 MB / 477.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2834, allocations: 0 / 477.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of Templates: time 0.005096/0.2885, allocations: 2.366 MB / 479.5 MB, free: 9.586 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/jenkins/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