Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.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.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009728/0.0009727, allocations: 97.72 kB / 16.06 MB, free: 40 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.0008/0.0008001, allocations: 181.1 kB / 16.96 MB, free: 6.895 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.236/1.236, allocations: 205.4 MB / 223.2 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.05918/0.05918, allocations: 12.6 MB / 284 MB, free: 8.59 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.0006524/0.0006524, allocations: 16.75 kB / 345.2 MB, free: 20.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07342/0.07408, allocations: 50.39 MB / 395.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.001756/0.07587, allocations: 1.508 MB / 397 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.07683, allocations: 0.7021 MB / 397.8 MB, free: 216 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.777e-05/0.07691, allocations: 4 kB / 397.8 MB, free: 212 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.0771, allocations: 23.8 kB / 397.8 MB, free: 188 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.729e-05/0.07713, allocations: 3.938 kB / 397.8 MB, free: 184 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.07736, allocations: 63.88 kB / 397.8 MB, free: 120 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.07748, allocations: 99.75 kB / 397.9 MB, free: 20 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.07762, allocations: 52.91 kB / 398 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.0777, allocations: 35.7 kB / 398 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.07781, allocations: 31.8 kB / 398.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.07783, allocations: 4 kB / 398.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.07785, allocations: 4 kB / 398.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.07791, allocations: 11.92 kB / 398.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.07797, allocations: 65.38 kB / 398.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.824e-05/0.07807, allocations: 83.91 kB / 398.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.07808, allocations: 7.922 kB / 398.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.07809, allocations: 0 / 398.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.0781, allocations: 0 / 398.2 MB, free: 15.72 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004053/0.07851, allocations: 375.4 kB / 398.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.07855, allocations: 16.03 kB / 398.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.07859, allocations: 16.69 kB / 398.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.07879, allocations: 209.5 kB / 398.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.0788, allocations: 4.562 kB / 398.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.07883, allocations: 12.12 kB / 398.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.07923, allocations: 249.4 kB / 399.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.07924, allocations: 0 / 399.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.07926, allocations: 7.984 kB / 399.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.07927, allocations: 4 kB / 399.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.0794, allocations: 55.91 kB / 399.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.07969, allocations: 306.4 kB / 399.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.07991, allocations: 151.7 kB / 399.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.08006, allocations: 102.6 kB / 399.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.08009, allocations: 7.984 kB / 399.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.08012, allocations: 38.56 kB / 399.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.08013, allocations: 4 kB / 399.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003477/0.08048, allocations: 181.6 kB / 399.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.08055, allocations: 114.8 kB / 400 MB, free: 13.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.08064, allocations: 137 kB / 400.2 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.08066, allocations: 25.95 kB / 400.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.08071, allocations: 104 kB / 400.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.08074, allocations: 15.84 kB / 400.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.08078, allocations: 21.7 kB / 400.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.08087, allocations: 322.8 kB / 400.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.08094, allocations: 27.98 kB / 400.7 MB, free: 13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.08106, allocations: 130.6 kB / 400.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.08125, allocations: 178.3 kB / 401 MB, free: 12.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.08127, allocations: 4 kB / 401 MB, free: 12.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002558/0.08153, allocations: 181.5 kB / 401.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.08155, allocations: 4 kB / 401.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.08156, allocations: 4 kB / 401.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.08158, allocations: 11.94 kB / 401.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.0817, allocations: 31.92 kB / 401.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.08171, allocations: 8 kB / 401.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.531e-05/0.08179, allocations: 19.89 kB / 401.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.08181, allocations: 8 kB / 401.3 MB, free: 12.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fixedDelay.first,fixedDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fixedDelay.first,fixedDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001132/0.08193, allocations: 133.9 kB / 401.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.08208, allocations: 113.5 kB / 401.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.08213, allocations: 24.72 kB / 401.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.08214, allocations: 4 kB / 401.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.08214, allocations: 0 / 401.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.08215, allocations: 0 / 401.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.08233, allocations: 197.5 kB / 401.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.08234, allocations: 0 / 401.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.08245, allocations: 35.92 kB / 401.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.08246, allocations: 4.031 kB / 401.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.08248, allocations: 11.94 kB / 401.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.08248, allocations: 0 / 401.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.08249, allocations: 0 / 401.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.08275, allocations: 253 kB / 402 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.08279, allocations: 88.95 kB / 402.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.08282, allocations: 7.938 kB / 402.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.08289, allocations: 8 kB / 402.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.203e-05/0.08292, allocations: 0 / 402.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.08294, allocations: 7.984 kB / 402.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.653e-05/0.083, allocations: 100 kB / 402.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.08301, allocations: 3.938 kB / 402.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.08326, allocations: 20 kB / 402.2 MB, free: 11.22 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: 1 (fixedDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fixedDelay.u_buffer[1],fixedDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 7.892e-05/0.08335, allocations: 103.2 kB / 402.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.08356, allocations: 107.7 kB / 402.5 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.08357, allocations: 1.062 kB / 402.5 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.84e-05/0.08361, allocations: 15.98 kB / 402.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.08396, allocations: 71.95 kB / 402.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.08439, allocations: 299.9 kB / 402.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.08463, allocations: 0.7126 MB / 403.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.81e-05/0.08469, allocations: 17.06 kB / 403.6 MB, free: 9.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.08472, allocations: 15.44 kB / 403.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.08473, allocations: 0 / 403.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of Templates: time 0.00264/0.08737, allocations: 0.9695 MB / 404.5 MB, free: 8.855 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1) Environment - environmentSimulation: