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/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/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.001511/0.001511, allocations: 180.4 kB / 17.46 MB, free: 4.359 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.432/1.432, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007832/0.0007831, allocations: 87.58 kB / 272 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06257/0.06257, allocations: 12.19 MB / 332.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 12 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07592/0.07631, allocations: 50.3 MB / 443 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2709/0.3472, allocations: 78.33 MB / 0.5091 GB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.3475, allocations: 64.69 kB / 0.5092 GB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003826/0.3513, allocations: 1.359 MB / 0.5105 GB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3514, allocations: 0 / 0.5105 GB, free: 12.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3514, allocations: 3.844 kB / 0.5105 GB, free: 12.55 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.0004088/0.3518, allocations: 369.8 kB / 0.5109 GB, free: 12.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3519, allocations: 11.25 kB / 0.5109 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.3519, allocations: 8.719 kB / 0.5109 GB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3521, allocations: 187.8 kB / 0.5111 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3521, allocations: 384 / 0.5111 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.3521, allocations: 11.88 kB / 0.5111 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.3524, allocations: 132.2 kB / 0.5112 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3524, allocations: 192 / 0.5112 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3524, allocations: 7.812 kB / 0.5112 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.3524, allocations: 7.875 kB / 0.5112 GB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.018e-05/0.3525, allocations: 21.17 kB / 0.5112 GB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.3529, allocations: 301.4 kB / 0.5115 GB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.353, allocations: 162.9 kB / 0.5117 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.3531, allocations: 31.78 kB / 0.5117 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.3531, allocations: 3.438 kB / 0.5117 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.3533, allocations: 62.67 kB / 0.5118 GB, free: 11.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.3533, allocations: 0 / 0.5118 GB, free: 11.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002513/0.3536, allocations: 118.1 kB / 0.5119 GB, free: 11.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3536, allocations: 91.19 kB / 0.512 GB, free: 11.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.3537, allocations: 115.6 kB / 0.5121 GB, free: 11.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.3537, allocations: 29.67 kB / 0.5121 GB, free: 11.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.3538, allocations: 96.02 kB / 0.5122 GB, free: 10.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.3538, allocations: 15.34 kB / 0.5122 GB, free: 10.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.3538, allocations: 3.5 kB / 0.5122 GB, free: 10.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.3539, allocations: 326.5 kB / 0.5125 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.3539, allocations: 23.36 kB / 0.5126 GB, free: 10.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.354, allocations: 64.77 kB / 0.5126 GB, free: 10.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.515e-05/0.3541, allocations: 85.91 kB / 0.5127 GB, free: 10.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3541, allocations: 0 / 0.5127 GB, free: 10.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001793/0.3543, allocations: 120.3 kB / 0.5128 GB, free: 10.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3543, allocations: 3.875 kB / 0.5128 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3543, allocations: 3.875 kB / 0.5128 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3543, allocations: 3.984 kB / 0.5128 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.3544, allocations: 8.781 kB / 0.5128 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3544, allocations: 7.906 kB / 0.5128 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.3545, allocations: 15.64 kB / 0.5129 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3545, allocations: 3.719 kB / 0.5129 GB, free: 10.42 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.535e-05/0.3546, allocations: 126 kB / 0.513 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.3547, allocations: 58.59 kB / 0.513 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.3547, allocations: 11.31 kB / 0.513 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3547, allocations: 3.812 kB / 0.513 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3548, allocations: 4.062 kB / 0.5131 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3548, allocations: 7.938 kB / 0.5131 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.355, allocations: 340.2 kB / 0.5134 GB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.3551, allocations: 0 / 0.5134 GB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.555e-05/0.3551, allocations: 3.938 kB / 0.5134 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3551, allocations: 3.844 kB / 0.5134 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3551, allocations: 3.312 kB / 0.5134 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3551, allocations: 3.938 kB / 0.5134 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3551, allocations: 0 / 0.5134 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.3553, allocations: 202 kB / 0.5136 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.3553, allocations: 80.98 kB / 0.5137 GB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.3554, allocations: 7.359 kB / 0.5137 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3555, allocations: 7.594 kB / 0.5137 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.3555, allocations: 11.94 kB / 0.5137 GB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3555, allocations: 3.375 kB / 0.5137 GB, free: 9.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.593e-05/0.3556, allocations: 98.77 kB / 0.5138 GB, free: 9.562 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3556, allocations: 0 / 0.5138 GB, free: 9.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002781/0.3559, allocations: 18.66 kB / 0.5138 GB, free: 9.562 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.155e-05/0.356, allocations: 98.67 kB / 0.5139 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.3561, allocations: 71.73 kB / 0.514 GB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3561, allocations: 0 / 0.514 GB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.3562, allocations: 22.81 kB / 0.514 GB, free: 9.449 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3566, allocations: 35.3 kB / 0.514 GB, free: 9.438 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.3569, allocations: 212.2 kB / 0.5142 GB, free: 9.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.3571, allocations: 0.6997 MB / 0.5149 GB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.3571, allocations: 19.2 kB / 0.5149 GB, free: 8.527 MB / 330.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3571, allocations: 0 / 0.5149 GB, free: 8.527 MB / 330.7 MB Notification: Performance of Templates: time 0.002384/0.3595, allocations: 1.065 MB / 0.516 GB, free: 7.984 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)