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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008546/0.0008545, allocations: 100.7 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009015/0.0009016, allocations: 179 kB / 16.62 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1659/0.1659, allocations: 12.03 MB / 303.7 MB, free: 1.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002821, allocations: 12 kB / 367.6 MB, free: 9.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08916, allocations: 53.35 MB / 420.9 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.002613/0.09182, allocations: 2.037 MB / 422.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007031/0.09255, allocations: 390.8 kB / 423.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.09262, allocations: 0 / 423.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.09281, allocations: 27.8 kB / 423.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.09293, allocations: 19.91 kB / 423.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.09318, allocations: 71.81 kB / 423.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.09336, allocations: 83.83 kB / 423.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.09356, allocations: 83 kB / 423.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.48e-05/0.09363, allocations: 43.83 kB / 423.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.09377, allocations: 59.69 kB / 423.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.0938, allocations: 8 kB / 423.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.469e-05/0.0939, allocations: 35.98 kB / 423.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.09396, allocations: 43.83 kB / 423.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.09401, allocations: 49.64 kB / 423.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.09421, allocations: 163.8 kB / 424 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.09422, allocations: 0 / 424 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.09423, allocations: 0 / 424 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.09424, allocations: 0 / 424 MB, free: 0.9727 MB / 350.1 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.0008376/0.09508, allocations: 0.5105 MB / 424.5 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.09512, allocations: 8.031 kB / 424.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.09518, allocations: 19.77 kB / 424.5 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.09538, allocations: 229.3 kB / 424.8 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.09541, allocations: 12 kB / 424.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.09544, allocations: 12 kB / 424.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1655/0.2609, allocations: 180 kB / 425 MB, free: 39.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.261, allocations: 2.031 kB / 425 MB, free: 39.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.261, allocations: 5.422 kB / 425 MB, free: 39.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.261, allocations: 7.656 kB / 425 MB, free: 39.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.2612, allocations: 88.67 kB / 425.1 MB, free: 39.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007459/0.262, allocations: 0.5644 MB / 425.6 MB, free: 39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.2622, allocations: 120.7 kB / 425.7 MB, free: 38.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.2623, allocations: 2 kB / 425.7 MB, free: 38.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.2624, allocations: 125.4 kB / 425.9 MB, free: 38.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.2625, allocations: 0.6562 kB / 425.9 MB, free: 38.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004163/0.2629, allocations: 235.4 kB / 426.1 MB, free: 38.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.2629, allocations: 86.42 kB / 426.2 MB, free: 38.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.263, allocations: 145.7 kB / 426.3 MB, free: 38.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.2631, allocations: 29.52 kB / 426.3 MB, free: 38.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.2631, allocations: 120.2 kB / 426.5 MB, free: 38.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.2631, allocations: 40.05 kB / 426.5 MB, free: 38.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.2632, allocations: 0.875 kB / 426.5 MB, free: 38.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.2632, allocations: 330 kB / 426.8 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.2633, allocations: 38.84 kB / 426.9 MB, free: 38.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.2634, allocations: 93.69 kB / 427 MB, free: 38.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.316e-05/0.2634, allocations: 48.56 kB / 427 MB, free: 38.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2635, allocations: 3.625 kB / 427 MB, free: 38.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002216/0.2637, allocations: 165.4 kB / 427.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2637, allocations: 5.875 kB / 427.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2637, allocations: 3.25 kB / 427.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2637, allocations: 3.875 kB / 427.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.2638, allocations: 23.17 kB / 427.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2638, allocations: 3.812 kB / 427.2 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.2639, allocations: 14.27 kB / 427.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.2639, allocations: 8.469 kB / 427.2 MB, free: 38.09 MB / 350.1 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.000103/0.264, allocations: 151.1 kB / 427.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.2641, allocations: 12.44 kB / 427.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.2643, allocations: 156.4 kB / 427.5 MB, free: 37.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.2643, allocations: 4.125 kB / 427.5 MB, free: 37.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2643, allocations: 0 / 427.5 MB, free: 37.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2643, allocations: 1.828 kB / 427.5 MB, free: 37.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.2647, allocations: 0.4943 MB / 428 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2648, allocations: 0.75 kB / 428 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.2648, allocations: 6.594 kB / 428.1 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2648, allocations: 0.8438 kB / 428.1 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2648, allocations: 13.5 kB / 428.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2648, allocations: 7.109 kB / 428.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2648, allocations: 4.453 kB / 428.1 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.2651, allocations: 300.1 kB / 428.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.2651, allocations: 87.42 kB / 428.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.2652, allocations: 5.219 kB / 428.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.2652, allocations: 11.39 kB / 428.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.2653, allocations: 9.359 kB / 428.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.2653, allocations: 8.656 kB / 428.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.103e-05/0.2654, allocations: 100.8 kB / 428.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2654, allocations: 3.938 kB / 428.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.2657, allocations: 51.66 kB / 428.6 MB, free: 37.26 MB / 350.1 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.0004945/0.2662, allocations: 224.2 kB / 428.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.2665, allocations: 120.9 kB / 429 MB, free: 37.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2665, allocations: 0 / 429 MB, free: 37.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.2666, allocations: 61.94 kB / 429 MB, free: 37.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.2668, allocations: 18.09 kB / 429.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.2675, allocations: 360.7 kB / 429.4 MB, free: 36.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.2677, allocations: 0.7282 MB / 430.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.402e-05/0.2677, allocations: 23.8 kB / 430.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.2678, allocations: 16.91 kB / 430.2 MB, free: 36.22 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2678, allocations: 0 / 430.2 MB, free: 36.22 MB / 350.1 MB Notification: Performance of Templates: time 0.004136/0.2719, allocations: 1.842 MB / 432 MB, free: 36.07 MB / 350.1 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)