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.0009728/0.0009728, allocations: 179.7 kB / 15.8 MB, free: 6.336 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.245/1.245, allocations: 223.2 MB / 239.7 MB, free: 1.781 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 93.33 kB / 290.9 MB, free: 13.94 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.06501/0.06501, allocations: 12.05 MB / 354.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003125, allocations: 8.25 kB / 417.9 MB, free: 87.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09608, allocations: 53.36 MB / 471.2 MB, free: 37.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2922/0.3884, allocations: 82.13 MB / 0.5404 GB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.3887, allocations: 78.25 kB / 0.5405 GB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009212/0.3979, allocations: 3.724 MB / 0.5441 GB, free: 30.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3979, allocations: 0 / 0.5441 GB, free: 30.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3979, allocations: 4 kB / 0.5441 GB, free: 30.89 MB / 378.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.0006201/0.3986, allocations: 0.5262 MB / 0.5446 GB, free: 30.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3986, allocations: 7.781 kB / 0.5446 GB, free: 30.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.3987, allocations: 15.56 kB / 0.5447 GB, free: 30.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.3989, allocations: 223.1 kB / 0.5449 GB, free: 30.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.3989, allocations: 15.23 kB / 0.5449 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.3989, allocations: 15.19 kB / 0.5449 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.3992, allocations: 184 kB / 0.5451 GB, free: 30.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.3992, allocations: 3.938 kB / 0.5451 GB, free: 30.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.3992, allocations: 5.266 kB / 0.5451 GB, free: 30.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3993, allocations: 11.73 kB / 0.5451 GB, free: 30.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.3994, allocations: 91.03 kB / 0.5452 GB, free: 30.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.4, allocations: 0.5527 MB / 0.5457 GB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.4003, allocations: 115.7 kB / 0.5458 GB, free: 29.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.4003, allocations: 5.859 kB / 0.5458 GB, free: 29.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.4004, allocations: 133.6 kB / 0.546 GB, free: 29.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.4005, allocations: 0 / 0.546 GB, free: 29.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004258/0.4009, allocations: 238.4 kB / 0.5462 GB, free: 29.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.4009, allocations: 82.56 kB / 0.5463 GB, free: 29.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/0.401, allocations: 134.8 kB / 0.5464 GB, free: 29.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4011, allocations: 29.33 kB / 0.5464 GB, free: 29.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.4011, allocations: 118.7 kB / 0.5465 GB, free: 29.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.4012, allocations: 37.94 kB / 0.5466 GB, free: 29.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.4012, allocations: 9.469 kB / 0.5466 GB, free: 29.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.4012, allocations: 320.8 kB / 0.5469 GB, free: 28.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.4013, allocations: 37.66 kB / 0.5469 GB, free: 28.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.4014, allocations: 90.53 kB / 0.547 GB, free: 28.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.4015, allocations: 54.8 kB / 0.5471 GB, free: 28.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4015, allocations: 0 / 0.5471 GB, free: 28.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002088/0.4017, allocations: 162.5 kB / 0.5472 GB, free: 28.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4017, allocations: 3.969 kB / 0.5472 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4017, allocations: 3.844 kB / 0.5472 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4017, allocations: 4 kB / 0.5472 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.4018, allocations: 26.86 kB / 0.5473 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4018, allocations: 3.719 kB / 0.5473 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.4019, allocations: 15.31 kB / 0.5473 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4019, allocations: 5.672 kB / 0.5473 GB, free: 28.81 MB / 378.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.0001009/0.402, allocations: 151.2 kB / 0.5474 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.4021, allocations: 14.25 kB / 0.5474 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.4023, allocations: 156.3 kB / 0.5476 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4023, allocations: 7.812 kB / 0.5476 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4023, allocations: 0 / 0.5476 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4023, allocations: 2.25 kB / 0.5476 GB, free: 28.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.4027, allocations: 492.8 kB / 0.5481 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4028, allocations: 3.906 kB / 0.5481 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.4028, allocations: 5.703 kB / 0.5481 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4028, allocations: 0 / 0.5481 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.4028, allocations: 9.359 kB / 0.5481 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4028, allocations: 7.938 kB / 0.5481 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4028, allocations: 0 / 0.5481 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.4031, allocations: 307.6 kB / 0.5484 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.4031, allocations: 86.77 kB / 0.5485 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.4032, allocations: 2.109 kB / 0.5485 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.4032, allocations: 3.875 kB / 0.5485 GB, free: 28.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.4033, allocations: 19.47 kB / 0.5485 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.4033, allocations: 5.906 kB / 0.5485 GB, free: 28.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.4034, allocations: 101.2 kB / 0.5486 GB, free: 27.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4034, allocations: 0 / 0.5486 GB, free: 27.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000286/0.4037, allocations: 68.7 kB / 0.5487 GB, free: 27.95 MB / 378.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.0004161/0.4041, allocations: 241.7 kB / 0.5489 GB, free: 27.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.4043, allocations: 117.9 kB / 0.549 GB, free: 27.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4043, allocations: 3.875 kB / 0.549 GB, free: 27.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.953e-05/0.4044, allocations: 60.06 kB / 0.5491 GB, free: 27.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.4046, allocations: 18.59 kB / 0.5491 GB, free: 27.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.4057, allocations: 0.5109 MB / 0.5496 GB, free: 27.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.406, allocations: 0.7249 MB / 0.5503 GB, free: 26.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.406, allocations: 23.17 kB / 0.5503 GB, free: 26.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.4061, allocations: 21.45 kB / 0.5503 GB, free: 26.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4061, allocations: 0 / 0.5503 GB, free: 26.84 MB / 378.7 MB Notification: Performance of Templates: time 0.004011/0.4101, allocations: 1.839 MB / 0.5521 GB, free: 26.65 MB / 378.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)