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.001084/0.001084, allocations: 184.9 kB / 13.23 MB, free: 2.078 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.377/1.377, allocations: 221.4 MB / 235.1 MB, free: 14.39 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.0009115/0.0009115, allocations: 95.62 kB / 286.1 MB, free: 12.98 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.05248/0.05248, allocations: 11.89 MB / 348.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.329e-05, allocations: 7.984 kB / 410.1 MB, free: 58.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 53.35 MB / 463.5 MB, free: 4.914 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.4869, allocations: 82.07 MB / 0.5327 GB, free: 1.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.4873, allocations: 67.47 kB / 0.5328 GB, free: 1.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.012/0.4993, allocations: 3.702 MB / 0.5364 GB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4994, allocations: 0 / 0.5364 GB, free: 14.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.4994, allocations: 8 kB / 0.5364 GB, free: 14.07 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.0007753/0.5002, allocations: 0.5021 MB / 0.5369 GB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.5002, allocations: 8.031 kB / 0.5369 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.5003, allocations: 19.81 kB / 0.537 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.5006, allocations: 214.5 kB / 0.5372 GB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.5006, allocations: 27.19 kB / 0.5372 GB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.5007, allocations: 19.75 kB / 0.5372 GB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.501, allocations: 172.1 kB / 0.5374 GB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.501, allocations: 3.984 kB / 0.5374 GB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.501, allocations: 7.438 kB / 0.5374 GB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.501, allocations: 8 kB / 0.5374 GB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.5012, allocations: 84.23 kB / 0.5375 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.5019, allocations: 0.5552 MB / 0.538 GB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.5023, allocations: 111.7 kB / 0.5381 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.5024, allocations: 65.94 kB / 0.5382 GB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.5024, allocations: 3.938 kB / 0.5382 GB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.5026, allocations: 125.8 kB / 0.5383 GB, free: 12.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.5026, allocations: 0 / 0.5383 GB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003772/0.503, allocations: 178.5 kB / 0.5385 GB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.503, allocations: 84.98 kB / 0.5386 GB, free: 11.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.5032, allocations: 143.3 kB / 0.5387 GB, free: 11.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.5032, allocations: 29.02 kB / 0.5387 GB, free: 11.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.5033, allocations: 126.1 kB / 0.5388 GB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.5033, allocations: 34.73 kB / 0.5389 GB, free: 11.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.5033, allocations: 4 kB / 0.5389 GB, free: 11.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5034, allocations: 321.5 kB / 0.5392 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.5035, allocations: 38.25 kB / 0.5392 GB, free: 11.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.483e-05/0.5036, allocations: 87.61 kB / 0.5393 GB, free: 11.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.491e-05/0.5037, allocations: 51.02 kB / 0.5393 GB, free: 11.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5037, allocations: 0 / 0.5393 GB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002436/0.504, allocations: 166.3 kB / 0.5395 GB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.504, allocations: 8 kB / 0.5395 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.504, allocations: 0 / 0.5395 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.504, allocations: 4 kB / 0.5395 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.5041, allocations: 26.55 kB / 0.5395 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.5042, allocations: 4.062 kB / 0.5395 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.5042, allocations: 15.59 kB / 0.5396 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.5043, allocations: 8 kB / 0.5396 GB, free: 10.98 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 () * 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.000104/0.5044, allocations: 137.8 kB / 0.5397 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.5044, allocations: 15.44 kB / 0.5397 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.5047, allocations: 149.3 kB / 0.5399 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5047, allocations: 4 kB / 0.5399 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5047, allocations: 0 / 0.5399 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5047, allocations: 0 / 0.5399 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.5053, allocations: 497.6 kB / 0.5403 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5053, allocations: 0 / 0.5403 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.5053, allocations: 4 kB / 0.5403 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5053, allocations: 4 kB / 0.5403 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5054, allocations: 11.8 kB / 0.5404 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5054, allocations: 0 / 0.5404 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5054, allocations: 4 kB / 0.5404 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.5057, allocations: 297 kB / 0.5406 GB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.5058, allocations: 92.86 kB / 0.5407 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.5058, allocations: 11.98 kB / 0.5407 GB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.5059, allocations: 3.562 kB / 0.5407 GB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.506, allocations: 11.94 kB / 0.5408 GB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.506, allocations: 4 kB / 0.5408 GB, free: 9.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.555e-05/0.5061, allocations: 104.3 kB / 0.5409 GB, free: 9.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5061, allocations: 0 / 0.5409 GB, free: 9.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.5064, allocations: 59.11 kB / 0.5409 GB, free: 9.656 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 () * 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.0005133/0.5069, allocations: 239.5 kB / 0.5411 GB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.5072, allocations: 120.6 kB / 0.5413 GB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5072, allocations: 0 / 0.5413 GB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.5073, allocations: 61.55 kB / 0.5413 GB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.5075, allocations: 19.86 kB / 0.5413 GB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.5086, allocations: 403.2 kB / 0.5417 GB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.509, allocations: 0.7201 MB / 0.5424 GB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.063e-05/0.509, allocations: 28.84 kB / 0.5425 GB, free: 8.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.5091, allocations: 14.88 kB / 0.5425 GB, free: 8.148 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5091, allocations: 0 / 0.5425 GB, free: 8.148 MB / 362.7 MB Notification: Performance of Templates: time 0.004815/0.5139, allocations: 1.845 MB / 0.5443 GB, free: 6.359 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)