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.001526/0.001526, allocations: 181 kB / 13.7 MB, free: 1.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001096/0.001096, allocations: 90.64 kB / 267.6 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.118/0.118, allocations: 12.6 MB / 328.2 MB, free: 11.15 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.473e-05, allocations: 4 kB / 386 MB, free: 1.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2993, allocations: 50.37 MB / 436.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4369, allocations: 78.28 MB / 0.5026 GB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.4372, allocations: 63.97 kB / 0.5026 GB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005504/0.4428, allocations: 1.333 MB / 0.5039 GB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4428, allocations: 0 / 0.5039 GB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.4428, allocations: 4 kB / 0.5039 GB, free: 14.36 MB / 362.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.0005051/0.4433, allocations: 366.3 kB / 0.5043 GB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.4434, allocations: 12.03 kB / 0.5043 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.4435, allocations: 7.906 kB / 0.5043 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.4437, allocations: 179 kB / 0.5045 GB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4438, allocations: 7.953 kB / 0.5045 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4438, allocations: 8 kB / 0.5045 GB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.4441, allocations: 129 kB / 0.5046 GB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4442, allocations: 3.984 kB / 0.5046 GB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.4442, allocations: 8 kB / 0.5046 GB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4442, allocations: 4 kB / 0.5046 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.985e-05/0.4443, allocations: 23.94 kB / 0.5046 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.4448, allocations: 297.6 kB / 0.5049 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.4451, allocations: 162.3 kB / 0.5051 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.573e-05/0.4452, allocations: 33.84 kB / 0.5051 GB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.4453, allocations: 0 / 0.5051 GB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.4454, allocations: 75.33 kB / 0.5052 GB, free: 12.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.154e-06/0.4454, allocations: 0 / 0.5052 GB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002716/0.4457, allocations: 89.66 kB / 0.5053 GB, free: 12.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.4458, allocations: 89.03 kB / 0.5054 GB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4459, allocations: 108.9 kB / 0.5055 GB, free: 12.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.446, allocations: 33.69 kB / 0.5055 GB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.4461, allocations: 154.7 kB / 0.5056 GB, free: 12.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.4461, allocations: 15.81 kB / 0.5057 GB, free: 12.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.4461, allocations: 8 kB / 0.5057 GB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4463, allocations: 326.8 kB / 0.506 GB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.4464, allocations: 16 kB / 0.506 GB, free: 11.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.4465, allocations: 58.02 kB / 0.5061 GB, free: 11.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.611e-05/0.4466, allocations: 35.92 kB / 0.5061 GB, free: 11.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4466, allocations: 0 / 0.5061 GB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002579/0.4469, allocations: 105.5 kB / 0.5062 GB, free: 11.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.4469, allocations: 4 kB / 0.5062 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4469, allocations: 4 kB / 0.5062 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4469, allocations: 0 / 0.5062 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.447, allocations: 20.09 kB / 0.5062 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.447, allocations: 8.047 kB / 0.5062 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.4472, allocations: 8 kB / 0.5062 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.4472, allocations: 4 kB / 0.5062 GB, free: 11.71 MB / 362.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 0.0001048/0.4473, allocations: 124.8 kB / 0.5064 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.4474, allocations: 57.53 kB / 0.5064 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.124e-05/0.4475, allocations: 8.625 kB / 0.5064 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4475, allocations: 4 kB / 0.5064 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4475, allocations: 4 kB / 0.5064 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4475, allocations: 4.359 kB / 0.5064 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.448, allocations: 338.5 kB / 0.5067 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.448, allocations: 0 / 0.5067 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.877e-05/0.4481, allocations: 3.938 kB / 0.5068 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.4481, allocations: 7.938 kB / 0.5068 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4481, allocations: 3.984 kB / 0.5068 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4481, allocations: 0 / 0.5068 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4481, allocations: 0 / 0.5068 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003121/0.4484, allocations: 218 kB / 0.507 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.4485, allocations: 89.02 kB / 0.5071 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.4486, allocations: 0 / 0.5071 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.4487, allocations: 15.92 kB / 0.5071 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.4488, allocations: 4 kB / 0.5071 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.4488, allocations: 15.94 kB / 0.5071 GB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.564e-05/0.4489, allocations: 87.28 kB / 0.5072 GB, free: 10.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4489, allocations: 0 / 0.5072 GB, free: 10.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003152/0.4492, allocations: 16 kB / 0.5072 GB, free: 10.61 MB / 362.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.0001307/0.4494, allocations: 99.25 kB / 0.5073 GB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.4496, allocations: 67.86 kB / 0.5073 GB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4496, allocations: 320 / 0.5073 GB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.4497, allocations: 27.98 kB / 0.5074 GB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.4501, allocations: 20.03 kB / 0.5074 GB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.4505, allocations: 155.6 kB / 0.5075 GB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.4508, allocations: 0.6965 MB / 0.5082 GB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.4509, allocations: 15.44 kB / 0.5082 GB, free: 9.473 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.4509, allocations: 0 / 0.5082 GB, free: 9.473 MB / 362.7 MB Notification: Performance of Templates: time 0.003409/0.4543, allocations: 1.038 MB / 0.5093 GB, free: 8.434 MB / 362.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)