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.001292/0.001292, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.3 MB / 213.7 MB, free: 1.75 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.0008238/0.000824, allocations: 86.62 kB / 261.8 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.07676/0.07676, allocations: 12.59 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.027e-05, allocations: 4 kB / 378.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.243, allocations: 50.36 MB / 429.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.3434, allocations: 78.1 MB / 0.4955 GB, free: 4.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.3436, allocations: 55.98 kB / 0.4956 GB, free: 4.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00503/0.3486, allocations: 1.797 MB / 0.4973 GB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3487, allocations: 0 / 0.4973 GB, free: 2.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3487, allocations: 8 kB / 0.4973 GB, free: 2.297 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.0005184/0.3492, allocations: 370.3 kB / 0.4977 GB, free: 1.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3493, allocations: 8.031 kB / 0.4977 GB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.3493, allocations: 7.906 kB / 0.4977 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3496, allocations: 188.5 kB / 0.4979 GB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3496, allocations: 7.953 kB / 0.4979 GB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.3496, allocations: 7.938 kB / 0.4979 GB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.625e-05/0.3497, allocations: 24 kB / 0.4979 GB, free: 1.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.35, allocations: 113.8 kB / 0.498 GB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.35, allocations: 0 / 0.498 GB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.35, allocations: 4 kB / 0.498 GB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.35, allocations: 4 kB / 0.498 GB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004979/0.3505, allocations: 362.3 kB / 0.4984 GB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.3509, allocations: 91.84 kB / 0.4984 GB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.3509, allocations: 34.58 kB / 0.4985 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.351, allocations: 4 kB / 0.4985 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.3511, allocations: 81.11 kB / 0.4986 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.3511, allocations: 0 / 0.4986 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002233/0.3514, allocations: 77.52 kB / 0.4986 GB, free: 0.7305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.3515, allocations: 106.8 kB / 0.4987 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3516, allocations: 114.7 kB / 0.4988 GB, free: 496 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3516, allocations: 25.7 kB / 0.4989 GB, free: 464 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.3517, allocations: 104.3 kB / 0.499 GB, free: 352 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.3517, allocations: 19.75 kB / 0.499 GB, free: 332 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.3517, allocations: 0 / 0.499 GB, free: 332 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3518, allocations: 318.8 kB / 0.4993 GB, free: 4 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.3519, allocations: 16.05 kB / 0.4993 GB, free: 15.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.352, allocations: 54.02 kB / 0.4994 GB, free: 15.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3521, allocations: 105 kB / 0.4995 GB, free: 15.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3521, allocations: 3.953 kB / 0.4995 GB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001395/0.3522, allocations: 97.45 kB / 0.4996 GB, free: 15.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3523, allocations: 8.188 kB / 0.4996 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3523, allocations: 4 kB / 0.4996 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3523, allocations: 4 kB / 0.4996 GB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.16e-05/0.3524, allocations: 20.2 kB / 0.4996 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3524, allocations: 4 kB / 0.4996 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.3525, allocations: 15.92 kB / 0.4996 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3525, allocations: 4 kB / 0.4996 GB, free: 15.63 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.0001023/0.3526, allocations: 109 kB / 0.4997 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.3527, allocations: 69.48 kB / 0.4998 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.3528, allocations: 12.33 kB / 0.4998 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3528, allocations: 4 kB / 0.4998 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3528, allocations: 0 / 0.4998 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3528, allocations: 0 / 0.4998 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.3532, allocations: 311 kB / 0.5001 GB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3532, allocations: 8 kB / 0.5001 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3533, allocations: 23.91 kB / 0.5001 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3533, allocations: 4 kB / 0.5001 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3533, allocations: 0 / 0.5001 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3533, allocations: 3.938 kB / 0.5001 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3533, allocations: 4 kB / 0.5001 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.3535, allocations: 216.5 kB / 0.5003 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.686e-05/0.3536, allocations: 85.02 kB / 0.5004 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3536, allocations: 0 / 0.5004 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3538, allocations: 15.98 kB / 0.5004 GB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.3538, allocations: 11.92 kB / 0.5005 GB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3538, allocations: 8 kB / 0.5005 GB, free: 14.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.816e-05/0.3539, allocations: 99.27 kB / 0.5006 GB, free: 14.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3539, allocations: 0 / 0.5006 GB, free: 14.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.3541, allocations: 19.95 kB / 0.5006 GB, free: 14.54 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.0001133/0.3543, allocations: 91.25 kB / 0.5007 GB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.3544, allocations: 59.86 kB / 0.5007 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3544, allocations: 0 / 0.5007 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.3545, allocations: 12.38 kB / 0.5007 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.0003454/0.3548, allocations: 36.42 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.0002992/0.3551, allocations: 125.8 kB / 0.5009 GB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.3554, allocations: 0.7002 MB / 0.5016 GB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.384e-05/0.3555, allocations: 12.66 kB / 0.5016 GB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.3555, allocations: 11.44 kB / 0.5016 GB, free: 13.43 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3555, allocations: 0 / 0.5016 GB, free: 13.43 MB / 362.7 MB Notification: Performance of Templates: time 0.002958/0.3585, allocations: 0.8751 MB / 0.5024 GB, free: 12.56 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)