Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [: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.001581/0.001582, allocations: 184 kB / 8.135 MB, free: 2.207 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.14/1.14, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0008909/0.0008908, allocations: 105.2 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.304e-06, allocations: 4 kB / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1859, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07663/0.2626, allocations: 76.77 MB / 463.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.2628, allocations: 87.83 kB / 463.8 MB, free: 9.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01164/0.2745, allocations: 4.081 MB / 467.9 MB, free: 5.906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2745, allocations: 9.25 kB / 467.9 MB, free: 5.898 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.0003732/0.2749, allocations: 398.1 kB / 468.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2749, allocations: 8.031 kB / 468.3 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.275, allocations: 15.81 kB / 468.3 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.2752, allocations: 214.7 kB / 468.5 MB, free: 5.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2752, allocations: 4 kB / 468.5 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.2753, allocations: 11.94 kB / 468.5 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001168/0.2754, allocations: 40 kB / 468.5 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.2757, allocations: 246.3 kB / 468.8 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2758, allocations: 0 / 468.8 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2758, allocations: 0 / 468.8 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2758, allocations: 4 kB / 468.8 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.2761, allocations: 283 kB / 469.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.2763, allocations: 118.3 kB / 469.2 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.525e-05/0.2764, allocations: 66.64 kB / 469.2 MB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.2764, allocations: 4 kB / 469.2 MB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2765, allocations: 38.69 kB / 469.3 MB, free: 4.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.2765, allocations: 0 / 469.3 MB, free: 4.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000234/0.2767, allocations: 109.4 kB / 469.4 MB, free: 4.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.2768, allocations: 127 kB / 469.5 MB, free: 4.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.2769, allocations: 128.5 kB / 469.6 MB, free: 3.891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.2769, allocations: 25.7 kB / 469.7 MB, free: 3.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.2769, allocations: 88.12 kB / 469.8 MB, free: 3.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.277, allocations: 23.73 kB / 469.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.277, allocations: 0 / 469.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.2771, allocations: 322.8 kB / 470.1 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.359e-05/0.2771, allocations: 20.31 kB / 470.1 MB, free: 3.398 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.2772, allocations: 119.2 kB / 470.2 MB, free: 3.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.057e-05/0.2773, allocations: 39.92 kB / 470.3 MB, free: 3.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2773, allocations: 4 kB / 470.3 MB, free: 3.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001916/0.2775, allocations: 145.7 kB / 470.4 MB, free: 3.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.2775, allocations: 9.094 kB / 470.4 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2775, allocations: 4 kB / 470.4 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2775, allocations: 4 kB / 470.4 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2776, allocations: 35.91 kB / 470.5 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2777, allocations: 7.938 kB / 470.5 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.2778, allocations: 8 kB / 470.5 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2778, allocations: 11.91 kB / 470.5 MB, free: 2.961 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 6.738e-05/0.2778, allocations: 127.7 kB / 470.6 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.278, allocations: 107.7 kB / 470.7 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.998e-05/0.2781, allocations: 12.5 kB / 470.7 MB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2781, allocations: 4 kB / 470.7 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2781, allocations: 0 / 470.7 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2781, allocations: 7.984 kB / 470.7 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.2782, allocations: 166.1 kB / 470.9 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2782, allocations: 0 / 470.9 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2784, allocations: 23.98 kB / 470.9 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2784, allocations: 4 kB / 470.9 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2784, allocations: 4 kB / 470.9 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2784, allocations: 0 / 470.9 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2784, allocations: 7.938 kB / 470.9 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002041/0.2786, allocations: 251.5 kB / 471.2 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.2787, allocations: 112.8 kB / 471.3 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.2787, allocations: 4 kB / 471.3 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.2788, allocations: 4 kB / 471.3 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.2788, allocations: 0 / 471.3 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.2789, allocations: 11.98 kB / 471.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.884e-05/0.2789, allocations: 110.1 kB / 471.4 MB, free: 1.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002637/0.2792, allocations: 13.31 kB / 471.4 MB, free: 1.914 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.0001015/0.2793, allocations: 111.1 kB / 471.5 MB, free: 1.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.2795, allocations: 83.86 kB / 471.6 MB, free: 1.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.2795, allocations: 0 / 471.6 MB, free: 1.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.2795, allocations: 7.938 kB / 471.6 MB, free: 1.707 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.2798, allocations: 62.69 kB / 471.7 MB, free: 1.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.2802, allocations: 174.9 kB / 471.9 MB, free: 1.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.2804, allocations: 0.7388 MB / 472.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2805, allocations: 0 / 472.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of Templates: time 0.003014/0.2835, allocations: 1.118 MB / 473.7 MB, free: 15.58 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches