Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [: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.0009643/0.0009644, allocations: 186.1 kB / 8.136 MB, free: 2.199 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.239/1.239, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0009111/0.0009112, allocations: 97.67 kB / 280.8 MB, free: 1.324 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.577e-06, allocations: 4 kB / 336.5 MB, free: 9.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2063, allocations: 50.39 MB / 386.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08081/0.2872, allocations: 75.26 MB / 462.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.2874, allocations: 81.05 kB / 462.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.001774/0.2892, allocations: 477 kB / 462.7 MB, free: 11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.2892, allocations: 0 / 462.7 MB, free: 11 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.0002921/0.2895, allocations: 332.1 kB / 463 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2896, allocations: 16.47 kB / 463.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.2896, allocations: 5.344 kB / 463.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.2898, allocations: 172.5 kB / 463.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.2898, allocations: 4 kB / 463.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.2898, allocations: 0 / 463.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.318e-05/0.2899, allocations: 17.08 kB / 463.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2901, allocations: 88.52 kB / 463.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2901, allocations: 0 / 463.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.2901, allocations: 0.625 kB / 463.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2901, allocations: 1.344 kB / 463.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.2902, allocations: 139.5 kB / 463.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.579e-05/0.2903, allocations: 45.78 kB / 463.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.2904, allocations: 20.89 kB / 463.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.2904, allocations: 3.984 kB / 463.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.2904, allocations: 34.56 kB / 463.6 MB, free: 10 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2904, allocations: 0 / 463.6 MB, free: 10 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001294/0.2906, allocations: 41.83 kB / 463.6 MB, free: 9.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.2906, allocations: 59.31 kB / 463.7 MB, free: 9.883 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.2907, allocations: 96.94 kB / 463.8 MB, free: 9.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2907, allocations: 33.64 kB / 463.8 MB, free: 9.742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.2908, allocations: 90.95 kB / 463.9 MB, free: 9.652 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.2908, allocations: 3.984 kB / 463.9 MB, free: 9.648 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-06/0.2908, allocations: 0 / 463.9 MB, free: 9.648 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2909, allocations: 310.8 kB / 464.2 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.2909, allocations: 8 kB / 464.2 MB, free: 9.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.291, allocations: 23.44 kB / 464.2 MB, free: 9.293 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.097e-05/0.291, allocations: 15.98 kB / 464.2 MB, free: 9.277 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.291, allocations: 0 / 464.2 MB, free: 9.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.243e-05/0.2911, allocations: 53.55 kB / 464.3 MB, free: 9.219 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2911, allocations: 8 kB / 464.3 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2911, allocations: 3.25 kB / 464.3 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2911, allocations: 0 / 464.3 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.091e-05/0.2912, allocations: 16.05 kB / 464.3 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2912, allocations: 5.094 kB / 464.3 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.2912, allocations: 4 kB / 464.3 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.2912, allocations: 0 / 464.3 MB, free: 9.188 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * 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 6.83e-05/0.2913, allocations: 109.9 kB / 464.4 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.2914, allocations: 45.69 kB / 464.5 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.2914, allocations: 4 kB / 464.5 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2914, allocations: 3.906 kB / 464.5 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2914, allocations: 0 / 464.5 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2914, allocations: 0 / 464.5 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.653e-05/0.2915, allocations: 142.2 kB / 464.6 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2915, allocations: 0 / 464.6 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.544e-05/0.2916, allocations: 11.94 kB / 464.6 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2916, allocations: 10.19 kB / 464.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2917, allocations: 0 / 464.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2917, allocations: 0 / 464.7 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2917, allocations: 3.906 kB / 464.7 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.191e-05/0.2918, allocations: 73.12 kB / 464.7 MB, free: 8.723 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.2918, allocations: 89 kB / 464.8 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.2919, allocations: 0 / 464.8 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.2919, allocations: 4 kB / 464.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-06/0.2919, allocations: 0 / 464.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2919, allocations: 0 / 464.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.933e-05/0.292, allocations: 88.08 kB / 464.9 MB, free: 8.527 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.2922, allocations: 4 kB / 464.9 MB, free: 8.523 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: 4 (assignClock1.u,assignClock1.y,step.y,step.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 0.000103/0.2923, allocations: 106.6 kB / 465 MB, free: 8.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.002e-05/0.2923, allocations: 19.94 kB / 465 MB, free: 8.395 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2924, allocations: 0 / 465 MB, free: 8.395 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.31e-07/0.2924, allocations: 0 / 465 MB, free: 8.395 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.2925, allocations: 18.83 kB / 465.1 MB, free: 8.379 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001715/0.2927, allocations: 71.75 kB / 465.1 MB, free: 8.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.293, allocations: 0.6956 MB / 465.8 MB, free: 7.566 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.293, allocations: 4 kB / 465.8 MB, free: 7.562 MB / 346.7 MB Notification: Performance of Templates: time 0.002001/0.295, allocations: 426.6 kB / 466.2 MB, free: 7.168 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches