Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [: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.001558/0.001558, allocations: 205.5 kB / 8.54 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008743/0.0008742, allocations: 89.34 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.282e-06, allocations: 0 / 343.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 51.48 MB / 394.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.4624, allocations: 76.59 MB / 471.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.4627, allocations: 73.55 kB / 471.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.00356/0.4662, allocations: 0.9294 MB / 472.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4663, allocations: 0 / 472.2 MB, free: 14.26 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002538/0.4665, allocations: 340.9 kB / 472.5 MB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4666, allocations: 12.03 kB / 472.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.4666, allocations: 7.906 kB / 472.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.4668, allocations: 185.6 kB / 472.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4668, allocations: 0 / 472.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.4669, allocations: 11.98 kB / 472.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.036e-05/0.467, allocations: 23.22 kB / 472.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.4672, allocations: 107.5 kB / 472.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.4672, allocations: 0 / 472.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4673, allocations: 0.75 kB / 472.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.4673, allocations: 4 kB / 472.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.4674, allocations: 146 kB / 473 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.4675, allocations: 60.67 kB / 473.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.4676, allocations: 31.5 kB / 473.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.4676, allocations: 3.938 kB / 473.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.4676, allocations: 34.56 kB / 473.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.4677, allocations: 0 / 473.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001721/0.4678, allocations: 76.59 kB / 473.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.4679, allocations: 63.48 kB / 473.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.468, allocations: 114.1 kB / 473.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.468, allocations: 25.7 kB / 473.4 MB, free: 12.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.858e-05/0.468, allocations: 87.44 kB / 473.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.4681, allocations: 4 kB / 473.5 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.4681, allocations: 0 / 473.5 MB, free: 12.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.4681, allocations: 317.9 kB / 473.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.4682, allocations: 8 kB / 473.8 MB, free: 12.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/0.4682, allocations: 53.69 kB / 473.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.4683, allocations: 27.03 kB / 473.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4683, allocations: 0 / 473.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001744/0.4685, allocations: 68.31 kB / 474 MB, free: 12.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4685, allocations: 8 kB / 474 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4685, allocations: 0 / 474 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4685, allocations: 8.156 kB / 474 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.037e-05/0.4686, allocations: 11.42 kB / 474 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.4686, allocations: 0 / 474 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.4686, allocations: 4 kB / 474 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.4686, allocations: 7.688 kB / 474 MB, free: 12.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.345e-05/0.4687, allocations: 110.5 kB / 474.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.4688, allocations: 59.77 kB / 474.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.4689, allocations: 11.81 kB / 474.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4689, allocations: 0 / 474.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4689, allocations: 4 kB / 474.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4689, allocations: 0 / 474.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.687e-05/0.469, allocations: 153.9 kB / 474.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.469, allocations: 0 / 474.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-05/0.469, allocations: 3.938 kB / 474.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.469, allocations: 0 / 474.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.469, allocations: 4 kB / 474.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.469, allocations: 0 / 474.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.469, allocations: 0 / 474.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001078/0.4692, allocations: 104.9 kB / 474.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.4692, allocations: 90.17 kB / 474.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4692, allocations: 0 / 474.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.4693, allocations: 4 kB / 474.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-06/0.4693, allocations: 0 / 474.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.4693, allocations: 2.25 kB / 474.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.772e-05/0.4693, allocations: 99.45 kB / 474.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000334/0.4697, allocations: 8 kB / 474.7 MB, free: 11.74 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001027/0.4698, allocations: 106.2 kB / 474.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.4699, allocations: 45.48 kB / 474.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4699, allocations: 0 / 474.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.4699, allocations: 0 / 474.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.4702, allocations: 29.72 kB / 474.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.4705, allocations: 105.4 kB / 474.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.4706, allocations: 0.7139 MB / 475.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4706, allocations: 0 / 475.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of Templates: time 0.002647/0.4733, allocations: 0.6149 MB / 476.3 MB, free: 10.39 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches