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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.00167/0.001677, allocations: 173.9 kB / 16.8 MB, free: 5.008 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.502/1.502, allocations: 205.4 MB / 223 MB, free: 9.016 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.0007462/0.0007462, allocations: 101.1 kB / 271.3 MB, free: 8.242 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.07544/0.07544, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006132/0.0006133, allocations: 12 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1027, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.002405/0.1052, allocations: 1.515 MB / 445.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1069, allocations: 0.6904 MB / 445.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.107, allocations: 4 kB / 445.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.1073, allocations: 19.86 kB / 445.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.1074, allocations: 15.91 kB / 445.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1077, allocations: 55.89 kB / 446 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1079, allocations: 99.66 kB / 446.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1081, allocations: 60.81 kB / 446.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1082, allocations: 27.86 kB / 446.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1084, allocations: 35.72 kB / 446.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.1084, allocations: 4 kB / 446.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.1084, allocations: 0 / 446.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.081e-05/0.1085, allocations: 19.92 kB / 446.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.1086, allocations: 65.31 kB / 446.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.1087, allocations: 64.11 kB / 446.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1088, allocations: 0 / 446.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.1088, allocations: 3.984 kB / 446.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1088, allocations: 0 / 446.4 MB, free: 12.72 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004784/0.1093, allocations: 379.4 kB / 446.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1093, allocations: 8.031 kB / 446.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.1094, allocations: 20.75 kB / 446.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1096, allocations: 200.2 kB / 447 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.1097, allocations: 12.5 kB / 447 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.1097, allocations: 16.12 kB / 447 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.1103, allocations: 249.4 kB / 447.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1104, allocations: 0 / 447.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1104, allocations: 8 kB / 447.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1104, allocations: 4 kB / 447.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.1106, allocations: 53.31 kB / 447.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.111, allocations: 314.4 kB / 447.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.1114, allocations: 155.8 kB / 447.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.1116, allocations: 90.72 kB / 447.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.1117, allocations: 3.984 kB / 447.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1117, allocations: 46.5 kB / 447.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 2.294e-06/0.1117, allocations: 0 / 447.9 MB, free: 10.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005961/0.1123, allocations: 182.1 kB / 448.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.1124, allocations: 115.2 kB / 448.2 MB, free: 10.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1125, allocations: 127.7 kB / 448.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1126, allocations: 33.64 kB / 448.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.1126, allocations: 100 kB / 448.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1126, allocations: 15.84 kB / 448.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.1127, allocations: 0 / 448.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.1127, allocations: 326.8 kB / 448.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1129, allocations: 23.98 kB / 448.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1131, allocations: 134.6 kB / 448.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.1133, allocations: 178.3 kB / 449.1 MB, free: 9.617 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.1134, allocations: 0 / 449.1 MB, free: 9.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004387/0.1138, allocations: 177.2 kB / 449.3 MB, free: 9.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1139, allocations: 8 kB / 449.3 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1139, allocations: 7.984 kB / 449.3 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1139, allocations: 7.938 kB / 449.3 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.1141, allocations: 39.91 kB / 449.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.1142, allocations: 4.531 kB / 449.3 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1143, allocations: 23.84 kB / 449.4 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1144, allocations: 8 kB / 449.4 MB, free: 9.34 MB / 298.7 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 (fixedDelay.first,$CLKPRE.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.0001429/0.1145, allocations: 134.5 kB / 449.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.1148, allocations: 121.5 kB / 449.6 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.1149, allocations: 24.77 kB / 449.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1149, allocations: 0 / 449.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1149, allocations: 0 / 449.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1149, allocations: 4 kB / 449.6 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.1151, allocations: 189.5 kB / 449.8 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1152, allocations: 8 kB / 449.8 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.1154, allocations: 31.98 kB / 449.9 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1154, allocations: 0 / 449.9 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.1154, allocations: 7.922 kB / 449.9 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1154, allocations: 4 kB / 449.9 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1155, allocations: 4 kB / 449.9 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.1158, allocations: 255.6 kB / 450.1 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.1159, allocations: 88.95 kB / 450.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.1159, allocations: 3.938 kB / 450.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1161, allocations: 11.98 kB / 450.2 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1162, allocations: 4 kB / 450.2 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1162, allocations: 4 kB / 450.2 MB, free: 8.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.865e-05/0.1163, allocations: 103.3 kB / 450.3 MB, free: 8.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1163, allocations: 0 / 450.3 MB, free: 8.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005051/0.1168, allocations: 20 kB / 450.4 MB, free: 8.238 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: 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 0.0001144/0.1169, allocations: 103.2 kB / 450.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.1173, allocations: 108.7 kB / 450.6 MB, free: 8.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1173, allocations: 7.938 kB / 450.6 MB, free: 8.012 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.036e-05/0.1174, allocations: 8 kB / 450.6 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006467/0.1181, allocations: 75.94 kB / 450.7 MB, free: 7.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006935/0.1188, allocations: 321.2 kB / 451 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.119, allocations: 0.7126 MB / 451.7 MB, free: 6.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.119, allocations: 15.44 kB / 451.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1191, allocations: 4 kB / 451.7 MB, free: 6.824 MB / 298.7 MB Notification: Performance of Templates: time 0.003996/0.1231, allocations: 1.385 MB / 453.1 MB, free: 5.438 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile (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)