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.001279/0.001279, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.689/1.689, allocations: 205.2 MB / 219 MB, free: 9.203 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.0008283/0.0008282, allocations: 92.27 kB / 267.1 MB, free: 9.277 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.08391/0.08391, allocations: 12.58 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.182e-05, allocations: 4 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.09812, allocations: 50.38 MB / 436.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/0.4555, allocations: 78.74 MB / 0.503 GB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.4558, allocations: 57.44 kB / 0.5031 GB, free: 12.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004604/0.4604, allocations: 1.802 MB / 0.5049 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4604, allocations: 0 / 0.5049 GB, free: 11.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.4604, allocations: 4 kB / 0.5049 GB, free: 11.62 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.0004197/0.4609, allocations: 370.7 kB / 0.5052 GB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4609, allocations: 11.47 kB / 0.5052 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.4609, allocations: 11.75 kB / 0.5052 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.4611, allocations: 186.7 kB / 0.5054 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4611, allocations: 11.58 kB / 0.5054 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.4612, allocations: 3.875 kB / 0.5054 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.4614, allocations: 113.2 kB / 0.5055 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4614, allocations: 0 / 0.5055 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4614, allocations: 4 kB / 0.5055 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4614, allocations: 0 / 0.5055 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.4615, allocations: 32.92 kB / 0.5056 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.4619, allocations: 389.9 kB / 0.5059 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.4622, allocations: 103.2 kB / 0.506 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.514e-05/0.4623, allocations: 36.28 kB / 0.5061 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.4623, allocations: 4 kB / 0.5061 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.4624, allocations: 83.73 kB / 0.5062 GB, free: 10.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.4624, allocations: 0 / 0.5062 GB, free: 10.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001955/0.4626, allocations: 81.81 kB / 0.5062 GB, free: 10.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.4627, allocations: 114.8 kB / 0.5063 GB, free: 10.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.4628, allocations: 119.8 kB / 0.5065 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.4628, allocations: 29.64 kB / 0.5065 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.4628, allocations: 92.52 kB / 0.5066 GB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.4629, allocations: 16.56 kB / 0.5066 GB, free: 10.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.4629, allocations: 3.844 kB / 0.5066 GB, free: 10.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.468e-05/0.4629, allocations: 320.9 kB / 0.5069 GB, free: 9.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/0.463, allocations: 20.69 kB / 0.5069 GB, free: 9.715 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.463, allocations: 63.58 kB / 0.507 GB, free: 9.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.4632, allocations: 109.3 kB / 0.5071 GB, free: 9.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4632, allocations: 0 / 0.5071 GB, free: 9.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001386/0.4633, allocations: 109.6 kB / 0.5072 GB, free: 9.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4634, allocations: 3.844 kB / 0.5072 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4634, allocations: 3.844 kB / 0.5072 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4634, allocations: 0 / 0.5072 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.4635, allocations: 22.14 kB / 0.5072 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.4635, allocations: 3.812 kB / 0.5072 GB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.4636, allocations: 21.91 kB / 0.5072 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.4636, allocations: 3.844 kB / 0.5073 GB, free: 9.5 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 () * 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.661e-05/0.4637, allocations: 118.7 kB / 0.5074 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.4638, allocations: 58.31 kB / 0.5074 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.4638, allocations: 13.64 kB / 0.5074 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4638, allocations: 3.875 kB / 0.5074 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4638, allocations: 0 / 0.5074 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4638, allocations: 336 / 0.5074 GB, free: 9.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.4641, allocations: 351.3 kB / 0.5078 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4641, allocations: 0 / 0.5078 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.4642, allocations: 25.36 kB / 0.5078 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4643, allocations: 0 / 0.5078 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4643, allocations: 0 / 0.5078 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4643, allocations: 3.812 kB / 0.5078 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4643, allocations: 0 / 0.5078 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.4644, allocations: 228 kB / 0.508 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.4645, allocations: 90.8 kB / 0.5081 GB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.4645, allocations: 0 / 0.5081 GB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.4646, allocations: 21.73 kB / 0.5081 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.4647, allocations: 10.14 kB / 0.5081 GB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.4647, allocations: 10.56 kB / 0.5081 GB, free: 8.719 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.4648, allocations: 97.98 kB / 0.5082 GB, free: 8.645 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4648, allocations: 0 / 0.5082 GB, free: 8.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002208/0.465, allocations: 15.22 kB / 0.5083 GB, free: 8.645 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 () * 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.443e-05/0.4651, allocations: 103 kB / 0.5084 GB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.4652, allocations: 60.09 kB / 0.5084 GB, free: 8.547 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4652, allocations: 3.781 kB / 0.5084 GB, free: 8.547 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.4653, allocations: 22.44 kB / 0.5084 GB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.4656, allocations: 27.59 kB / 0.5085 GB, free: 8.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.4658, allocations: 130.8 kB / 0.5086 GB, free: 8.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.466, allocations: 0.6995 MB / 0.5093 GB, free: 7.742 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.112e-05/0.466, allocations: 11.17 kB / 0.5093 GB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.466, allocations: 11.38 kB / 0.5093 GB, free: 7.73 MB / 330.7 MB Notification: Performance of SimCode: time 3.4e-07/0.466, allocations: 0 / 0.5093 GB, free: 7.73 MB / 330.7 MB Notification: Performance of Templates: time 0.002861/0.4689, allocations: 0.9319 MB / 0.5102 GB, free: 7.387 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)