Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001521/0.001521, allocations: 204.5 kB / 8.542 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008824/0.0008827, allocations: 96.45 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.726e-06/8.857e-06, allocations: 0 / 343.1 MB, free: 8.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 51.48 MB / 394.6 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.324/0.4386, allocations: 76.61 MB / 471.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.4389, allocations: 77.45 kB / 471.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.002867/0.4418, allocations: 0.9869 MB / 472.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.4418, allocations: 0 / 472.3 MB, free: 14.15 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.0002509/0.4421, allocations: 353.2 kB / 472.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4421, allocations: 8.719 kB / 472.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.4422, allocations: 11.81 kB / 472.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.4423, allocations: 195.6 kB / 472.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4424, allocations: 0 / 472.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.4424, allocations: 4 kB / 472.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.189e-05/0.4425, allocations: 25.62 kB / 472.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.4427, allocations: 129.5 kB / 473 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4427, allocations: 0 / 473 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.4427, allocations: 0 / 473 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.4427, allocations: 7.906 kB / 473 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.4429, allocations: 145.5 kB / 473.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.443, allocations: 70.64 kB / 473.2 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.443, allocations: 38.91 kB / 473.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.155e-06/0.443, allocations: 4 kB / 473.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.134e-05/0.4431, allocations: 34.56 kB / 473.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4431, allocations: 0 / 473.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000148/0.4432, allocations: 81.75 kB / 473.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.4433, allocations: 62.2 kB / 473.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.4433, allocations: 124.3 kB / 473.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.4434, allocations: 25.7 kB / 473.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.397e-05/0.4434, allocations: 80.14 kB / 473.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.4434, allocations: 7.375 kB / 473.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.4434, allocations: 0 / 473.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.169e-05/0.4435, allocations: 325.9 kB / 474 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.4435, allocations: 8 kB / 474 MB, free: 12.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/0.4435, allocations: 59.39 kB / 474.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.727e-05/0.4435, allocations: 19.5 kB / 474.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4436, allocations: 0 / 474.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.591e-05/0.4437, allocations: 87.86 kB / 474.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.4437, allocations: 4.25 kB / 474.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4437, allocations: 4 kB / 474.2 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.4437, allocations: 4 kB / 474.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.4438, allocations: 15.38 kB / 474.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.4438, allocations: 5.641 kB / 474.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.415e-05/0.4438, allocations: 0 / 474.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.4438, allocations: 11.94 kB / 474.2 MB, free: 12.21 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 (sum.y,sum.u[2],sum.u[1],const.y,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 4.561e-05/0.4439, allocations: 104.9 kB / 474.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.444, allocations: 79.05 kB / 474.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.444, allocations: 12.12 kB / 474.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.444, allocations: 0 / 474.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.444, allocations: 6.062 kB / 474.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.444, allocations: 0 / 474.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.436e-05/0.4441, allocations: 151.2 kB / 474.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.4441, allocations: 0 / 474.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.4442, allocations: 19.12 kB / 474.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4442, allocations: 0 / 474.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.4442, allocations: 0 / 474.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4442, allocations: 3.938 kB / 474.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4442, allocations: 0 / 474.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.09e-05/0.4443, allocations: 113.6 kB / 474.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.4443, allocations: 88.44 kB / 474.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.4444, allocations: 4 kB / 474.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.4444, allocations: 4.734 kB / 474.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-06/0.4444, allocations: 0 / 474.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.4444, allocations: 4.5 kB / 474.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.971e-05/0.4445, allocations: 105.2 kB / 474.9 MB, free: 11.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00019/0.4447, allocations: 8 kB / 474.9 MB, free: 11.52 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,const.y,sum.u[1],sum.u[2],sum.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 8.161e-05/0.4447, allocations: 104.7 kB / 475 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.679e-05/0.4448, allocations: 45.81 kB / 475 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.4448, allocations: 0 / 475 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.4448, allocations: 0 / 475 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.4451, allocations: 41.58 kB / 475.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.4453, allocations: 123 kB / 475.2 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.4454, allocations: 0.7136 MB / 475.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4454, allocations: 0 / 475.9 MB, free: 10.51 MB / 346.7 MB Notification: Performance of Templates: time 0.002218/0.4477, allocations: 0.6799 MB / 476.6 MB, free: 10.12 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches