Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [: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.001417/0.001417, allocations: 207 kB / 8.542 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 225.5 MB / 234.4 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008543/0.0008545, allocations: 91.06 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.502e-06, allocations: 0 / 343.1 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 51.48 MB / 394.6 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2661/0.3675, allocations: 76.32 MB / 470.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.3678, allocations: 78.66 kB / 471 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.002151/0.37, allocations: 0.7213 MB / 471.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.37, allocations: 3.281 kB / 471.7 MB, free: 14.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000242/0.3702, allocations: 329.1 kB / 472.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3703, allocations: 8.031 kB / 472.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.3703, allocations: 16.22 kB / 472.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.3705, allocations: 178.2 kB / 472.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3705, allocations: 0 / 472.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3705, allocations: 7.984 kB / 472.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.928e-05/0.3706, allocations: 19.16 kB / 472.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3707, allocations: 77.97 kB / 472.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3708, allocations: 3.938 kB / 472.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3708, allocations: 0 / 472.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3708, allocations: 0 / 472.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.371, allocations: 246.9 kB / 472.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.934e-05/0.3711, allocations: 36.34 kB / 472.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.3711, allocations: 13.84 kB / 472.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3711, allocations: 3.938 kB / 472.7 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.3711, allocations: 30.56 kB / 472.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3712, allocations: 4 kB / 472.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.3713, allocations: 45.66 kB / 472.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.3713, allocations: 85.05 kB / 472.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.3714, allocations: 115.1 kB / 472.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.243e-06/0.3714, allocations: 25.7 kB / 473 MB, free: 13.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.3715, allocations: 83.52 kB / 473 MB, free: 13.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-06/0.3715, allocations: 3.906 kB / 473 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.3715, allocations: 8.062 kB / 473.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.3715, allocations: 313.9 kB / 473.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.3715, allocations: 0 / 473.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.3716, allocations: 13.72 kB / 473.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.254e-05/0.3716, allocations: 6.719 kB / 473.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3716, allocations: 4 kB / 473.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.983e-05/0.3716, allocations: 44.97 kB / 473.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3717, allocations: 7.906 kB / 473.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3717, allocations: 0 / 473.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3717, allocations: 3.938 kB / 473.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.036e-05/0.3717, allocations: 4 kB / 473.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3717, allocations: 0 / 473.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.3718, allocations: 0 / 473.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.3718, allocations: 4 kB / 473.4 MB, free: 12.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.909e-05/0.3718, allocations: 104.3 kB / 473.5 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.3719, allocations: 41.45 kB / 473.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.3719, allocations: 10.78 kB / 473.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3719, allocations: 0 / 473.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3719, allocations: 0 / 473.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3719, allocations: 7.422 kB / 473.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.3721, allocations: 140.3 kB / 473.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3721, allocations: 4 kB / 473.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-06/0.3721, allocations: 3.938 kB / 473.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3721, allocations: 0 / 473.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3721, allocations: 0 / 473.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3721, allocations: 3.406 kB / 473.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3721, allocations: 8 kB / 473.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.915e-05/0.3722, allocations: 146 kB / 473.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.3722, allocations: 92.09 kB / 474 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3722, allocations: 7.328 kB / 474 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/0.3723, allocations: 4.031 kB / 474 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.3724, allocations: 0 / 474 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.3724, allocations: 4 kB / 474 MB, free: 12.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.82e-05/0.3724, allocations: 105.3 kB / 474.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.3726, allocations: 4 kB / 474.1 MB, free: 11.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 9.221e-05/0.3727, allocations: 95.25 kB / 474.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.819e-05/0.3728, allocations: 11.75 kB / 474.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3728, allocations: 1.719 kB / 474.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-06/0.3728, allocations: 8 kB / 474.2 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.3731, allocations: 11.45 kB / 474.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.3733, allocations: 84.94 kB / 474.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.3734, allocations: 0.6984 MB / 475 MB, free: 10.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3734, allocations: 0 / 475 MB, free: 10.98 MB / 346.7 MB Notification: Performance of Templates: time 0.001939/0.3754, allocations: 419.4 kB / 475.4 MB, free: 10.76 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches