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.00158/0.00158, allocations: 171.8 kB / 16.8 MB, free: 5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.4 MB / 223 MB, free: 9.016 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.0008622/0.0008623, allocations: 87.08 kB / 271.3 MB, free: 8.242 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.09144/0.09144, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004362, allocations: 16 kB / 393.2 MB, free: 65.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1135, allocations: 50.38 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.4565, allocations: 78.4 MB / 0.5098 GB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4568, allocations: 60.56 kB / 0.5098 GB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003265/0.46, allocations: 1.351 MB / 0.5111 GB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4601, allocations: 0 / 0.5111 GB, free: 12.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.4601, allocations: 3.875 kB / 0.5111 GB, free: 12.8 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.0003864/0.4605, allocations: 377 kB / 0.5115 GB, free: 12.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4605, allocations: 11.28 kB / 0.5115 GB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.4606, allocations: 8.625 kB / 0.5115 GB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.4607, allocations: 186.9 kB / 0.5117 GB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4607, allocations: 4.281 kB / 0.5117 GB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.4608, allocations: 12.17 kB / 0.5117 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.461, allocations: 135.8 kB / 0.5118 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.461, allocations: 192 / 0.5118 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.461, allocations: 10.91 kB / 0.5119 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4611, allocations: 2.406 kB / 0.5119 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.135e-05/0.4611, allocations: 30.45 kB / 0.5119 GB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.4615, allocations: 294.8 kB / 0.5122 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.4616, allocations: 157.6 kB / 0.5123 GB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.4617, allocations: 35.7 kB / 0.5123 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.4617, allocations: 0 / 0.5123 GB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.4619, allocations: 72.77 kB / 0.5124 GB, free: 11.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.4619, allocations: 0 / 0.5124 GB, free: 11.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002382/0.4621, allocations: 113 kB / 0.5125 GB, free: 11.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.4622, allocations: 88.72 kB / 0.5126 GB, free: 11.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.084e-05/0.4622, allocations: 120.2 kB / 0.5127 GB, free: 11.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.4623, allocations: 32.23 kB / 0.5128 GB, free: 11.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.4623, allocations: 84.25 kB / 0.5128 GB, free: 11.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.4623, allocations: 18.52 kB / 0.5129 GB, free: 11.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.4623, allocations: 7.188 kB / 0.5129 GB, free: 11.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.4624, allocations: 322.5 kB / 0.5132 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.4624, allocations: 22.11 kB / 0.5132 GB, free: 10.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/0.4625, allocations: 63.09 kB / 0.5132 GB, free: 10.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.325e-05/0.4626, allocations: 94.75 kB / 0.5133 GB, free: 10.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4626, allocations: 0 / 0.5133 GB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001322/0.4627, allocations: 112.9 kB / 0.5134 GB, free: 10.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4627, allocations: 13.62 kB / 0.5135 GB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4627, allocations: 0 / 0.5135 GB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.4628, allocations: 3.875 kB / 0.5135 GB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.066e-05/0.4628, allocations: 11.59 kB / 0.5135 GB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4628, allocations: 7.828 kB / 0.5135 GB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.4629, allocations: 4.078 kB / 0.5135 GB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.4629, allocations: 7.688 kB / 0.5135 GB, free: 10.67 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 () * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * 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 7.74e-05/0.463, allocations: 137.1 kB / 0.5136 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.4631, allocations: 56.78 kB / 0.5137 GB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.4631, allocations: 7.125 kB / 0.5137 GB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.4631, allocations: 3.969 kB / 0.5137 GB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4631, allocations: 0 / 0.5137 GB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4631, allocations: 3.984 kB / 0.5137 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.4634, allocations: 341.8 kB / 0.514 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4634, allocations: 0 / 0.514 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.14e-05/0.4634, allocations: 3.844 kB / 0.514 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4634, allocations: 0 / 0.514 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.4634, allocations: 11.8 kB / 0.514 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.4634, allocations: 7.75 kB / 0.514 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4634, allocations: 0 / 0.514 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.4635, allocations: 197 kB / 0.5142 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.4636, allocations: 85.23 kB / 0.5143 GB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.4636, allocations: 3.75 kB / 0.5143 GB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.562e-05/0.4637, allocations: 15.67 kB / 0.5143 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.4637, allocations: 7.781 kB / 0.5143 GB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.4638, allocations: 16.14 kB / 0.5144 GB, free: 9.879 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.4638, allocations: 86.53 kB / 0.5144 GB, free: 9.805 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4638, allocations: 0 / 0.5144 GB, free: 9.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.464, allocations: 15.31 kB / 0.5144 GB, free: 9.805 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) * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * 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 9.383e-05/0.4641, allocations: 98.58 kB / 0.5145 GB, free: 9.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.4643, allocations: 76.23 kB / 0.5146 GB, free: 9.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4643, allocations: 0 / 0.5146 GB, free: 9.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.4643, allocations: 25.73 kB / 0.5146 GB, free: 9.688 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.4647, allocations: 38 kB / 0.5147 GB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.465, allocations: 188.2 kB / 0.5149 GB, free: 9.516 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.4651, allocations: 0.692 MB / 0.5155 GB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.322e-05/0.4651, allocations: 4.281 kB / 0.5155 GB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.4652, allocations: 15.23 kB / 0.5156 GB, free: 8.801 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4652, allocations: 0 / 0.5156 GB, free: 8.801 MB / 330.7 MB Notification: Performance of Templates: time 0.002539/0.4677, allocations: 0.779 MB / 0.5163 GB, free: 8.418 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)