Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001461/0.001461, allocations: 181.8 kB / 8.134 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.168/1.168, 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.001019/0.001019, allocations: 106.9 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.232e-06, allocations: 0 / 336.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2021, allocations: 50.4 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07677/0.2789, allocations: 75.3 MB / 462.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.2791, allocations: 72.45 kB / 462.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.001329/0.2804, allocations: 367.3 kB / 462.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2805, allocations: 7.984 kB / 462.7 MB, free: 11.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.0002269/0.2807, allocations: 317.8 kB / 463 MB, free: 10.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2807, allocations: 12.02 kB / 463 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.2808, allocations: 8.75 kB / 463 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.2809, allocations: 170.9 kB / 463.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.281, allocations: 0.5 kB / 463.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.281, allocations: 8.672 kB / 463.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.376e-05/0.281, allocations: 8 kB / 463.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.2812, allocations: 87.61 kB / 463.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.2812, allocations: 0 / 463.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2812, allocations: 1.594 kB / 463.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2812, allocations: 0 / 463.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.786e-05/0.2813, allocations: 135 kB / 463.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.2814, allocations: 39.88 kB / 463.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.2815, allocations: 20.83 kB / 463.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.2815, allocations: 0.9688 kB / 463.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2815, allocations: 31.12 kB / 463.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2815, allocations: 4.75 kB / 463.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001099/0.2816, allocations: 41.83 kB / 463.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.2817, allocations: 58.27 kB / 463.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/0.2817, allocations: 102.2 kB / 463.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.2817, allocations: 25.7 kB / 463.7 MB, free: 9.891 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.2818, allocations: 84.14 kB / 463.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-06/0.2818, allocations: 3.984 kB / 463.8 MB, free: 9.801 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.853e-06/0.2818, allocations: 0 / 463.8 MB, free: 9.801 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.2819, allocations: 314.8 kB / 464.1 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-06/0.2819, allocations: 0 / 464.1 MB, free: 9.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.2819, allocations: 42.17 kB / 464.1 MB, free: 9.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.413e-05/0.2819, allocations: 4 kB / 464.2 MB, free: 9.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2819, allocations: 0 / 464.2 MB, free: 9.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.711e-05/0.282, allocations: 57.56 kB / 464.2 MB, free: 9.367 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.282, allocations: 4 kB / 464.2 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.282, allocations: 0 / 464.2 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.2821, allocations: 8.031 kB / 464.2 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.258e-05/0.2821, allocations: 4 kB / 464.2 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2821, allocations: 3.984 kB / 464.2 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.2821, allocations: 4 kB / 464.2 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.2821, allocations: 0 / 464.2 MB, free: 9.344 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 5.293e-05/0.2822, allocations: 108.9 kB / 464.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.2823, allocations: 41.61 kB / 464.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.2823, allocations: 12.42 kB / 464.4 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2823, allocations: 0 / 464.4 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2823, allocations: 4.875 kB / 464.4 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2823, allocations: 0 / 464.4 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.142e-05/0.2824, allocations: 138.2 kB / 464.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2824, allocations: 0 / 464.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.2824, allocations: 0 / 464.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2824, allocations: 0 / 464.5 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2824, allocations: 10.25 kB / 464.5 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.2824, allocations: 0 / 464.5 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2824, allocations: 0 / 464.5 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.298e-05/0.2825, allocations: 73.06 kB / 464.6 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.2826, allocations: 89.02 kB / 464.7 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.2826, allocations: 3.984 kB / 464.7 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.585e-05/0.2826, allocations: 0 / 464.7 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-06/0.2826, allocations: 0 / 464.7 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.2826, allocations: 4 kB / 464.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.985e-05/0.2827, allocations: 76.66 kB / 464.8 MB, free: 8.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.2828, allocations: 4 kB / 464.8 MB, free: 8.703 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 8.246e-05/0.2829, allocations: 103.2 kB / 464.9 MB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.305e-05/0.283, allocations: 23.92 kB / 464.9 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.283, allocations: 0 / 464.9 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.283, allocations: 0 / 464.9 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.2832, allocations: 22.86 kB / 464.9 MB, free: 8.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001399/0.2833, allocations: 59.86 kB / 465 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.2835, allocations: 0.6954 MB / 465.7 MB, free: 7.75 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2835, allocations: 256 / 465.7 MB, free: 7.75 MB / 346.7 MB Notification: Performance of Templates: time 0.001651/0.2852, allocations: 320.7 kB / 466 MB, free: 7.449 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches