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.002148/0.002148, allocations: 180.5 kB / 8.408 MB, free: 0.6641 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.3 MB / 214.1 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009955/0.0009953, allocations: 86.36 kB / 262.2 MB, free: 1.684 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.101/0.101, allocations: 12.6 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.599e-05, allocations: 0 / 378.9 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.309, allocations: 50.38 MB / 429.3 MB, free: 18.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4484, allocations: 78.08 MB / 0.4955 GB, free: 4.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4487, allocations: 67.95 kB / 0.4955 GB, free: 4.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00813/0.4569, allocations: 1.789 MB / 0.4973 GB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.457, allocations: 0 / 0.4973 GB, free: 2.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.457, allocations: 4 kB / 0.4973 GB, free: 2.359 MB / 346.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.000637/0.4576, allocations: 378.3 kB / 0.4976 GB, free: 1.945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4577, allocations: 8.031 kB / 0.4977 GB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.4578, allocations: 7.906 kB / 0.4977 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.458, allocations: 187 kB / 0.4978 GB, free: 1.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.4581, allocations: 3.953 kB / 0.4978 GB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.4581, allocations: 11.94 kB / 0.4979 GB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001181/0.4582, allocations: 20 kB / 0.4979 GB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.4585, allocations: 105.9 kB / 0.498 GB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4586, allocations: 4 kB / 0.498 GB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.4586, allocations: 0 / 0.498 GB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.4586, allocations: 0 / 0.498 GB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.4592, allocations: 362.3 kB / 0.4983 GB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.4597, allocations: 95.84 kB / 0.4984 GB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.4598, allocations: 34.58 kB / 0.4984 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.4598, allocations: 4.078 kB / 0.4985 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.46, allocations: 77.03 kB / 0.4985 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.46, allocations: 0 / 0.4985 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002782/0.4603, allocations: 85.5 kB / 0.4986 GB, free: 0.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.4604, allocations: 114.7 kB / 0.4987 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.4605, allocations: 110.5 kB / 0.4988 GB, free: 0.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.4606, allocations: 29.64 kB / 0.4988 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.4607, allocations: 166.7 kB / 0.499 GB, free: 348 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.4607, allocations: 19.8 kB / 0.499 GB, free: 328 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.4607, allocations: 0 / 0.499 GB, free: 328 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4609, allocations: 310.8 kB / 0.4993 GB, free: 8 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.461, allocations: 16.05 kB / 0.4993 GB, free: 15.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.4611, allocations: 65.89 kB / 0.4994 GB, free: 15.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.4613, allocations: 105.1 kB / 0.4995 GB, free: 15.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.4613, allocations: 3.953 kB / 0.4995 GB, free: 15.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002335/0.4616, allocations: 89.45 kB / 0.4996 GB, free: 15.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4616, allocations: 8.188 kB / 0.4996 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4616, allocations: 4 kB / 0.4996 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4616, allocations: 4 kB / 0.4996 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.4618, allocations: 23.92 kB / 0.4996 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4618, allocations: 4 kB / 0.4996 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.462, allocations: 15.92 kB / 0.4996 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.462, allocations: 8 kB / 0.4997 GB, free: 15.62 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.0001321/0.4622, allocations: 105 kB / 0.4998 GB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.4623, allocations: 65.48 kB / 0.4998 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.4624, allocations: 12.34 kB / 0.4998 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4624, allocations: 0 / 0.4998 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.4624, allocations: 0 / 0.4998 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.4624, allocations: 4 kB / 0.4998 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.4629, allocations: 311.1 kB / 0.5001 GB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.463, allocations: 4 kB / 0.5001 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.4632, allocations: 27.92 kB / 0.5002 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4632, allocations: 0 / 0.5002 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4632, allocations: 0 / 0.5002 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.4632, allocations: 4 kB / 0.5002 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.4632, allocations: 3.984 kB / 0.5002 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.4635, allocations: 216.5 kB / 0.5004 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.4636, allocations: 85.02 kB / 0.5005 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.4637, allocations: 4.375 kB / 0.5005 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.4639, allocations: 15.92 kB / 0.5005 GB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.4639, allocations: 96 / 0.5005 GB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.464, allocations: 11.92 kB / 0.5005 GB, free: 14.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.519e-05/0.4641, allocations: 99.28 kB / 0.5006 GB, free: 14.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4641, allocations: 0 / 0.5006 GB, free: 14.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003644/0.4645, allocations: 15.95 kB / 0.5006 GB, free: 14.55 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.0001308/0.4646, allocations: 99.23 kB / 0.5007 GB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.4649, allocations: 55.86 kB / 0.5007 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4649, allocations: 0 / 0.5007 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.231e-05/0.465, allocations: 19.98 kB / 0.5008 GB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.4654, allocations: 40.8 kB / 0.5008 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.4658, allocations: 155.4 kB / 0.501 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.4662, allocations: 0.6963 MB / 0.5016 GB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.4663, allocations: 15.44 kB / 0.5016 GB, free: 13.4 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4663, allocations: 0 / 0.5016 GB, free: 13.4 MB / 362.7 MB Notification: Performance of Templates: time 0.003885/0.4702, allocations: 1.159 MB / 0.5028 GB, free: 12.25 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)