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.001688/0.001688, allocations: 179.7 kB / 15.8 MB, free: 6.34 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.441/1.441, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0007499/0.0007499, allocations: 98.8 kB / 270.3 MB, free: 13.34 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.06182/0.06182, allocations: 12.61 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 11.62 kB / 392 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.09027, allocations: 50.37 MB / 442.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.1955, allocations: 78.84 MB / 0.509 GB, free: 11.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.1958, allocations: 63.97 kB / 0.5091 GB, free: 11.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005071/0.2009, allocations: 1.815 MB / 0.5108 GB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2009, allocations: 4 kB / 0.5108 GB, free: 10.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.2009, allocations: 4 kB / 0.5108 GB, free: 10.09 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.0004877/0.2014, allocations: 387 kB / 0.5112 GB, free: 9.664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2015, allocations: 8.031 kB / 0.5112 GB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.2015, allocations: 7.906 kB / 0.5112 GB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.2017, allocations: 179 kB / 0.5114 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.2017, allocations: 15.95 kB / 0.5114 GB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.2018, allocations: 4 kB / 0.5114 GB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.202, allocations: 121.8 kB / 0.5115 GB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2021, allocations: 4 kB / 0.5115 GB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.2021, allocations: 4 kB / 0.5115 GB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2021, allocations: 4 kB / 0.5115 GB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.2022, allocations: 35.91 kB / 0.5116 GB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.2027, allocations: 385.8 kB / 0.5119 GB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.2031, allocations: 103.9 kB / 0.512 GB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.2031, allocations: 12.05 kB / 0.512 GB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.2033, allocations: 85.03 kB / 0.5121 GB, free: 8.551 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/0.2033, allocations: 0 / 0.5121 GB, free: 8.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003245/0.2037, allocations: 121.5 kB / 0.5122 GB, free: 8.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.2038, allocations: 118.7 kB / 0.5124 GB, free: 8.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.2039, allocations: 116.9 kB / 0.5125 GB, free: 8.164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2039, allocations: 25.7 kB / 0.5125 GB, free: 8.133 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.204, allocations: 92.33 kB / 0.5126 GB, free: 8.035 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.204, allocations: 19.8 kB / 0.5126 GB, free: 8.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.204, allocations: 0 / 0.5126 GB, free: 8.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2041, allocations: 326.9 kB / 0.5129 GB, free: 7.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.2042, allocations: 23.98 kB / 0.5129 GB, free: 7.664 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.2043, allocations: 65.94 kB / 0.513 GB, free: 7.578 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.2045, allocations: 125.5 kB / 0.5131 GB, free: 7.438 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2045, allocations: 0 / 0.5131 GB, free: 7.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002091/0.2047, allocations: 125.5 kB / 0.5132 GB, free: 7.309 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2047, allocations: 4 kB / 0.5132 GB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2048, allocations: 0 / 0.5132 GB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.2048, allocations: 7.938 kB / 0.5132 GB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.2049, allocations: 16 kB / 0.5133 GB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2049, allocations: 7.922 kB / 0.5133 GB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.925e-05/0.205, allocations: 19.91 kB / 0.5133 GB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.205, allocations: 4 kB / 0.5133 GB, free: 7.25 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 () * 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 0.0001154/0.2051, allocations: 141.6 kB / 0.5134 GB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.2052, allocations: 53.59 kB / 0.5135 GB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.2053, allocations: 15.91 kB / 0.5135 GB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2053, allocations: 0 / 0.5135 GB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2053, allocations: 4 kB / 0.5135 GB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2053, allocations: 0 / 0.5135 GB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.2057, allocations: 342.5 kB / 0.5138 GB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2057, allocations: 0 / 0.5138 GB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.2058, allocations: 19.98 kB / 0.5138 GB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2058, allocations: 3.938 kB / 0.5138 GB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2058, allocations: 3.984 kB / 0.5139 GB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2058, allocations: 4 kB / 0.5139 GB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2058, allocations: 3.984 kB / 0.5139 GB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.2061, allocations: 236.5 kB / 0.5141 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.2061, allocations: 85.02 kB / 0.5142 GB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.2062, allocations: 4 kB / 0.5142 GB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2063, allocations: 15.98 kB / 0.5142 GB, free: 6.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.2063, allocations: 11.94 kB / 0.5142 GB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.2064, allocations: 4 kB / 0.5142 GB, free: 6.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.2064, allocations: 100.5 kB / 0.5143 GB, free: 6.094 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2064, allocations: 0 / 0.5143 GB, free: 6.094 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002268/0.2067, allocations: 16 kB / 0.5143 GB, free: 6.078 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 () * 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 0.0001035/0.2068, allocations: 95.25 kB / 0.5144 GB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.207, allocations: 79.83 kB / 0.5145 GB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.207, allocations: 3.938 kB / 0.5145 GB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/0.2071, allocations: 20.09 kB / 0.5145 GB, free: 5.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.2074, allocations: 52.05 kB / 0.5146 GB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.2078, allocations: 233.3 kB / 0.5148 GB, free: 5.562 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.2081, allocations: 0.7006 MB / 0.5155 GB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.321e-05/0.2081, allocations: 12.66 kB / 0.5155 GB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.2082, allocations: 11.44 kB / 0.5155 GB, free: 4.809 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2082, allocations: 0 / 0.5155 GB, free: 4.809 MB / 362.7 MB Notification: Performance of Templates: time 0.00315/0.2113, allocations: 0.9198 MB / 0.5164 GB, free: 3.898 MB / 362.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)