Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009562/0.000956, allocations: 170.7 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 225.7 MB / 242.6 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00072/0.00072, allocations: 103.1 kB / 293.8 MB, free: 9.742 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.0.0-master/package.mo): time 0.05141/0.05141, allocations: 12.25 MB / 357.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 8 kB / 421.2 MB, free: 52.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07372/0.074, allocations: 53.35 MB / 474.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.002852/0.07691, allocations: 2.139 MB / 476.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000738/0.07768, allocations: 0.6907 MB / 477.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.07774, allocations: 0 / 477.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.07793, allocations: 31.8 kB / 477.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.07805, allocations: 15.92 kB / 477.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.07832, allocations: 79.81 kB / 477.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.0785, allocations: 131.7 kB / 477.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.07872, allocations: 84.31 kB / 477.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.0788, allocations: 51.77 kB / 477.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.07893, allocations: 63.62 kB / 477.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.07895, allocations: 8 kB / 477.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.07908, allocations: 63.92 kB / 477.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.07914, allocations: 31.89 kB / 477.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.07922, allocations: 85.25 kB / 478 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.07947, allocations: 211.6 kB / 478.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.07948, allocations: 0 / 478.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.07948, allocations: 0 / 478.2 MB, free: 11.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.07949, allocations: 0 / 478.2 MB, free: 11.33 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.0007058/0.0802, allocations: 0.4993 MB / 478.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.08024, allocations: 8.031 kB / 478.7 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.0803, allocations: 20.75 kB / 478.7 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.08048, allocations: 223.9 kB / 479 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.08052, allocations: 16.36 kB / 479 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.08055, allocations: 12.38 kB / 479 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.08086, allocations: 187.8 kB / 479.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.08087, allocations: 192 / 479.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.0809, allocations: 11.92 kB / 479.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.08091, allocations: 4 kB / 479.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.08107, allocations: 87.95 kB / 479.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.08171, allocations: 0.5627 MB / 479.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.08196, allocations: 129 kB / 480 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.08207, allocations: 57.81 kB / 480 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.08209, allocations: 3.984 kB / 480 MB, free: 9.332 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.08227, allocations: 133 kB / 480.2 MB, free: 9.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.08228, allocations: 0 / 480.2 MB, free: 9.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004217/0.08271, allocations: 237.4 kB / 480.4 MB, free: 8.945 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.08277, allocations: 81.05 kB / 480.5 MB, free: 8.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.08288, allocations: 149.6 kB / 480.6 MB, free: 8.691 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.0829, allocations: 25.7 kB / 480.6 MB, free: 8.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.08297, allocations: 120.3 kB / 480.8 MB, free: 8.539 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.08301, allocations: 43.44 kB / 480.8 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/0.08302, allocations: 8 kB / 480.8 MB, free: 8.488 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.08313, allocations: 322.8 kB / 481.1 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-05/0.0832, allocations: 31.98 kB / 481.2 MB, free: 8.133 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.133e-05/0.0833, allocations: 90.84 kB / 481.2 MB, free: 8.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.08349, allocations: 146.7 kB / 481.4 MB, free: 7.852 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.08349, allocations: 3.938 kB / 481.4 MB, free: 7.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002537/0.08375, allocations: 161.4 kB / 481.5 MB, free: 7.684 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.08378, allocations: 11.98 kB / 481.6 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.08379, allocations: 0 / 481.6 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.0838, allocations: 4 kB / 481.6 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.0839, allocations: 23.98 kB / 481.6 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.08391, allocations: 0 / 481.6 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.08398, allocations: 15.84 kB / 481.6 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.084, allocations: 8 kB / 481.6 MB, free: 7.621 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.08413, allocations: 147.6 kB / 481.8 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.08416, allocations: 11.95 kB / 481.8 MB, free: 7.457 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.08441, allocations: 158.3 kB / 481.9 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.08442, allocations: 0 / 481.9 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.08443, allocations: 4 kB / 481.9 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.08444, allocations: 0 / 481.9 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.08496, allocations: 0.4948 MB / 482.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.08497, allocations: 256 / 482.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.08501, allocations: 15.94 kB / 482.4 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.08502, allocations: 0 / 482.4 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.08504, allocations: 8.078 kB / 482.4 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.08504, allocations: 3.938 kB / 482.4 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.08505, allocations: 0 / 482.4 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.08538, allocations: 292.2 kB / 482.7 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.08544, allocations: 96.84 kB / 482.8 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.08547, allocations: 4 kB / 482.8 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.08554, allocations: 4 kB / 482.8 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.08558, allocations: 19.86 kB / 482.8 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.08561, allocations: 4 kB / 482.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.007e-05/0.08567, allocations: 103.2 kB / 483 MB, free: 6.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08568, allocations: 0 / 483 MB, free: 6.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.08595, allocations: 47.84 kB / 483 MB, free: 6.113 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.0004168/0.08638, allocations: 271.6 kB / 483.3 MB, free: 5.895 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.08661, allocations: 115.8 kB / 483.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.08662, allocations: 0 / 483.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.08673, allocations: 64.28 kB / 483.4 MB, free: 5.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.08698, allocations: 24.08 kB / 483.5 MB, free: 5.695 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006527/0.08764, allocations: 375 kB / 483.8 MB, free: 5.293 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.08791, allocations: 0.7199 MB / 484.6 MB, free: 4.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.69e-05/0.08797, allocations: 24.86 kB / 484.6 MB, free: 4.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.08801, allocations: 11.44 kB / 484.6 MB, free: 4.508 MB / 314.7 MB Notification: Performance of SimCode: time 2.11e-07/0.08801, allocations: 0 / 484.6 MB, free: 4.508 MB / 314.7 MB Notification: Performance of Templates: time 0.003947/0.09196, allocations: 1.878 MB / 486.5 MB, free: 2.633 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)