Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") [: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 3.2.3+maint.om/package.mo): time 0.0009986/0.0009987, allocations: 188.2 kB / 7.846 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.2 MB / 213.5 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009928/0.0009927, allocations: 92.28 kB / 261.5 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08408/0.08408, allocations: 12.59 MB / 322 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.686e-06/8.716e-06, allocations: 4 kB / 378.4 MB, free: 75.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 50.37 MB / 428.8 MB, free: 25.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3046/0.429, allocations: 81.12 MB / 0.4979 GB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.4293, allocations: 65.55 kB / 0.498 GB, free: 11.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0144/0.4437, allocations: 5.421 MB / 0.5033 GB, free: 10.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.4437, allocations: 3.844 kB / 0.5033 GB, free: 10.9 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006385/0.4444, allocations: 499.2 kB / 0.5038 GB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4444, allocations: 11.53 kB / 0.5038 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.17e-05/0.4445, allocations: 23.25 kB / 0.5038 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.445, allocations: 286.3 kB / 0.5041 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.4451, allocations: 3.844 kB / 0.5041 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.4451, allocations: 3.844 kB / 0.5041 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001336/0.4452, allocations: 53.45 kB / 0.5041 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.4455, allocations: 162.2 kB / 0.5043 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4455, allocations: 0 / 0.5043 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.4456, allocations: 0 / 0.5043 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4456, allocations: 0 / 0.5043 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.4461, allocations: 392.6 kB / 0.5047 GB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.4463, allocations: 112.8 kB / 0.5048 GB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.4464, allocations: 58.92 kB / 0.5048 GB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.4464, allocations: 6.594 kB / 0.5048 GB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.799e-05/0.4465, allocations: 80.7 kB / 0.5049 GB, free: 9.605 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.4465, allocations: 0 / 0.5049 GB, free: 9.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002566/0.4468, allocations: 124.9 kB / 0.505 GB, free: 9.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.4468, allocations: 136 kB / 0.5052 GB, free: 9.391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.4471, allocations: 288.7 kB / 0.5054 GB, free: 9.266 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.4472, allocations: 25.7 kB / 0.5055 GB, free: 9.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.4472, allocations: 106.4 kB / 0.5056 GB, free: 9.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.4472, allocations: 26.34 kB / 0.5056 GB, free: 9.125 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.4472, allocations: 3.844 kB / 0.5056 GB, free: 9.125 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.224e-05/0.4473, allocations: 332.1 kB / 0.5059 GB, free: 8.805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/0.4474, allocations: 35.81 kB / 0.5059 GB, free: 8.801 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.69e-05/0.4475, allocations: 118.9 kB / 0.506 GB, free: 8.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.471e-05/0.4476, allocations: 48.53 kB / 0.5061 GB, free: 8.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4476, allocations: 4 kB / 0.5061 GB, free: 8.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002234/0.4478, allocations: 146.6 kB / 0.5062 GB, free: 8.633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.4478, allocations: 3.719 kB / 0.5062 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4478, allocations: 0 / 0.5062 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4479, allocations: 3.719 kB / 0.5062 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.448, allocations: 30.64 kB / 0.5063 GB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.448, allocations: 0 / 0.5063 GB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4481, allocations: 15.77 kB / 0.5063 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.4481, allocations: 11 kB / 0.5063 GB, free: 8.609 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition2,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition1,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 7.778e-05/0.4482, allocations: 122.6 kB / 0.5064 GB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.4483, allocations: 62.91 kB / 0.5065 GB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.4485, allocations: 123.5 kB / 0.5066 GB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.4485, allocations: 2.281 kB / 0.5066 GB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4486, allocations: 0.5 kB / 0.5066 GB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4486, allocations: 1.094 kB / 0.5066 GB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.449, allocations: 453.4 kB / 0.507 GB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.449, allocations: 3.844 kB / 0.507 GB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.4491, allocations: 15.58 kB / 0.507 GB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4491, allocations: 3.875 kB / 0.5071 GB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4491, allocations: 0 / 0.5071 GB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.4492, allocations: 0 / 0.5071 GB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.4492, allocations: 3.938 kB / 0.5071 GB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002049/0.4494, allocations: 256 kB / 0.5073 GB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.4494, allocations: 111.1 kB / 0.5074 GB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.4495, allocations: 128 / 0.5074 GB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.4496, allocations: 11.8 kB / 0.5074 GB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.4497, allocations: 11.08 kB / 0.5074 GB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.4497, allocations: 7.719 kB / 0.5074 GB, free: 7.738 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001743/0.4499, allocations: 224.8 kB / 0.5076 GB, free: 7.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000348/0.4502, allocations: 61.83 kB / 0.5077 GB, free: 7.621 MB / 330.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: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,triggeredBooleanSampler.y,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 3 (integerTable.combiTimeTable.nextTimeEvent,ClockedSignalToTrigger.y3,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006651/0.4509, allocations: 327.3 kB / 0.508 GB, free: 7.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.4511, allocations: 107 kB / 0.5081 GB, free: 7.363 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4511, allocations: 3.938 kB / 0.5081 GB, free: 7.359 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.275e-05/0.4512, allocations: 39.25 kB / 0.5082 GB, free: 7.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.4515, allocations: 49.12 kB / 0.5082 GB, free: 7.344 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.4521, allocations: 295 kB / 0.5085 GB, free: 7.184 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.4523, allocations: 0.7804 MB / 0.5093 GB, free: 6.441 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4523, allocations: 0 / 0.5093 GB, free: 6.441 MB / 330.7 MB Notification: Performance of Templates: time 0.0062/0.4585, allocations: 2.708 MB / 0.5119 GB, free: 5.082 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe 2>&1)