Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001474/0.001474, allocations: 186 kB / 16.44 MB, free: 5.691 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.915/1.915, allocations: 205.4 MB / 222.6 MB, free: 9.113 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.001119/0.001119, allocations: 94.84 kB / 270.9 MB, free: 8.359 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.1005/0.1005, allocations: 12.6 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005771/0.0005776, allocations: 12 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09307/0.09368, allocations: 50.37 MB / 442.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.5285, allocations: 78.84 MB / 0.509 GB, free: 12.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.5288, allocations: 67.66 kB / 0.509 GB, free: 12.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007385/0.5362, allocations: 1.813 MB / 0.5108 GB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5362, allocations: 3.906 kB / 0.5108 GB, free: 12.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.5362, allocations: 4 kB / 0.5108 GB, free: 12.05 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.000579/0.5368, allocations: 385.8 kB / 0.5112 GB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5369, allocations: 11.78 kB / 0.5112 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.5369, allocations: 11.77 kB / 0.5112 GB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.5371, allocations: 178.4 kB / 0.5114 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.5372, allocations: 11.23 kB / 0.5114 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.5372, allocations: 3.844 kB / 0.5114 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.5375, allocations: 130.9 kB / 0.5115 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5376, allocations: 0 / 0.5115 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.5376, allocations: 0 / 0.5115 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5376, allocations: 2.297 kB / 0.5115 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.5378, allocations: 42.2 kB / 0.5116 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.5383, allocations: 385.7 kB / 0.5119 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.5388, allocations: 108.6 kB / 0.512 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.5388, allocations: 0 / 0.512 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.5391, allocations: 87.02 kB / 0.5121 GB, free: 10.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.896e-06/0.5391, allocations: 0 / 0.5121 GB, free: 10.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004658/0.5396, allocations: 125.2 kB / 0.5122 GB, free: 10.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.5397, allocations: 110.4 kB / 0.5123 GB, free: 10.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.5398, allocations: 119.1 kB / 0.5124 GB, free: 10.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.5398, allocations: 33.02 kB / 0.5125 GB, free: 10.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.5399, allocations: 153.8 kB / 0.5126 GB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.5399, allocations: 19.06 kB / 0.5126 GB, free: 10.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.5399, allocations: 2.562 kB / 0.5126 GB, free: 10.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.54, allocations: 322.7 kB / 0.5129 GB, free: 9.984 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.894e-05/0.5401, allocations: 22.36 kB / 0.513 GB, free: 9.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.5402, allocations: 68.47 kB / 0.513 GB, free: 9.918 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.5404, allocations: 118.6 kB / 0.5131 GB, free: 9.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5405, allocations: 1.969 kB / 0.5132 GB, free: 9.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002906/0.5408, allocations: 121.8 kB / 0.5133 GB, free: 9.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5408, allocations: 7.844 kB / 0.5133 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5408, allocations: 0 / 0.5133 GB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5408, allocations: 8.031 kB / 0.5133 GB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.541, allocations: 19.55 kB / 0.5133 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.541, allocations: 0.7031 kB / 0.5133 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.5411, allocations: 15.41 kB / 0.5133 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.5412, allocations: 7.828 kB / 0.5133 GB, free: 9.742 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 0.0001165/0.5413, allocations: 131.7 kB / 0.5134 GB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.5414, allocations: 63.28 kB / 0.5135 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.5415, allocations: 14.28 kB / 0.5135 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5415, allocations: 3.875 kB / 0.5135 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5415, allocations: 0 / 0.5135 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5415, allocations: 3.984 kB / 0.5135 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.542, allocations: 337.3 kB / 0.5139 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.542, allocations: 0.875 kB / 0.5139 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.5422, allocations: 27.31 kB / 0.5139 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.5422, allocations: 3.938 kB / 0.5139 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.5422, allocations: 0 / 0.5139 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.5422, allocations: 7.812 kB / 0.5139 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5422, allocations: 0 / 0.5139 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.5426, allocations: 241.4 kB / 0.5141 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.5426, allocations: 88.89 kB / 0.5142 GB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.5427, allocations: 0 / 0.5142 GB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.5429, allocations: 15.7 kB / 0.5142 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.5429, allocations: 11.78 kB / 0.5142 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.5429, allocations: 7.844 kB / 0.5142 GB, free: 8.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.289e-05/0.543, allocations: 99.47 kB / 0.5143 GB, free: 8.812 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.543, allocations: 0 / 0.5143 GB, free: 8.812 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00036/0.5434, allocations: 11.56 kB / 0.5143 GB, free: 8.812 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 0.0001074/0.5435, allocations: 102.5 kB / 0.5144 GB, free: 8.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.5438, allocations: 83.14 kB / 0.5145 GB, free: 8.695 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5439, allocations: 0 / 0.5145 GB, free: 8.695 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.544, allocations: 23.2 kB / 0.5145 GB, free: 8.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.5444, allocations: 35.67 kB / 0.5146 GB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.5449, allocations: 260.8 kB / 0.5148 GB, free: 8.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.5451, allocations: 0.7 MB / 0.5155 GB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.5451, allocations: 15.16 kB / 0.5155 GB, free: 7.742 MB / 330.7 MB Notification: Performance of SimCode: time 6.32e-07/0.5451, allocations: 0 / 0.5155 GB, free: 7.742 MB / 330.7 MB Notification: Performance of Templates: time 0.003337/0.5485, allocations: 1.174 MB / 0.5167 GB, free: 7.156 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe 2>&1)