Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001908/0.001908, allocations: 203.9 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008736/0.0008736, allocations: 94.75 kB / 286.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.027e-06, allocations: 0 / 343.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 51.48 MB / 394.6 MB, free: 5.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2643/0.3732, allocations: 76.11 MB / 470.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.3734, allocations: 69.52 kB / 470.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.001471/0.3749, allocations: 401.5 kB / 471.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.375, allocations: 5.219 kB / 471.2 MB, free: 14.75 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.0002479/0.3752, allocations: 328.2 kB / 471.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3753, allocations: 12.03 kB / 471.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.3753, allocations: 6.812 kB / 471.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.3754, allocations: 177.6 kB / 471.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3755, allocations: 0 / 471.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.3755, allocations: 4 kB / 471.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.614e-05/0.3755, allocations: 11.14 kB / 471.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.3757, allocations: 81.67 kB / 471.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.3757, allocations: 9.984 kB / 471.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.3757, allocations: 0 / 471.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3757, allocations: 0 / 471.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.833e-05/0.3758, allocations: 139.7 kB / 471.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.391e-05/0.3759, allocations: 35.83 kB / 472 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.376, allocations: 27.98 kB / 472 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.376, allocations: 0 / 472 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.066e-05/0.376, allocations: 34.56 kB / 472 MB, free: 13.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.376, allocations: 4 kB / 472 MB, free: 13.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001163/0.3761, allocations: 43.72 kB / 472.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.3762, allocations: 55.41 kB / 472.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.768e-05/0.3762, allocations: 92.5 kB / 472.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.602e-06/0.3762, allocations: 25.7 kB / 472.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.373e-05/0.3763, allocations: 87.61 kB / 472.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-06/0.3763, allocations: 3.812 kB / 472.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.3763, allocations: 5.5 kB / 472.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.3763, allocations: 310.8 kB / 472.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.3763, allocations: 4 kB / 472.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.3763, allocations: 26.88 kB / 472.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.593e-05/0.3764, allocations: 11.28 kB / 472.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3764, allocations: 3.938 kB / 472.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.697e-05/0.3764, allocations: 56.53 kB / 472.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.3765, allocations: 4 kB / 472.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3765, allocations: 0 / 472.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3765, allocations: 4 kB / 472.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.281e-05/0.3765, allocations: 4 kB / 472.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3765, allocations: 4 kB / 472.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.3766, allocations: 0 / 472.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.3766, allocations: 7.375 kB / 472.8 MB, free: 13.06 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 4.201e-05/0.3766, allocations: 112.8 kB / 472.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.3767, allocations: 44.83 kB / 472.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.3767, allocations: 8.094 kB / 472.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3767, allocations: 3.094 kB / 472.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3767, allocations: 0 / 472.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3767, allocations: 0 / 472.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.17e-05/0.3768, allocations: 137.4 kB / 473.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3768, allocations: 0 / 473.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.3769, allocations: 19 kB / 473.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3769, allocations: 0 / 473.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.3769, allocations: 0 / 473.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3769, allocations: 4 kB / 473.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3769, allocations: 0 / 473.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.672e-05/0.377, allocations: 74.83 kB / 473.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.377, allocations: 85.05 kB / 473.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.377, allocations: 7.328 kB / 473.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.084e-05/0.377, allocations: 4 kB / 473.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-06/0.3771, allocations: 0 / 473.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-06/0.3771, allocations: 7.938 kB / 473.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.813e-05/0.3771, allocations: 82.84 kB / 473.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.3773, allocations: 4 kB / 473.4 MB, free: 12.43 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 7.374e-05/0.3774, allocations: 99.31 kB / 473.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.403e-05/0.3775, allocations: 19.69 kB / 473.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3775, allocations: 0 / 473.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-07/0.3775, allocations: 0 / 473.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.3776, allocations: 15.41 kB / 473.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001467/0.3778, allocations: 64.58 kB / 473.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.3779, allocations: 0.6905 MB / 474.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3779, allocations: 0 / 474.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of Templates: time 0.00174/0.3797, allocations: 322.1 kB / 474.6 MB, free: 11.34 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches