Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.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.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009492/0.0009493, allocations: 181.2 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.468/1.468, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.00075/0.0007499, allocations: 89.42 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06966/0.06966, allocations: 12.19 MB / 332.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004195, allocations: 23.98 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07864/0.07908, allocations: 50.28 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.281/0.3601, allocations: 78.49 MB / 0.5093 GB, free: 13.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.3603, allocations: 70.17 kB / 0.5093 GB, free: 13.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005359/0.3657, allocations: 2.341 MB / 0.5116 GB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3657, allocations: 3.688 kB / 0.5116 GB, free: 12.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.3658, allocations: 8 kB / 0.5116 GB, free: 12.39 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003154/0.3661, allocations: 378 kB / 0.512 GB, free: 12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3661, allocations: 7.688 kB / 0.512 GB, free: 12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.3662, allocations: 12.7 kB / 0.512 GB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3663, allocations: 199.5 kB / 0.5122 GB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3663, allocations: 8.031 kB / 0.5122 GB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.3664, allocations: 384 / 0.5122 GB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.3666, allocations: 133.3 kB / 0.5123 GB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3667, allocations: 0 / 0.5123 GB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.3667, allocations: 0 / 0.5123 GB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.3667, allocations: 3.844 kB / 0.5123 GB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.3668, allocations: 27.11 kB / 0.5124 GB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.3671, allocations: 282.2 kB / 0.5126 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.3674, allocations: 85.12 kB / 0.5127 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.3674, allocations: 36.11 kB / 0.5128 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3675, allocations: 0 / 0.5128 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3675, allocations: 31.44 kB / 0.5128 GB, free: 11.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.3675, allocations: 3.938 kB / 0.5128 GB, free: 11.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002409/0.3677, allocations: 94.11 kB / 0.5129 GB, free: 11.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.3678, allocations: 88.97 kB / 0.513 GB, free: 11.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.3679, allocations: 147.1 kB / 0.5131 GB, free: 10.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.3679, allocations: 25.7 kB / 0.5131 GB, free: 10.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.368, allocations: 87.44 kB / 0.5132 GB, free: 10.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.368, allocations: 11.28 kB / 0.5132 GB, free: 10.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.368, allocations: 4 kB / 0.5132 GB, free: 10.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.368, allocations: 325.9 kB / 0.5135 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.3681, allocations: 11.34 kB / 0.5136 GB, free: 10.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.368e-05/0.3682, allocations: 54.86 kB / 0.5136 GB, free: 10.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.3683, allocations: 155.1 kB / 0.5138 GB, free: 10.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3683, allocations: 0 / 0.5138 GB, free: 10.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001367/0.3685, allocations: 98.55 kB / 0.5138 GB, free: 10.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3685, allocations: 3.906 kB / 0.5139 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3685, allocations: 3.938 kB / 0.5139 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3685, allocations: 7.781 kB / 0.5139 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.3686, allocations: 15.36 kB / 0.5139 GB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3686, allocations: 4.094 kB / 0.5139 GB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.3687, allocations: 15.78 kB / 0.5139 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3687, allocations: 3.844 kB / 0.5139 GB, free: 10.27 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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (7): * Single equations (assignments): 7 * 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.000112/0.3688, allocations: 132.8 kB / 0.514 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.3689, allocations: 55.47 kB / 0.5141 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.3689, allocations: 11.69 kB / 0.5141 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3689, allocations: 0 / 0.5141 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3689, allocations: 0 / 0.5141 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3689, allocations: 3.844 kB / 0.5141 GB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.3691, allocations: 187.2 kB / 0.5143 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3691, allocations: 0 / 0.5143 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.521e-05/0.3692, allocations: 23.17 kB / 0.5143 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3692, allocations: 0 / 0.5143 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3692, allocations: 3.984 kB / 0.5143 GB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3692, allocations: 0 / 0.5143 GB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3692, allocations: 0 / 0.5143 GB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.3694, allocations: 193.2 kB / 0.5145 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.3694, allocations: 92.78 kB / 0.5146 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3695, allocations: 0 / 0.5146 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.3695, allocations: 3.781 kB / 0.5146 GB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.3696, allocations: 3.984 kB / 0.5146 GB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.3696, allocations: 3.844 kB / 0.5146 GB, free: 9.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.625e-05/0.3697, allocations: 117.3 kB / 0.5147 GB, free: 9.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3697, allocations: 4 kB / 0.5147 GB, free: 9.523 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002114/0.3699, allocations: 7.75 kB / 0.5147 GB, free: 9.523 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: 0 () * 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 7.556e-05/0.37, allocations: 102 kB / 0.5148 GB, free: 9.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.3701, allocations: 48.66 kB / 0.5148 GB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3701, allocations: 0 / 0.5148 GB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.3702, allocations: 11.84 kB / 0.5149 GB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3705, allocations: 34.91 kB / 0.5149 GB, free: 9.406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.3709, allocations: 252.5 kB / 0.5151 GB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.371, allocations: 0.6993 MB / 0.5158 GB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.371, allocations: 11.31 kB / 0.5158 GB, free: 8.465 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3711, allocations: 0 / 0.5158 GB, free: 8.465 MB / 330.7 MB Notification: Performance of Templates: time 0.001879/0.3729, allocations: 0.9521 MB / 0.5168 GB, free: 7.992 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)