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.001534/0.001534, allocations: 186.8 kB / 13.7 MB, free: 1.625 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.997/1.997, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001006/0.001006, allocations: 90.64 kB / 267.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09849/0.09849, allocations: 12.6 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.919e-05, allocations: 4 kB / 386 MB, free: 1.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3003, allocations: 50.36 MB / 436.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.4405, allocations: 78.76 MB / 0.503 GB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.4408, allocations: 63.97 kB / 0.5031 GB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008061/0.4488, allocations: 1.788 MB / 0.5048 GB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4489, allocations: 4 kB / 0.5048 GB, free: 13.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.4489, allocations: 4 kB / 0.5048 GB, free: 13.43 MB / 362.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.0006274/0.4496, allocations: 370.3 kB / 0.5052 GB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4496, allocations: 12.03 kB / 0.5052 GB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.4497, allocations: 7.906 kB / 0.5052 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.4499, allocations: 190.9 kB / 0.5054 GB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.45, allocations: 15.95 kB / 0.5054 GB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.45, allocations: 3.984 kB / 0.5054 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.4503, allocations: 113.9 kB / 0.5055 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4504, allocations: 4 kB / 0.5055 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4504, allocations: 0 / 0.5055 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4504, allocations: 4 kB / 0.5055 GB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.68e-05/0.4505, allocations: 19.94 kB / 0.5055 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.4512, allocations: 385.8 kB / 0.5059 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.4517, allocations: 103.8 kB / 0.506 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.4518, allocations: 31.61 kB / 0.506 GB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.4518, allocations: 7.938 kB / 0.506 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.452, allocations: 81.11 kB / 0.5061 GB, free: 11.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 2.334e-06/0.452, allocations: 0 / 0.5061 GB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002883/0.4523, allocations: 85.52 kB / 0.5062 GB, free: 11.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.4525, allocations: 118.7 kB / 0.5063 GB, free: 11.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.4526, allocations: 117.9 kB / 0.5064 GB, free: 11.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.4527, allocations: 25.7 kB / 0.5065 GB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.4528, allocations: 162.7 kB / 0.5066 GB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.4528, allocations: 19.8 kB / 0.5066 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.4528, allocations: 0 / 0.5066 GB, free: 11.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.453, allocations: 322.8 kB / 0.5069 GB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.453, allocations: 12 kB / 0.5069 GB, free: 10.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.4532, allocations: 69.94 kB / 0.507 GB, free: 10.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.4534, allocations: 109 kB / 0.5071 GB, free: 10.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4534, allocations: 0 / 0.5071 GB, free: 10.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002596/0.4537, allocations: 109.5 kB / 0.5072 GB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4537, allocations: 4 kB / 0.5072 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4537, allocations: 4 kB / 0.5072 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4538, allocations: 288 / 0.5072 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.4539, allocations: 23.92 kB / 0.5073 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.454, allocations: 4 kB / 0.5073 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.4541, allocations: 19.92 kB / 0.5073 GB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.4542, allocations: 8.188 kB / 0.5073 GB, free: 10.59 MB / 362.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 0.0001313/0.4543, allocations: 120.7 kB / 0.5074 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4544, allocations: 57.53 kB / 0.5075 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.4545, allocations: 12.03 kB / 0.5075 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4545, allocations: 0 / 0.5075 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4545, allocations: 3.984 kB / 0.5075 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4546, allocations: 4 kB / 0.5075 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.4551, allocations: 338.5 kB / 0.5078 GB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.4551, allocations: 0 / 0.5078 GB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.4554, allocations: 31.91 kB / 0.5078 GB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.4554, allocations: 0 / 0.5078 GB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4554, allocations: 0 / 0.5078 GB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.4554, allocations: 4 kB / 0.5078 GB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4554, allocations: 0 / 0.5078 GB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.4557, allocations: 224.4 kB / 0.508 GB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.4558, allocations: 89.02 kB / 0.5081 GB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4559, allocations: 7.984 kB / 0.5081 GB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.4561, allocations: 8 kB / 0.5081 GB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.4561, allocations: 15.88 kB / 0.5082 GB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.4562, allocations: 8 kB / 0.5082 GB, free: 9.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.4563, allocations: 96.67 kB / 0.5083 GB, free: 9.469 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4563, allocations: 4 kB / 0.5083 GB, free: 9.465 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.4566, allocations: 16 kB / 0.5083 GB, free: 9.449 MB / 362.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 0.0001319/0.4568, allocations: 95.19 kB / 0.5084 GB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.457, allocations: 64.3 kB / 0.5084 GB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.457, allocations: 0 / 0.5084 GB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.4571, allocations: 23.94 kB / 0.5085 GB, free: 9.262 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.4575, allocations: 27.97 kB / 0.5085 GB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.458, allocations: 171.5 kB / 0.5086 GB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.4584, allocations: 0.7044 MB / 0.5093 GB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.4584, allocations: 11.44 kB / 0.5093 GB, free: 8.293 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4585, allocations: 0 / 0.5093 GB, free: 8.293 MB / 362.7 MB Notification: Performance of Templates: time 0.003853/0.4623, allocations: 1.161 MB / 0.5105 GB, free: 7.129 MB / 362.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)