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.001067/0.001067, allocations: 181.9 kB / 13.23 MB, free: 2.086 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.676/1.676, allocations: 205.2 MB / 219 MB, free: 9.203 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.0008395/0.0008394, allocations: 86.61 kB / 267.1 MB, free: 9.273 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.08217/0.08217, allocations: 12.58 MB / 327.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.77e-05, allocations: 4 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09606, allocations: 50.37 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3767/0.4728, allocations: 78.28 MB / 0.5026 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001517/0.473, allocations: 60.09 kB / 0.5026 GB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003132/0.4761, allocations: 1.338 MB / 0.5039 GB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4761, allocations: 0 / 0.5039 GB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.4762, allocations: 3.688 kB / 0.5039 GB, free: 11.52 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.0003285/0.4765, allocations: 361.2 kB / 0.5043 GB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4766, allocations: 9.688 kB / 0.5043 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.4766, allocations: 11.84 kB / 0.5043 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.4768, allocations: 194.1 kB / 0.5045 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4768, allocations: 3.953 kB / 0.5045 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.4768, allocations: 10.81 kB / 0.5045 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.477, allocations: 132.2 kB / 0.5046 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4771, allocations: 0 / 0.5046 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4771, allocations: 3.938 kB / 0.5046 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.4771, allocations: 0 / 0.5046 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.79e-05/0.4772, allocations: 32.88 kB / 0.5047 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.4775, allocations: 294.7 kB / 0.505 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.4777, allocations: 159.7 kB / 0.5051 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/0.4777, allocations: 32.12 kB / 0.5051 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.4778, allocations: 2.75 kB / 0.5051 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.4779, allocations: 76.28 kB / 0.5052 GB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.4779, allocations: 0 / 0.5052 GB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001795/0.4781, allocations: 92.25 kB / 0.5053 GB, free: 10.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.4781, allocations: 87.42 kB / 0.5054 GB, free: 10.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.4782, allocations: 109.8 kB / 0.5055 GB, free: 10.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.4782, allocations: 28.19 kB / 0.5055 GB, free: 10.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.4782, allocations: 94.94 kB / 0.5056 GB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.4783, allocations: 25.03 kB / 0.5056 GB, free: 10.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.4783, allocations: 0 / 0.5056 GB, free: 10.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.4783, allocations: 320.8 kB / 0.5059 GB, free: 9.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.4784, allocations: 22.56 kB / 0.506 GB, free: 9.695 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-05/0.4784, allocations: 61.91 kB / 0.506 GB, free: 9.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.459e-05/0.4785, allocations: 28.61 kB / 0.506 GB, free: 9.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4785, allocations: 3.938 kB / 0.506 GB, free: 9.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001309/0.4786, allocations: 114.1 kB / 0.5062 GB, free: 9.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4786, allocations: 3.812 kB / 0.5062 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4787, allocations: 8.094 kB / 0.5062 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4787, allocations: 0 / 0.5062 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.207e-05/0.4787, allocations: 10.16 kB / 0.5062 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.4787, allocations: 3.938 kB / 0.5062 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.4788, allocations: 14.17 kB / 0.5062 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.4788, allocations: 3.875 kB / 0.5062 GB, free: 9.582 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 5.324e-05/0.4789, allocations: 124.5 kB / 0.5063 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.4789, allocations: 51.86 kB / 0.5064 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.479, allocations: 19.25 kB / 0.5064 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.479, allocations: 2.484 kB / 0.5064 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.479, allocations: 0 / 0.5064 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.479, allocations: 3.938 kB / 0.5064 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.4792, allocations: 336.4 kB / 0.5067 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4793, allocations: 3.844 kB / 0.5067 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.4793, allocations: 6.938 kB / 0.5067 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4793, allocations: 0 / 0.5067 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4793, allocations: 7.875 kB / 0.5067 GB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4793, allocations: 6.812 kB / 0.5067 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4793, allocations: 0 / 0.5067 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.4794, allocations: 213.7 kB / 0.5069 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.4795, allocations: 81.02 kB / 0.507 GB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.4795, allocations: 0 / 0.507 GB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/0.4796, allocations: 17.08 kB / 0.507 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.4797, allocations: 11.95 kB / 0.507 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.4797, allocations: 7.734 kB / 0.5071 GB, free: 8.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.156e-05/0.4797, allocations: 93.03 kB / 0.5071 GB, free: 8.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4797, allocations: 0 / 0.5071 GB, free: 8.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.4799, allocations: 15.03 kB / 0.5072 GB, free: 8.758 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 8.365e-05/0.48, allocations: 94.75 kB / 0.5072 GB, free: 8.672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.4802, allocations: 63.84 kB / 0.5073 GB, free: 8.668 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4802, allocations: 4.062 kB / 0.5073 GB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.726e-05/0.4802, allocations: 26.22 kB / 0.5073 GB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.4804, allocations: 17.78 kB / 0.5074 GB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.4807, allocations: 128.2 kB / 0.5075 GB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.4809, allocations: 0.699 MB / 0.5082 GB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.626e-05/0.4809, allocations: 11.11 kB / 0.5082 GB, free: 7.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.4809, allocations: 14.66 kB / 0.5082 GB, free: 7.855 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.481, allocations: 0 / 0.5082 GB, free: 7.855 MB / 330.7 MB Notification: Performance of Templates: time 0.002629/0.4836, allocations: 0.7812 MB / 0.5089 GB, free: 7.766 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)