Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [: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.0009887/0.0009889, allocations: 183.4 kB / 8.135 MB, free: 2.219 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.17/1.17, allocations: 221.4 MB / 229.9 MB, free: 3.027 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.0008794/0.0008794, allocations: 94.48 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.096e-06, allocations: 0 / 336.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.205, allocations: 50.4 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08181/0.2868, allocations: 75.31 MB / 462.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.2871, allocations: 68.52 kB / 462.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.00156/0.2887, allocations: 404 kB / 462.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.2887, allocations: 4 kB / 462.7 MB, free: 11.05 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.0002829/0.289, allocations: 325.9 kB / 463 MB, free: 10.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.289, allocations: 8.031 kB / 463 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.2891, allocations: 8.75 kB / 463 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.2893, allocations: 178.8 kB / 463.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.2893, allocations: 0.8438 kB / 463.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.2893, allocations: 4 kB / 463.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.338e-05/0.2894, allocations: 10.81 kB / 463.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.2896, allocations: 91.06 kB / 463.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.2896, allocations: 0.5625 kB / 463.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.2896, allocations: 1.75 kB / 463.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2896, allocations: 0 / 463.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.2898, allocations: 138.7 kB / 463.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.2899, allocations: 36.25 kB / 463.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.2899, allocations: 20.88 kB / 463.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.2899, allocations: 4 kB / 463.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.2899, allocations: 34.56 kB / 463.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.29, allocations: 4 kB / 463.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001351/0.2901, allocations: 41.59 kB / 463.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.2901, allocations: 63.44 kB / 463.6 MB, free: 9.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.688e-05/0.2902, allocations: 89 kB / 463.7 MB, free: 9.852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.2902, allocations: 27.67 kB / 463.8 MB, free: 9.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.2903, allocations: 88.14 kB / 463.8 MB, free: 9.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.69e-06/0.2903, allocations: 4 kB / 463.8 MB, free: 9.727 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.2903, allocations: 0 / 463.8 MB, free: 9.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2904, allocations: 314.8 kB / 464.2 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.2904, allocations: 8 kB / 464.2 MB, free: 9.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.2905, allocations: 26.19 kB / 464.2 MB, free: 9.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.833e-05/0.2905, allocations: 8 kB / 464.2 MB, free: 9.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2905, allocations: 0 / 464.2 MB, free: 9.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.336e-05/0.2906, allocations: 57.53 kB / 464.2 MB, free: 9.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.2906, allocations: 4 kB / 464.3 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2906, allocations: 0 / 464.3 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2906, allocations: 4 kB / 464.3 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.2907, allocations: 4 kB / 464.3 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2907, allocations: 7.938 kB / 464.3 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.2907, allocations: 8.109 kB / 464.3 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.2907, allocations: 0.8125 kB / 464.3 MB, free: 9.27 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.114e-05/0.2908, allocations: 108.9 kB / 464.4 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.2908, allocations: 45.61 kB / 464.4 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.2909, allocations: 11.98 kB / 464.4 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2909, allocations: 0 / 464.4 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2909, allocations: 0.5625 kB / 464.4 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2909, allocations: 0 / 464.4 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.477e-05/0.291, allocations: 138.8 kB / 464.6 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.291, allocations: 4 kB / 464.6 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.2911, allocations: 8 kB / 464.6 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2911, allocations: 0 / 464.6 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2911, allocations: 2.125 kB / 464.6 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2911, allocations: 7.984 kB / 464.6 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2911, allocations: 0 / 464.6 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.254e-05/0.2912, allocations: 76.97 kB / 464.7 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.2912, allocations: 85.02 kB / 464.8 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2913, allocations: 4 kB / 464.8 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.012e-05/0.2913, allocations: 0 / 464.8 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.2913, allocations: 0 / 464.8 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.2913, allocations: 5.125 kB / 464.8 MB, free: 8.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.504e-05/0.2914, allocations: 83.28 kB / 464.8 MB, free: 8.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.2915, allocations: 7.938 kB / 464.9 MB, free: 8.605 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0001065/0.2917, allocations: 99.23 kB / 465 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.722e-05/0.2917, allocations: 19.94 kB / 465 MB, free: 8.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2917, allocations: 4 kB / 465 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.6e-07/0.2917, allocations: 3.938 kB / 465 MB, free: 8.473 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.2919, allocations: 10.92 kB / 465 MB, free: 8.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001555/0.2921, allocations: 67.81 kB / 465.1 MB, free: 8.375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.2923, allocations: 0.6954 MB / 465.8 MB, free: 7.656 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2923, allocations: 256 / 465.8 MB, free: 7.656 MB / 346.7 MB Notification: Performance of Templates: time 0.001857/0.2942, allocations: 325.4 kB / 466.1 MB, free: 7.352 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches