Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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 trunk/package.mo): time 0.001448/0.001448, 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.241/1.241, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009248/0.0009247, allocations: 91.98 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.443e-06/6.472e-06, allocations: 0 / 343.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.09585, allocations: 51.47 MB / 394.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.334/0.4299, allocations: 76.07 MB / 470.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.4302, allocations: 76.34 kB / 470.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.001673/0.4319, allocations: 451.1 kB / 471.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.4319, allocations: 0 / 471.2 MB, free: 14.77 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.0002451/0.4322, allocations: 323 kB / 471.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.4322, allocations: 8.031 kB / 471.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.4322, allocations: 8.688 kB / 471.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.4324, allocations: 179.3 kB / 471.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.4324, allocations: 0 / 471.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.4325, allocations: 0 / 471.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.791e-05/0.4325, allocations: 14.34 kB / 471.7 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.4327, allocations: 95.05 kB / 471.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4327, allocations: 0 / 471.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.4327, allocations: 0 / 471.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4327, allocations: 6.656 kB / 471.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.427e-05/0.4328, allocations: 132.8 kB / 471.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.411e-05/0.4329, allocations: 45.03 kB / 472 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.4329, allocations: 16.45 kB / 472 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.433, allocations: 0 / 472 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.433, allocations: 42.47 kB / 472 MB, free: 13.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.433, allocations: 0 / 472 MB, free: 13.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001239/0.4331, allocations: 44.39 kB / 472.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.4332, allocations: 51.41 kB / 472.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.29e-05/0.4332, allocations: 100.2 kB / 472.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.4332, allocations: 25.7 kB / 472.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.493e-05/0.4333, allocations: 87.77 kB / 472.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.929e-06/0.4333, allocations: 0 / 472.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.4333, allocations: 0 / 472.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.4333, allocations: 318.2 kB / 472.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.4333, allocations: 11.31 kB / 472.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.4334, allocations: 27.12 kB / 472.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.674e-05/0.4334, allocations: 4 kB / 472.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4334, allocations: 0 / 472.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.351e-05/0.4335, allocations: 60.52 kB / 472.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.4335, allocations: 4 kB / 472.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4335, allocations: 4 kB / 472.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4335, allocations: 0 / 472.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.4336, allocations: 7.375 kB / 472.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.4336, allocations: 0 / 472.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.4336, allocations: 4 kB / 472.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.4336, allocations: 3.938 kB / 472.8 MB, free: 13.08 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 4.446e-05/0.4337, allocations: 109.1 kB / 472.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.4337, allocations: 51.39 kB / 472.9 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.4337, allocations: 11.7 kB / 472.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4338, allocations: 0 / 472.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4338, allocations: 1.812 kB / 472.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4338, allocations: 0 / 472.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.957e-05/0.4338, allocations: 140 kB / 473.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4338, allocations: 1.969 kB / 473.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/0.4339, allocations: 4 kB / 473.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.4339, allocations: 4 kB / 473.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.4339, allocations: 0 / 473.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4339, allocations: 0 / 473.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4339, allocations: 3.328 kB / 473.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.651e-05/0.434, allocations: 79.67 kB / 473.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.891e-05/0.434, allocations: 77.11 kB / 473.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.434, allocations: 0 / 473.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.534e-05/0.4341, allocations: 13.11 kB / 473.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-06/0.4341, allocations: 3.906 kB / 473.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.4341, allocations: 4 kB / 473.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.986e-05/0.4341, allocations: 79.16 kB / 473.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001934/0.4343, allocations: 4 kB / 473.4 MB, free: 12.46 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 8.583e-05/0.4344, allocations: 95.25 kB / 473.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.597e-05/0.4345, allocations: 26.91 kB / 473.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.4345, allocations: 256 / 473.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.4345, allocations: 4 kB / 473.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.4346, allocations: 15.08 kB / 473.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001495/0.4348, allocations: 64.12 kB / 473.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.4349, allocations: 0.6903 MB / 474.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4349, allocations: 3.938 kB / 474.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of Templates: time 0.001917/0.4369, allocations: 377.4 kB / 474.6 MB, free: 11.33 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches