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/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.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.001467/0.001467, allocations: 181.3 kB / 17.46 MB, free: 4.363 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.475/1.475, 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.000735/0.000735, allocations: 86.3 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07638/0.07638, allocations: 12.2 MB / 332.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004104, allocations: 16 kB / 392.7 MB, free: 67.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08248, allocations: 50.28 MB / 443 MB, free: 16.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2855/0.368, allocations: 78.81 MB / 0.5096 GB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.3682, allocations: 59.05 kB / 0.5096 GB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004257/0.3725, allocations: 1.818 MB / 0.5114 GB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3725, allocations: 0 / 0.5114 GB, free: 12.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.3725, allocations: 4 kB / 0.5114 GB, free: 12.4 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.0003964/0.3729, allocations: 385.3 kB / 0.5118 GB, free: 12.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.373, allocations: 7.719 kB / 0.5118 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.373, allocations: 12.73 kB / 0.5118 GB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3731, allocations: 196.4 kB / 0.512 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3732, allocations: 7.625 kB / 0.512 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3732, allocations: 4.25 kB / 0.512 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.3734, allocations: 130.1 kB / 0.5121 GB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3735, allocations: 192 / 0.5121 GB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3735, allocations: 6.75 kB / 0.5121 GB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3735, allocations: 5.844 kB / 0.5121 GB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.3736, allocations: 34.33 kB / 0.5122 GB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.374, allocations: 376.8 kB / 0.5125 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.3743, allocations: 114 kB / 0.5126 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.3743, allocations: 40.75 kB / 0.5127 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.3744, allocations: 0 / 0.5127 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.3746, allocations: 86.89 kB / 0.5128 GB, free: 11.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.3746, allocations: 0 / 0.5128 GB, free: 11.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002943/0.3749, allocations: 125.2 kB / 0.5129 GB, free: 11.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.3749, allocations: 118.2 kB / 0.513 GB, free: 10.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.375, allocations: 132.3 kB / 0.5131 GB, free: 10.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.375, allocations: 25.7 kB / 0.5131 GB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/0.3751, allocations: 95.25 kB / 0.5132 GB, free: 10.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.3751, allocations: 23.12 kB / 0.5133 GB, free: 10.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.3751, allocations: 0 / 0.5133 GB, free: 10.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.861e-05/0.3752, allocations: 322.6 kB / 0.5136 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.3752, allocations: 30.67 kB / 0.5136 GB, free: 10.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.3753, allocations: 66.95 kB / 0.5137 GB, free: 10.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3755, allocations: 183.9 kB / 0.5138 GB, free: 10.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3755, allocations: 0 / 0.5138 GB, free: 10.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001718/0.3757, allocations: 121.9 kB / 0.5139 GB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3757, allocations: 8.578 kB / 0.514 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3757, allocations: 0 / 0.514 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3757, allocations: 3.875 kB / 0.514 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.3758, allocations: 19.47 kB / 0.514 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.3758, allocations: 0 / 0.514 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.3759, allocations: 19.7 kB / 0.514 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3759, allocations: 3.844 kB / 0.514 GB, free: 10.05 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 7.561e-05/0.376, allocations: 133.8 kB / 0.5141 GB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.376, allocations: 59.28 kB / 0.5142 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.3761, allocations: 9.844 kB / 0.5142 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3761, allocations: 7.812 kB / 0.5142 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3761, allocations: 0 / 0.5142 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3761, allocations: 0 / 0.5142 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.3764, allocations: 350.4 kB / 0.5145 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3764, allocations: 0 / 0.5145 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.726e-05/0.3765, allocations: 27.42 kB / 0.5146 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3765, allocations: 0.6562 kB / 0.5146 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3765, allocations: 3.984 kB / 0.5146 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3765, allocations: 3.969 kB / 0.5146 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3765, allocations: 4 kB / 0.5146 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.3767, allocations: 209.9 kB / 0.5148 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.3768, allocations: 92 kB / 0.5149 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3768, allocations: 3.844 kB / 0.5149 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3769, allocations: 19.66 kB / 0.5149 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.3769, allocations: 11.44 kB / 0.5149 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.377, allocations: 7.859 kB / 0.5149 GB, free: 9.227 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.759e-05/0.377, allocations: 99.66 kB / 0.515 GB, free: 9.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.377, allocations: 0 / 0.515 GB, free: 9.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.3772, allocations: 11.72 kB / 0.515 GB, free: 9.148 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 6.459e-05/0.3773, allocations: 102.1 kB / 0.5151 GB, free: 9.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3775, allocations: 69.69 kB / 0.5152 GB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3775, allocations: 0 / 0.5152 GB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.166e-05/0.3776, allocations: 34.42 kB / 0.5152 GB, free: 9.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.3779, allocations: 36.89 kB / 0.5152 GB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.3783, allocations: 251.7 kB / 0.5155 GB, free: 8.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.3784, allocations: 0.7 MB / 0.5162 GB, free: 8.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.3784, allocations: 15.22 kB / 0.5162 GB, free: 8.086 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3784, allocations: 3.938 kB / 0.5162 GB, free: 8.082 MB / 330.7 MB Notification: Performance of Templates: time 0.002065/0.3805, allocations: 1.189 MB / 0.5173 GB, free: 7.48 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)