Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.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.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 171.9 kB / 16.8 MB, free: 4.902 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.524/1.524, allocations: 205.4 MB / 223 MB, free: 8.926 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.0008976/0.0008974, allocations: 86.41 kB / 271.3 MB, free: 8.246 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.08839/0.08839, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005807/0.0005809, allocations: 12 kB / 393.2 MB, free: 65.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1221, allocations: 50.38 MB / 443.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5582, allocations: 78.87 MB / 0.5102 GB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.5585, allocations: 63.67 kB / 0.5103 GB, free: 13.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004574/0.5631, allocations: 1.813 MB / 0.5121 GB, free: 12.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5631, allocations: 0 / 0.5121 GB, free: 12.53 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.5632, allocations: 8 kB / 0.5121 GB, free: 12.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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004593/0.5636, allocations: 385.2 kB / 0.5124 GB, free: 12.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.5637, allocations: 7.688 kB / 0.5124 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.5637, allocations: 12.67 kB / 0.5125 GB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.5639, allocations: 191.6 kB / 0.5126 GB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.5639, allocations: 384 / 0.5126 GB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.5639, allocations: 8.219 kB / 0.5126 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.5642, allocations: 127.7 kB / 0.5128 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5642, allocations: 192 / 0.5128 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.5643, allocations: 6.344 kB / 0.5128 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.5643, allocations: 3.906 kB / 0.5128 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.5644, allocations: 34.95 kB / 0.5128 GB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.5648, allocations: 384.7 kB / 0.5132 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.5652, allocations: 112.5 kB / 0.5133 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.096e-05/0.5653, allocations: 44.41 kB / 0.5133 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.5653, allocations: 3.828 kB / 0.5133 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.5655, allocations: 86.39 kB / 0.5134 GB, free: 11.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.5655, allocations: 0 / 0.5134 GB, free: 11.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003015/0.5658, allocations: 129.7 kB / 0.5135 GB, free: 11.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.5659, allocations: 110.6 kB / 0.5136 GB, free: 11.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.566, allocations: 125.4 kB / 0.5138 GB, free: 10.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.566, allocations: 32.7 kB / 0.5138 GB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.566, allocations: 87.27 kB / 0.5139 GB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.5661, allocations: 23.7 kB / 0.5139 GB, free: 10.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-06/0.5661, allocations: 2.625 kB / 0.5139 GB, free: 10.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.317e-05/0.5662, allocations: 325.5 kB / 0.5142 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.5662, allocations: 24.95 kB / 0.5142 GB, free: 10.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.977e-05/0.5663, allocations: 76.34 kB / 0.5143 GB, free: 10.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.5665, allocations: 180.8 kB / 0.5145 GB, free: 10.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5665, allocations: 3.938 kB / 0.5145 GB, free: 10.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000179/0.5667, allocations: 115.8 kB / 0.5146 GB, free: 10.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5668, allocations: 7.75 kB / 0.5146 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5668, allocations: 8.172 kB / 0.5146 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5668, allocations: 3.812 kB / 0.5146 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.5669, allocations: 15.69 kB / 0.5146 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5669, allocations: 0 / 0.5146 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.567, allocations: 14.77 kB / 0.5146 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.567, allocations: 7.656 kB / 0.5147 GB, free: 10.17 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: firstOrder.y = firstOrder.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 2 (firstOrder.y,$DER.firstOrder.y) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.677e-05/0.5671, allocations: 132.3 kB / 0.5148 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.5672, allocations: 58.72 kB / 0.5148 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.5672, allocations: 16.86 kB / 0.5148 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5672, allocations: 3.875 kB / 0.5149 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5672, allocations: 0 / 0.5149 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5672, allocations: 0 / 0.5149 GB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.5676, allocations: 345.5 kB / 0.5152 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5676, allocations: 3.875 kB / 0.5152 GB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.775e-05/0.5677, allocations: 23.45 kB / 0.5152 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5677, allocations: 3.969 kB / 0.5152 GB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.5677, allocations: 3.984 kB / 0.5152 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5677, allocations: 0 / 0.5152 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5677, allocations: 7.812 kB / 0.5152 GB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.5679, allocations: 212.4 kB / 0.5154 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.568, allocations: 92.75 kB / 0.5155 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.568, allocations: 3.875 kB / 0.5155 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.5681, allocations: 14.48 kB / 0.5155 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.5682, allocations: 7.781 kB / 0.5155 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.5682, allocations: 3.984 kB / 0.5155 GB, free: 9.352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.5682, allocations: 107 kB / 0.5156 GB, free: 9.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5682, allocations: 0 / 0.5156 GB, free: 9.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.5685, allocations: 18.44 kB / 0.5157 GB, free: 9.266 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 2 ($DER.firstOrder.y,firstOrder.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.514e-05/0.5686, allocations: 98.62 kB / 0.5158 GB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.5688, allocations: 76.44 kB / 0.5158 GB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5688, allocations: 4.375 kB / 0.5158 GB, free: 9.152 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.339e-05/0.5688, allocations: 23.08 kB / 0.5159 GB, free: 9.148 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.5693, allocations: 45.28 kB / 0.5159 GB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.5697, allocations: 224.9 kB / 0.5161 GB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.5698, allocations: 0.6959 MB / 0.5168 GB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.057e-05/0.5699, allocations: 4.484 kB / 0.5168 GB, free: 8.234 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.5699, allocations: 11.31 kB / 0.5168 GB, free: 8.227 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5699, allocations: 0 / 0.5168 GB, free: 8.227 MB / 330.7 MB Notification: Performance of Templates: time 0.00306/0.573, allocations: 0.9289 MB / 0.5177 GB, free: 7.77 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe 2>&1)