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.0.0-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-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.001311/0.001311, allocations: 171.9 kB / 16.8 MB, free: 5.031 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.276/1.276, allocations: 223.3 MB / 240.8 MB, free: 11.7 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.0007872/0.0007872, allocations: 102.2 kB / 292 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo): time 0.05368/0.05368, allocations: 12.04 MB / 355.2 MB, free: 12.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000634/0.0006342, allocations: 16 kB / 419.2 MB, free: 53.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08117/0.08183, allocations: 53.36 MB / 472.5 MB, free: 272 kB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2743/0.3562, allocations: 82.15 MB / 0.5417 GB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.3565, allocations: 71.97 kB / 0.5417 GB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009811/0.3663, allocations: 3.731 MB / 0.5454 GB, free: 11.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3663, allocations: 0 / 0.5454 GB, free: 11.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3663, allocations: 4 kB / 0.5454 GB, free: 11.66 MB / 362.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addReal.pkgOut[1].pkg = uDPSend.pkgIn.pkg addReal.pkgIn.pkg = packager.pkgOut.pkg addReal.pkgOut[1].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.0007497/0.3671, allocations: 0.5155 MB / 0.5459 GB, free: 11.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3672, allocations: 15.97 kB / 0.5459 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.3672, allocations: 25.61 kB / 0.5459 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.3675, allocations: 220.1 kB / 0.5461 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3675, allocations: 12.31 kB / 0.5462 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.3675, allocations: 24.3 kB / 0.5462 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.3679, allocations: 179.7 kB / 0.5463 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3679, allocations: 192 / 0.5463 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.3679, allocations: 11.94 kB / 0.5464 GB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3679, allocations: 4 kB / 0.5464 GB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.3681, allocations: 91.88 kB / 0.5464 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.3689, allocations: 0.5629 MB / 0.547 GB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.3691, allocations: 113.3 kB / 0.5471 GB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3692, allocations: 65.81 kB / 0.5472 GB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.3693, allocations: 7.938 kB / 0.5472 GB, free: 9.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.3694, allocations: 125.7 kB / 0.5473 GB, free: 9.504 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.3694, allocations: 0 / 0.5473 GB, free: 9.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.000452/0.3699, allocations: 233.4 kB / 0.5475 GB, free: 9.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.37, allocations: 85.11 kB / 0.5476 GB, free: 9.168 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3701, allocations: 148.1 kB / 0.5477 GB, free: 9.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3701, allocations: 25.7 kB / 0.5478 GB, free: 8.984 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.3702, allocations: 131.6 kB / 0.5479 GB, free: 8.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.3702, allocations: 35.45 kB / 0.5479 GB, free: 8.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.3702, allocations: 8 kB / 0.5479 GB, free: 8.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3703, allocations: 318.8 kB / 0.5482 GB, free: 8.492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.3704, allocations: 35.98 kB / 0.5483 GB, free: 8.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/0.3705, allocations: 86.84 kB / 0.5484 GB, free: 8.348 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.3707, allocations: 146.6 kB / 0.5485 GB, free: 8.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3707, allocations: 4 kB / 0.5485 GB, free: 8.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002795/0.371, allocations: 169.3 kB / 0.5487 GB, free: 8.004 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3711, allocations: 7.984 kB / 0.5487 GB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3711, allocations: 4 kB / 0.5487 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3711, allocations: 0 / 0.5487 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.583e-05/0.3712, allocations: 23.98 kB / 0.5487 GB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3712, allocations: 8.312 kB / 0.5487 GB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.3713, allocations: 7.906 kB / 0.5487 GB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3713, allocations: 12.19 kB / 0.5487 GB, free: 7.941 MB / 362.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 ($PRE.uDPSend.dummy,uDPSend.dummy,$PRE.addReal.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,$whenCondition1,addReal.pkgOut[1].trigger,addReal.pkgOut[1].backwardTrigger,uDPSend.bufferSize,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 initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.3714, allocations: 151.5 kB / 0.5489 GB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.3715, allocations: 11.84 kB / 0.5489 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.3717, allocations: 158.2 kB / 0.549 GB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3717, allocations: 4 kB / 0.549 GB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3717, allocations: 0 / 0.549 GB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3717, allocations: 0 / 0.549 GB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.3723, allocations: 494.2 kB / 0.5495 GB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3723, allocations: 3.984 kB / 0.5495 GB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.3723, allocations: 12 kB / 0.5495 GB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3723, allocations: 0 / 0.5495 GB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.3723, allocations: 4 kB / 0.5495 GB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3723, allocations: 0 / 0.5495 GB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3724, allocations: 0 / 0.5495 GB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.3727, allocations: 302.3 kB / 0.5498 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.3728, allocations: 85.02 kB / 0.5499 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.3728, allocations: 8.25 kB / 0.5499 GB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.3729, allocations: 4 kB / 0.5499 GB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.3729, allocations: 11.92 kB / 0.5499 GB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.3729, allocations: 11.98 kB / 0.5499 GB, free: 6.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.222e-05/0.373, allocations: 95.27 kB / 0.55 GB, free: 6.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.373, allocations: 0 / 0.55 GB, free: 6.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003134/0.3733, allocations: 71.75 kB / 0.5501 GB, free: 6.438 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000458/0.3738, allocations: 235.2 kB / 0.5503 GB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.374, allocations: 120.1 kB / 0.5504 GB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.374, allocations: 0 / 0.5504 GB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3742, allocations: 67.91 kB / 0.5505 GB, free: 6.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3744, allocations: 23.86 kB / 0.5505 GB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3758, allocations: 0.4995 MB / 0.551 GB, free: 5.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3761, allocations: 0.7275 MB / 0.5517 GB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.111e-05/0.3762, allocations: 17.03 kB / 0.5517 GB, free: 4.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.3762, allocations: 19.42 kB / 0.5517 GB, free: 4.711 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3763, allocations: 0 / 0.5517 GB, free: 4.711 MB / 362.7 MB Notification: Performance of Templates: time 0.004802/0.3811, allocations: 1.847 MB / 0.5535 GB, free: 2.906 MB / 362.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)