Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [: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 trunk/package.mo): time 0.001075/0.001075, allocations: 195.9 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 225.5 MB / 234.4 MB, free: 3.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000873/0.0008732, allocations: 94.03 kB / 286.3 MB, free: 5.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.034e-06/7.044e-06, allocations: 0 / 343.1 MB, free: 8.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 51.48 MB / 394.6 MB, free: 5.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2618/0.3772, allocations: 76.08 MB / 470.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.3775, allocations: 75.95 kB / 470.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.00203/0.3796, allocations: 0.5529 MB / 471.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3796, allocations: 0 / 471.3 MB, free: 14.81 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002978/0.3799, allocations: 349.8 kB / 471.7 MB, free: 14.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3799, allocations: 8.031 kB / 471.7 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.38, allocations: 6.812 kB / 471.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3801, allocations: 177.6 kB / 471.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3801, allocations: 0 / 471.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.3801, allocations: 4 kB / 471.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.053e-05/0.3802, allocations: 17.72 kB / 471.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3804, allocations: 105.9 kB / 472 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3804, allocations: 1.781 kB / 472 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3804, allocations: 0 / 472 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3804, allocations: 0 / 472 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.427e-05/0.3805, allocations: 147.3 kB / 472.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.3806, allocations: 44.83 kB / 472.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.3807, allocations: 19.53 kB / 472.2 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.3807, allocations: 7.938 kB / 472.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.3807, allocations: 33.88 kB / 472.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3807, allocations: 0 / 472.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001203/0.3808, allocations: 48.47 kB / 472.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.3809, allocations: 55.41 kB / 472.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.18e-05/0.3809, allocations: 99.72 kB / 472.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.3809, allocations: 28.27 kB / 472.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.038e-05/0.3809, allocations: 84.14 kB / 472.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.381, allocations: 0 / 472.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/0.381, allocations: 0 / 472.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.865e-05/0.381, allocations: 316.3 kB / 472.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.381, allocations: 6.438 kB / 472.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.3811, allocations: 33.81 kB / 472.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.537e-05/0.3811, allocations: 13.31 kB / 472.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3811, allocations: 0 / 472.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.093e-05/0.3811, allocations: 56.38 kB / 473 MB, free: 13.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.3812, allocations: 8 kB / 473 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3812, allocations: 3.422 kB / 473 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3812, allocations: 4.125 kB / 473 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.3812, allocations: 8 kB / 473 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.3812, allocations: 4 kB / 473 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.3813, allocations: 3.953 kB / 473 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.3813, allocations: 3.984 kB / 473 MB, free: 13.08 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.147e-05/0.3813, allocations: 116.7 kB / 473.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/0.3814, allocations: 51.41 kB / 473.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.3814, allocations: 14.72 kB / 473.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.3814, allocations: 0 / 473.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3814, allocations: 4 kB / 473.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3814, allocations: 0 / 473.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.062e-05/0.3815, allocations: 136.1 kB / 473.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.3815, allocations: 0 / 473.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.3816, allocations: 18.7 kB / 473.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3816, allocations: 3.906 kB / 473.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3816, allocations: 0 / 473.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.3816, allocations: 0 / 473.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3816, allocations: 0 / 473.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.655e-05/0.3817, allocations: 87.19 kB / 473.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.3817, allocations: 81.11 kB / 473.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3818, allocations: 3.188 kB / 473.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.3818, allocations: 13.25 kB / 473.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-06/0.3818, allocations: 0 / 473.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.3819, allocations: 7.906 kB / 473.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.053e-05/0.3819, allocations: 87.12 kB / 473.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001732/0.3821, allocations: 8 kB / 473.6 MB, free: 12.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (ramp.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.044e-05/0.3821, allocations: 95.25 kB / 473.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.185e-05/0.3822, allocations: 19.31 kB / 473.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3822, allocations: 0 / 473.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3822, allocations: 0 / 473.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.3825, allocations: 25.19 kB / 473.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001899/0.3827, allocations: 72.72 kB / 473.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.3828, allocations: 0.6973 MB / 474.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3828, allocations: 3.938 kB / 474.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of Templates: time 0.001934/0.3847, allocations: 466.2 kB / 475 MB, free: 11.26 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches