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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 103.2 kB / 16.31 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 188.5 kB / 17.24 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08183/0.08183, allocations: 12.6 MB / 283.1 MB, free: 15.48 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 84.81 kB / 343.5 MB, free: 2.957 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4017, allocations: 49.38 MB / 392.9 MB, free: 49.22 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.004552/0.4063, allocations: 1.646 MB / 394.5 MB, free: 48.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.4075, allocations: 0.5195 MB / 395 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.649e-05/0.4077, allocations: 1.219 kB / 395 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.4077, allocations: 5.766 kB / 395 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.4078, allocations: 16.56 kB / 395.1 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.4082, allocations: 43.91 kB / 395.1 MB, free: 47.67 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.4084, allocations: 70.67 kB / 395.2 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.4085, allocations: 25.16 kB / 395.2 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.4086, allocations: 35.77 kB / 395.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.4088, allocations: 32.19 kB / 395.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.4088, allocations: 5.25 kB / 395.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.894e-05/0.4088, allocations: 5.219 kB / 395.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.4089, allocations: 21.28 kB / 395.3 MB, free: 47.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.886e-05/0.409, allocations: 31.62 kB / 395.3 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.4092, allocations: 63.42 kB / 395.4 MB, free: 47.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4092, allocations: 0.6094 kB / 395.4 MB, free: 47.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4092, allocations: 0 / 395.4 MB, free: 47.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.4092, allocations: 1.281 kB / 395.4 MB, free: 47.53 MB / 318.1 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.0007235/0.41, allocations: 388.8 kB / 395.8 MB, free: 47.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.41, allocations: 9.344 kB / 395.8 MB, free: 47.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.4101, allocations: 12.78 kB / 395.8 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.4104, allocations: 191.1 kB / 396 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.4104, allocations: 3.062 kB / 396 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.4104, allocations: 12.33 kB / 396 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.4108, allocations: 126.3 kB / 396.1 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4109, allocations: 4 kB / 396.1 MB, free: 46.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.4109, allocations: 9.609 kB / 396.1 MB, free: 46.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.4109, allocations: 3.219 kB / 396.1 MB, free: 46.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.4111, allocations: 30.45 kB / 396.2 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.4116, allocations: 378.3 kB / 396.5 MB, free: 46.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.4121, allocations: 104.5 kB / 396.6 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.4123, allocations: 33.19 kB / 396.7 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.4123, allocations: 5.703 kB / 396.7 MB, free: 46.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003444/0.4127, allocations: 83.73 kB / 396.7 MB, free: 46.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.4127, allocations: 0 / 396.7 MB, free: 46.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005222/0.4132, allocations: 117.7 kB / 396.9 MB, free: 46.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/0.4133, allocations: 120.1 kB / 397 MB, free: 46.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.4135, allocations: 128.9 kB / 397.1 MB, free: 45.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.4135, allocations: 26.92 kB / 397.1 MB, free: 45.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.4136, allocations: 96.7 kB / 397.2 MB, free: 45.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.4136, allocations: 16.75 kB / 397.2 MB, free: 45.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.4137, allocations: 24.78 kB / 397.3 MB, free: 45.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4138, allocations: 324.4 kB / 397.6 MB, free: 45.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-05/0.4139, allocations: 28.53 kB / 397.6 MB, free: 45.44 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.4141, allocations: 68.33 kB / 397.7 MB, free: 45.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.4144, allocations: 175.9 kB / 397.9 MB, free: 45.19 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4144, allocations: 1.094 kB / 397.9 MB, free: 45.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002863/0.4147, allocations: 125.4 kB / 398 MB, free: 45.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4147, allocations: 5.75 kB / 398 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4147, allocations: 1.5 kB / 398 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.4148, allocations: 3.438 kB / 398 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4149, allocations: 21.7 kB / 398 MB, free: 45.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.4149, allocations: 1.562 kB / 398 MB, free: 45.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.415, allocations: 15.08 kB / 398 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.4151, allocations: 4.75 kB / 398 MB, free: 45.09 MB / 318.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.4152, allocations: 131.8 kB / 398.2 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4153, allocations: 65.95 kB / 398.2 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.4154, allocations: 14.98 kB / 398.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4154, allocations: 1.375 kB / 398.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.4154, allocations: 1.25 kB / 398.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.4155, allocations: 1.062 kB / 398.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.4159, allocations: 342.2 kB / 398.6 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4159, allocations: 5.438 kB / 398.6 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.4161, allocations: 16.83 kB / 398.6 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4161, allocations: 1.344 kB / 398.6 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.4161, allocations: 6.531 kB / 398.6 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.4161, allocations: 1.281 kB / 398.6 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4162, allocations: 7.875 kB / 398.6 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.4165, allocations: 207.2 kB / 398.8 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.4165, allocations: 87.83 kB / 398.9 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.4166, allocations: 10.14 kB / 398.9 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.4167, allocations: 5.688 kB / 398.9 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.4168, allocations: 10.3 kB / 398.9 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.4168, allocations: 7.75 kB / 398.9 MB, free: 44.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.425e-05/0.4169, allocations: 97.2 kB / 399 MB, free: 44.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4169, allocations: 0 / 399 MB, free: 44.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004561/0.4174, allocations: 20.94 kB / 399 MB, free: 44.12 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001135/0.4175, allocations: 102.6 kB / 399.1 MB, free: 44.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.4179, allocations: 69.16 kB / 399.2 MB, free: 44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4179, allocations: 1.188 kB / 399.2 MB, free: 44 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.418, allocations: 24.92 kB / 399.2 MB, free: 43.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.4186, allocations: 39.55 kB / 399.3 MB, free: 43.97 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/0.4193, allocations: 212.8 kB / 399.5 MB, free: 43.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.4195, allocations: 0.7044 MB / 400.2 MB, free: 43.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.518e-05/0.4196, allocations: 5.453 kB / 400.2 MB, free: 43.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.4197, allocations: 12.03 kB / 400.2 MB, free: 43.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4197, allocations: 0 / 400.2 MB, free: 43.07 MB / 318.1 MB Notification: Performance of Templates: time 0.006061/0.4257, allocations: 1.121 MB / 401.3 MB, free: 42.5 MB / 318.1 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)