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.0007868/0.0007864, allocations: 102.6 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007458/0.0007458, allocations: 180.9 kB / 16.96 MB, free: 6.902 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.199/1.199, allocations: 205.4 MB / 223.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06122/0.06123, allocations: 12.61 MB / 284 MB, free: 8.586 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.0006226/0.0006226, allocations: 23.98 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07312/0.07375, allocations: 50.38 MB / 395.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.001615/0.07541, allocations: 1.364 MB / 396.9 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006512/0.07607, allocations: 0.4919 MB / 397.4 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.07614, allocations: 4 kB / 397.4 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.936e-05/0.07616, allocations: 7.922 kB / 397.4 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.07624, allocations: 15.86 kB / 397.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.07647, allocations: 43.95 kB / 397.5 MB, free: 496 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.972e-05/0.07658, allocations: 71.72 kB / 397.5 MB, free: 424 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.07668, allocations: 12 kB / 397.5 MB, free: 412 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.07676, allocations: 35.84 kB / 397.6 MB, free: 376 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.07682, allocations: 27.84 kB / 397.6 MB, free: 348 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.07684, allocations: 4 kB / 397.6 MB, free: 344 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.038e-05/0.07686, allocations: 0 / 397.6 MB, free: 344 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.07688, allocations: 15.92 kB / 397.6 MB, free: 328 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.07694, allocations: 49.52 kB / 397.7 MB, free: 272 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.381e-05/0.07703, allocations: 67.92 kB / 397.7 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.07704, allocations: 4 kB / 397.7 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07704, allocations: 0 / 397.7 MB, free: 200 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.07705, allocations: 0 / 397.7 MB, free: 200 kB / 286.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.0004948/0.07755, allocations: 383.2 kB / 398.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.07759, allocations: 8.031 kB / 398.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.07762, allocations: 12.84 kB / 398.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.07779, allocations: 196.1 kB / 398.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.07781, allocations: 4.375 kB / 398.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.07783, allocations: 4.375 kB / 398.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.07808, allocations: 126.2 kB / 398.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.0781, allocations: 7.984 kB / 398.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.07812, allocations: 0 / 398.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.07813, allocations: 3.984 kB / 398.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.07824, allocations: 39.92 kB / 398.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.07863, allocations: 377.8 kB / 398.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.07895, allocations: 107.8 kB / 399 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.344e-05/0.07903, allocations: 42.62 kB / 399 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.07906, allocations: 7.984 kB / 399 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.07923, allocations: 89 kB / 399.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.07924, allocations: 3.938 kB / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002962/0.07954, allocations: 121.5 kB / 399.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.07962, allocations: 114.7 kB / 399.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.07971, allocations: 121.8 kB / 399.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.07974, allocations: 33.7 kB / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.07978, allocations: 88.12 kB / 399.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.07981, allocations: 15.81 kB / 399.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.07985, allocations: 25.83 kB / 399.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.07995, allocations: 322.8 kB / 400 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.08001, allocations: 19.98 kB / 400 MB, free: 13.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.98e-05/0.08011, allocations: 73.92 kB / 400 MB, free: 13.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.08032, allocations: 183.1 kB / 400.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.08033, allocations: 4 kB / 400.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002031/0.08054, allocations: 121.4 kB / 400.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.08056, allocations: 4 kB / 400.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.08057, allocations: 0 / 400.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.08059, allocations: 8.125 kB / 400.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.08066, allocations: 23.98 kB / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.08068, allocations: 0 / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.91e-05/0.08077, allocations: 27.83 kB / 400.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.08079, allocations: 4 kB / 400.4 MB, free: 13.18 MB / 302.1 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,$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.0001003/0.08089, allocations: 122.3 kB / 400.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.08097, allocations: 57.67 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.08102, allocations: 23.89 kB / 400.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.08103, allocations: 4 kB / 400.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.08104, allocations: 0 / 400.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.08104, allocations: 0 / 400.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.08138, allocations: 342.3 kB / 401 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.08139, allocations: 4 kB / 401 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.0815, allocations: 19.98 kB / 401 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.08152, allocations: 4 kB / 401 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.08153, allocations: 4 kB / 401 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.08154, allocations: 0 / 401 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.08155, allocations: 11.86 kB / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.08178, allocations: 213.1 kB / 401.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.08183, allocations: 81.02 kB / 401.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.08186, allocations: 11.92 kB / 401.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.08198, allocations: 12 kB / 401.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.08202, allocations: 11.92 kB / 401.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.08203, allocations: 0 / 401.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.011e-05/0.08209, allocations: 107.2 kB / 401.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0821, allocations: 0 / 401.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.08234, allocations: 19.98 kB / 401.4 MB, free: 12.03 MB / 302.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 8.813e-05/0.08243, allocations: 99.25 kB / 401.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.08263, allocations: 71.84 kB / 401.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.08264, allocations: 0 / 401.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.08271, allocations: 28.45 kB / 401.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.08307, allocations: 39.91 kB / 401.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.08342, allocations: 244.6 kB / 401.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.08365, allocations: 0.6965 MB / 402.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.561e-05/0.0837, allocations: 4.672 kB / 402.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.08374, allocations: 15.44 kB / 402.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.08374, allocations: 0 / 402.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of Templates: time 0.002801/0.08655, allocations: 0.9886 MB / 403.6 MB, free: 9.793 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: