Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.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.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001511, allocations: 181.5 kB / 8.052 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.00113/0.00113, allocations: 90.5 kB / 261.8 MB, free: 13.46 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.1056/0.1056, allocations: 12.58 MB / 322.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.103e-05, allocations: 3.984 kB / 378.9 MB, free: 75.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09616, allocations: 50.38 MB / 429.3 MB, free: 24.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5445, allocations: 77.62 MB / 0.495 GB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.5448, allocations: 61 kB / 0.4951 GB, free: 12.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005156/0.55, allocations: 1.331 MB / 0.4964 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.55, allocations: 0 / 0.4964 GB, free: 11.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.55, allocations: 3.844 kB / 0.4964 GB, free: 11.69 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004346/0.5505, allocations: 362.8 kB / 0.4968 GB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.5505, allocations: 9.828 kB / 0.4968 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.5506, allocations: 7.75 kB / 0.4968 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.5508, allocations: 187.4 kB / 0.4969 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.5508, allocations: 3.953 kB / 0.497 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.5509, allocations: 3.844 kB / 0.497 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001465/0.551, allocations: 32.44 kB / 0.497 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.5513, allocations: 121.8 kB / 0.4971 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5513, allocations: 0 / 0.4971 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.5513, allocations: 3.844 kB / 0.4971 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.5514, allocations: 0 / 0.4971 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.5518, allocations: 272.2 kB / 0.4974 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.552, allocations: 147 kB / 0.4975 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.5521, allocations: 31.84 kB / 0.4975 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.5521, allocations: 0 / 0.4975 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.5522, allocations: 72.38 kB / 0.4976 GB, free: 10.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.5523, allocations: 0 / 0.4976 GB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002441/0.5525, allocations: 91.98 kB / 0.4977 GB, free: 10.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.5526, allocations: 83.53 kB / 0.4978 GB, free: 10.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.5527, allocations: 109.8 kB / 0.4979 GB, free: 10.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.5527, allocations: 25.7 kB / 0.4979 GB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.5527, allocations: 91.56 kB / 0.498 GB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.5528, allocations: 17.81 kB / 0.498 GB, free: 10.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.5528, allocations: 384 / 0.498 GB, free: 10.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.5529, allocations: 324.9 kB / 0.4983 GB, free: 9.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.5529, allocations: 20.59 kB / 0.4983 GB, free: 9.906 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.077e-05/0.553, allocations: 59.33 kB / 0.4984 GB, free: 9.852 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.346e-05/0.5531, allocations: 31.53 kB / 0.4984 GB, free: 9.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5531, allocations: 0 / 0.4984 GB, free: 9.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002032/0.5533, allocations: 97.23 kB / 0.4985 GB, free: 9.801 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5533, allocations: 7.719 kB / 0.4985 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5534, allocations: 0 / 0.4985 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.5534, allocations: 3.812 kB / 0.4985 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.5535, allocations: 13.69 kB / 0.4985 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.5535, allocations: 8.781 kB / 0.4985 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.5536, allocations: 5.984 kB / 0.4986 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.5536, allocations: 7.594 kB / 0.4986 GB, free: 9.793 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: 15 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition2,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 (15): * Single equations (assignments): 15 * 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 8.197e-05/0.5537, allocations: 114.9 kB / 0.4987 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/0.5538, allocations: 49.64 kB / 0.4987 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.5539, allocations: 7.812 kB / 0.4987 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5539, allocations: 3.906 kB / 0.4987 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5539, allocations: 0 / 0.4987 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5539, allocations: 6.25 kB / 0.4987 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.5543, allocations: 314.6 kB / 0.499 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5543, allocations: 0 / 0.499 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.5543, allocations: 6.656 kB / 0.499 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5543, allocations: 0 / 0.499 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.5544, allocations: 0 / 0.499 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5544, allocations: 160 / 0.499 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5544, allocations: 6.359 kB / 0.499 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.5546, allocations: 215.9 kB / 0.4993 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.5546, allocations: 79.73 kB / 0.4993 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.5547, allocations: 3.875 kB / 0.4993 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.5548, allocations: 6.344 kB / 0.4993 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.5549, allocations: 9.344 kB / 0.4993 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.5549, allocations: 5.438 kB / 0.4994 GB, free: 9.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.1e-05/0.5549, allocations: 86.56 kB / 0.4994 GB, free: 9.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.555, allocations: 0 / 0.4994 GB, free: 9.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.5553, allocations: 17.45 kB / 0.4995 GB, free: 9.02 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.uu,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,booleanPulse.y,booleanPulse.pulseStart,triggeredBooleanSampler.y) * Number of discrete states: 1 (ClockedSignalToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001252/0.5555, allocations: 102.6 kB / 0.4995 GB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.5557, allocations: 58.48 kB / 0.4996 GB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5557, allocations: 0 / 0.4996 GB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.799e-05/0.5557, allocations: 21.97 kB / 0.4996 GB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.5561, allocations: 29.5 kB / 0.4997 GB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.5564, allocations: 122.2 kB / 0.4998 GB, free: 8.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.5566, allocations: 0.6984 MB / 0.5005 GB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.5567, allocations: 10.23 kB / 0.5005 GB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.5567, allocations: 14.62 kB / 0.5005 GB, free: 8.102 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5567, allocations: 4 kB / 0.5005 GB, free: 8.098 MB / 330.7 MB Notification: Performance of Templates: time 0.003897/0.5606, allocations: 0.7351 MB / 0.5012 GB, free: 8.023 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)