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.000896/0.0008962, allocations: 175.4 kB / 16.45 MB, free: 5.684 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.391/1.391, allocations: 205.4 MB / 222.6 MB, free: 9.098 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.0007378/0.0007379, allocations: 96.91 kB / 270.9 MB, free: 8.359 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.08365/0.08365, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004976, allocations: 20 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09461/0.09513, allocations: 50.37 MB / 443 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.001503/0.09668, allocations: 1.332 MB / 444.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005711/0.09726, allocations: 0.4922 MB / 444.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.09734, allocations: 0 / 444.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.09737, allocations: 7.922 kB / 444.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.938e-05/0.09747, allocations: 15.86 kB / 444.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.09772, allocations: 39.95 kB / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.806e-05/0.09782, allocations: 67.72 kB / 445 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.09793, allocations: 19.97 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.139e-05/0.098, allocations: 27.86 kB / 445 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.09807, allocations: 23.91 kB / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.0981, allocations: 4 kB / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.09812, allocations: 0 / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.09814, allocations: 15.92 kB / 445.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.09818, allocations: 37.64 kB / 445.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.952e-05/0.09825, allocations: 48.14 kB / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.09826, allocations: 0 / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.09827, allocations: 0 / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.09828, allocations: 0 / 445.1 MB, free: 13.66 MB / 298.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.0005025/0.09879, allocations: 375 kB / 445.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.09884, allocations: 12.03 kB / 445.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.09888, allocations: 11.91 kB / 445.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.09905, allocations: 196.3 kB / 445.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.09907, allocations: 7.938 kB / 445.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.0991, allocations: 4 kB / 445.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.09935, allocations: 129.9 kB / 445.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.09937, allocations: 0 / 445.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.09939, allocations: 3.938 kB / 445.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.0994, allocations: 4 kB / 445.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.09951, allocations: 35.92 kB / 445.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.09986, allocations: 377.8 kB / 446.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.1002, allocations: 107.8 kB / 446.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.1002, allocations: 38.62 kB / 446.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1003, allocations: 11.94 kB / 446.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1004, allocations: 85.09 kB / 446.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.1004, allocations: 0 / 446.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003095/0.1008, allocations: 121.5 kB / 446.6 MB, free: 11.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.1008, allocations: 114.7 kB / 446.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.1009, allocations: 122.3 kB / 446.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.1009, allocations: 37.81 kB / 446.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.101, allocations: 88.33 kB / 447 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.101, allocations: 15.81 kB / 447 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.101, allocations: 0 / 447 MB, free: 11.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.101, allocations: 326.8 kB / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.1011, allocations: 23.98 kB / 447.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.1012, allocations: 77.92 kB / 447.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1013, allocations: 113.4 kB / 447.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1013, allocations: 0 / 447.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001777/0.1015, allocations: 129.6 kB / 447.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1015, allocations: 8.938 kB / 447.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1015, allocations: 0 / 447.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1016, allocations: 4 kB / 447.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.1016, allocations: 19.92 kB / 447.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1017, allocations: 8.188 kB / 447.7 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.481e-05/0.1017, allocations: 19.83 kB / 447.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1018, allocations: 4 kB / 447.7 MB, free: 10.76 MB / 298.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 7.793e-05/0.1018, allocations: 129.6 kB / 447.9 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.1019, allocations: 57.53 kB / 447.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.102, allocations: 19.83 kB / 447.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.102, allocations: 4 kB / 447.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.102, allocations: 7.938 kB / 447.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.102, allocations: 0 / 447.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.1023, allocations: 334.5 kB / 448.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1023, allocations: 4 kB / 448.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1024, allocations: 19.92 kB / 448.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1024, allocations: 4 kB / 448.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1024, allocations: 4 kB / 448.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1025, allocations: 0 / 448.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1025, allocations: 4 kB / 448.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.1027, allocations: 213 kB / 448.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.1027, allocations: 85.02 kB / 448.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1027, allocations: 11.98 kB / 448.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1028, allocations: 8 kB / 448.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.1029, allocations: 7.984 kB / 448.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1029, allocations: 8 kB / 448.6 MB, free: 9.738 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.127e-05/0.103, allocations: 107.3 kB / 448.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.103, allocations: 0 / 448.7 MB, free: 9.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.1032, allocations: 23.94 kB / 448.8 MB, free: 9.609 MB / 298.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 8.338e-05/0.1033, allocations: 103.2 kB / 448.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.1035, allocations: 67.91 kB / 448.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1035, allocations: 0 / 448.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.1036, allocations: 28.3 kB / 449 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1039, allocations: 36.08 kB / 449 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.1043, allocations: 262.2 kB / 449.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.1044, allocations: 0.701 MB / 449.9 MB, free: 8.352 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.1044, allocations: 15.38 kB / 450 MB, free: 8.336 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1045, allocations: 3.938 kB / 450 MB, free: 8.332 MB / 298.7 MB Notification: Performance of Templates: time 0.002329/0.1068, allocations: 1.19 MB / 451.2 MB, free: 7.145 MB / 298.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)