Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001559/0.001559, allocations: 185.1 kB / 16.44 MB, free: 5.672 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.979/1.979, allocations: 205.4 MB / 222.6 MB, free: 9.125 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.001162/0.001162, allocations: 81.62 kB / 270.9 MB, free: 8.379 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.09997/0.09996, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007364/0.0007365, allocations: 19.98 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.08968, allocations: 50.37 MB / 442.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.513, allocations: 78.37 MB / 0.5085 GB, free: 12.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5133, allocations: 58.47 kB / 0.5086 GB, free: 12.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005039/0.5184, allocations: 1.357 MB / 0.5099 GB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5184, allocations: 0 / 0.5099 GB, free: 12.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.5184, allocations: 3.781 kB / 0.5099 GB, free: 12.3 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.0005037/0.519, allocations: 370.5 kB / 0.5102 GB, free: 11.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.519, allocations: 11.56 kB / 0.5103 GB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.5191, allocations: 7.75 kB / 0.5103 GB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.5193, allocations: 181.4 kB / 0.5104 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.5193, allocations: 10.64 kB / 0.5104 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.5193, allocations: 3.844 kB / 0.5105 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.5197, allocations: 134.1 kB / 0.5106 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5197, allocations: 0 / 0.5106 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.5197, allocations: 6.969 kB / 0.5106 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.5197, allocations: 0 / 0.5106 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.5198, allocations: 29.48 kB / 0.5106 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.5203, allocations: 300.5 kB / 0.5109 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.5205, allocations: 157.2 kB / 0.5111 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.5206, allocations: 3.938 kB / 0.5111 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.5207, allocations: 68.56 kB / 0.5111 GB, free: 11.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/0.5208, allocations: 4 kB / 0.5111 GB, free: 11.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003082/0.5211, allocations: 112.6 kB / 0.5112 GB, free: 11.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.5211, allocations: 84.45 kB / 0.5113 GB, free: 10.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.874e-05/0.5212, allocations: 107.6 kB / 0.5114 GB, free: 10.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.5213, allocations: 32.67 kB / 0.5114 GB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.5213, allocations: 162 kB / 0.5116 GB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.5213, allocations: 15.05 kB / 0.5116 GB, free: 10.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-06/0.5214, allocations: 0 / 0.5116 GB, free: 10.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.116e-05/0.5214, allocations: 325.8 kB / 0.5119 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.5215, allocations: 22.7 kB / 0.5119 GB, free: 10.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.5216, allocations: 61.39 kB / 0.512 GB, free: 10.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.279e-05/0.5217, allocations: 29.06 kB / 0.512 GB, free: 10.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5217, allocations: 0 / 0.512 GB, free: 10.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002169/0.5219, allocations: 117.8 kB / 0.5121 GB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5219, allocations: 7.688 kB / 0.5122 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.522, allocations: 1.969 kB / 0.5122 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.522, allocations: 3.875 kB / 0.5122 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.5221, allocations: 7.906 kB / 0.5122 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.5221, allocations: 3.844 kB / 0.5122 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.5222, allocations: 15.55 kB / 0.5122 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.5223, allocations: 7.719 kB / 0.5122 GB, free: 10.2 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 9.794e-05/0.5224, allocations: 135.8 kB / 0.5123 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.5224, allocations: 52.36 kB / 0.5124 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.5225, allocations: 11.53 kB / 0.5124 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.5225, allocations: 4.031 kB / 0.5124 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5225, allocations: 0 / 0.5124 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5225, allocations: 0 / 0.5124 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.5229, allocations: 353.6 kB / 0.5127 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5229, allocations: 0 / 0.5127 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.523, allocations: 3.719 kB / 0.5127 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.523, allocations: 0.875 kB / 0.5127 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.523, allocations: 3.062 kB / 0.5127 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.523, allocations: 3.844 kB / 0.5127 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.523, allocations: 3.938 kB / 0.5127 GB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.5232, allocations: 217 kB / 0.5129 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.5233, allocations: 85 kB / 0.513 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.5233, allocations: 3.969 kB / 0.513 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.5235, allocations: 8.281 kB / 0.513 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.5235, allocations: 7.141 kB / 0.513 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.5236, allocations: 3.625 kB / 0.513 GB, free: 9.402 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.5236, allocations: 105.5 kB / 0.5131 GB, free: 9.312 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5236, allocations: 0 / 0.5131 GB, free: 9.312 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.524, allocations: 14.66 kB / 0.5132 GB, free: 9.312 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 0.0001071/0.5241, allocations: 102.2 kB / 0.5133 GB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.5243, allocations: 68.75 kB / 0.5133 GB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5243, allocations: 0 / 0.5133 GB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.241e-05/0.5244, allocations: 18.06 kB / 0.5133 GB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.5247, allocations: 35.61 kB / 0.5134 GB, free: 9.191 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.5252, allocations: 210.2 kB / 0.5136 GB, free: 9.008 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.5253, allocations: 0.696 MB / 0.5143 GB, free: 8.301 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.5254, allocations: 15.25 kB / 0.5143 GB, free: 8.289 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5254, allocations: 0 / 0.5143 GB, free: 8.289 MB / 330.7 MB Notification: Performance of Templates: time 0.002976/0.5284, allocations: 1.052 MB / 0.5153 GB, free: 7.758 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)