Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") translateModel(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 222.9 MB / 240.4 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009908/0.0009909, allocations: 93.41 kB / 290.6 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06233/0.06233, allocations: 12.03 MB / 352.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009403/0.0009404, allocations: 50.2 kB / 415.8 MB, free: 53.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1014, allocations: 52.33 MB / 468.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.003703/0.1051, allocations: 2.426 MB / 470.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007064/0.1058, allocations: 410.7 kB / 471 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.1059, allocations: 3.938 kB / 471 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1062, allocations: 31.8 kB / 471 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.1063, allocations: 15.92 kB / 471 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.1066, allocations: 83.81 kB / 471.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1068, allocations: 131.7 kB / 471.2 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.107, allocations: 92.3 kB / 471.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.107, allocations: 51.8 kB / 471.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1072, allocations: 87.53 kB / 471.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1072, allocations: 12 kB / 471.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1073, allocations: 59.98 kB / 471.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.1074, allocations: 47.88 kB / 471.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.1075, allocations: 71.55 kB / 471.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.1078, allocations: 223.6 kB / 471.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1078, allocations: 0 / 471.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1078, allocations: 0 / 471.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1078, allocations: 0 / 471.9 MB, free: 13.81 MB / 314.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addReal.pkgOut[1].pkg = addReal.pkgIn.pkg addReal.pkgOut[1].pkg = uDPSend.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008382/0.1087, allocations: 0.5344 MB / 472.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1087, allocations: 11.97 kB / 472.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.1088, allocations: 20.69 kB / 472.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.109, allocations: 228 kB / 472.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.109, allocations: 20.3 kB / 472.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.1091, allocations: 12.38 kB / 472.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.1094, allocations: 179.9 kB / 472.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1094, allocations: 192 / 472.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.1095, allocations: 11.92 kB / 472.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1095, allocations: 4 kB / 472.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.1097, allocations: 87.89 kB / 473 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007209/0.1104, allocations: 0.5706 MB / 473.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1107, allocations: 125.1 kB / 473.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1108, allocations: 65.75 kB / 473.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1108, allocations: 0 / 473.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.111, allocations: 123.7 kB / 473.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.111, allocations: 4 kB / 473.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004765/0.1115, allocations: 245.3 kB / 474.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.1116, allocations: 81.11 kB / 474.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.1117, allocations: 147.9 kB / 474.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1117, allocations: 29.7 kB / 474.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.1118, allocations: 124.3 kB / 474.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1118, allocations: 31.56 kB / 474.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.1119, allocations: 45.69 kB / 474.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.112, allocations: 326.8 kB / 474.9 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.973e-05/0.1121, allocations: 39.97 kB / 474.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.1122, allocations: 93.53 kB / 475 MB, free: 10.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.1124, allocations: 146.7 kB / 475.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1124, allocations: 0 / 475.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002707/0.1127, allocations: 173.4 kB / 475.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1127, allocations: 4 kB / 475.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1128, allocations: 4 kB / 475.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1128, allocations: 0 / 475.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1129, allocations: 27.92 kB / 475.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1129, allocations: 384 / 475.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.113, allocations: 11.94 kB / 475.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.113, allocations: 11.98 kB / 475.4 MB, free: 10 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addReal.pkgOut[1].backwardTrigger,addReal.pkgOut[1].trigger,$whenCondition1,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001412/0.1131, allocations: 151.6 kB / 475.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.1132, allocations: 15.75 kB / 475.5 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.1134, allocations: 150.3 kB / 475.7 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1134, allocations: 4 kB / 475.7 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1135, allocations: 0 / 475.7 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1135, allocations: 3.984 kB / 475.7 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.114, allocations: 0.4981 MB / 476.2 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.114, allocations: 0 / 476.2 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.1141, allocations: 12 kB / 476.2 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1141, allocations: 0 / 476.2 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1141, allocations: 4 kB / 476.2 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1141, allocations: 0 / 476.2 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1141, allocations: 0 / 476.2 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1152, allocations: 0.9045 MB / 477.1 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.1153, allocations: 92.95 kB / 477.2 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.1153, allocations: 15.92 kB / 477.2 MB, free: 8.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1154, allocations: 4 kB / 477.2 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.1155, allocations: 7.984 kB / 477.2 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.1155, allocations: 4 kB / 477.2 MB, free: 7.988 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.949e-05/0.1156, allocations: 104.8 kB / 477.3 MB, free: 7.887 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1156, allocations: 3.938 kB / 477.3 MB, free: 7.883 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005514/0.1162, allocations: 55.83 kB / 477.4 MB, free: 7.828 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (addReal.pkgOut[1].trigger,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger,uDPSend.bufferSize,uDPSend.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0005794/0.1168, allocations: 233.3 kB / 477.6 MB, free: 7.633 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.1171, allocations: 119.8 kB / 477.7 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1171, allocations: 384 / 477.7 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.1173, allocations: 63.91 kB / 477.8 MB, free: 7.453 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1176, allocations: 23.16 kB / 477.8 MB, free: 7.434 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1187, allocations: 0.5315 MB / 478.3 MB, free: 6.855 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.119, allocations: 0.7278 MB / 479.1 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.777e-05/0.1191, allocations: 25 kB / 479.1 MB, free: 6.078 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.1192, allocations: 15.44 kB / 479.1 MB, free: 6.062 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1192, allocations: 3.938 kB / 479.1 MB, free: 6.059 MB / 314.7 MB Notification: Performance of Templates: time 0.005312/0.1245, allocations: 1.951 MB / 481.1 MB, free: 4.148 MB / 314.7 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.makefile (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.pipe 2>&1)