Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006853/0.0006853, allocations: 81.17 kB / 9.996 MB, free: 0.6875 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009064/0.001592, allocations: 451.9 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006802/0.0006802, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008656/0.001546, allocations: 475.5 kB / 11.81 MB, free: 2.359 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8905/0.8905, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0751/0.9656, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.0354/0.0354, allocations: 9.174 MB / 253.3 MB, free: 5.992 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005899/0.0413, allocations: 3.44 MB / 256.8 MB, free: 2.547 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 258.1 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.498e-06/1.087e-05, allocations: 2.312 kB / 258.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.002777/0.002788, allocations: 3.044 MB / 261.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008436/0.003632, allocations: 0.7863 MB / 261.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.611e-05/0.003718, allocations: 7.938 kB / 261.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.003856, allocations: 75.19 kB / 262 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.648e-05/0.003953, allocations: 51.52 kB / 262 MB, free: 13.25 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.004298, allocations: 235.1 kB / 262.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.004553, allocations: 315.1 kB / 262.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.004716, allocations: 113.6 kB / 262.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.004887, allocations: 239.5 kB / 262.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.005047, allocations: 147.5 kB / 263.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.005085, allocations: 36 kB / 263.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.005244, allocations: 155.7 kB / 263.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.28e-05/0.005327, allocations: 95.7 kB / 263.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.443e-05/0.005402, allocations: 87.73 kB / 263.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.005714, allocations: 362.6 kB / 263.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.868e-06/0.005724, allocations: 0 / 263.8 MB, free: 11.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.005726, allocations: 7.984 kB / 263.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.005733, allocations: 0 / 263.8 MB, free: 11.48 MB / 266.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getReal.pkgOut[1].pkg = getInteger.pkgIn.pkg sharedMemoryRead.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addReal.pkgOut[1].pkg = addInteger.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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008662/0.006599, allocations: 0.8047 MB / 264.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.006627, allocations: 8.625 kB / 264.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.006687, allocations: 60.89 kB / 264.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.006856, allocations: 201.1 kB / 264.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.006878, allocations: 36.95 kB / 264.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.006904, allocations: 28.38 kB / 264.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.00718, allocations: 307.4 kB / 265.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.00719, allocations: 4.125 kB / 265.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.00721, allocations: 20.36 kB / 265.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.007218, allocations: 8.375 kB / 265.3 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.007331, allocations: 94.16 kB / 265.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/0.00803, allocations: 0.9747 MB / 266.3 MB, free: 8.801 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.008209, allocations: 220.7 kB / 266.5 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.00827, allocations: 60.27 kB / 266.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.008295, allocations: 8 kB / 266.6 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.008443, allocations: 183.2 kB / 266.8 MB, free: 8.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.502e-06/0.008444, allocations: 4 kB / 266.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.00026/0.008704, allocations: 204.1 kB / 267 MB, free: 8.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.008768, allocations: 174.2 kB / 267.2 MB, free: 7.828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.008884, allocations: 227.2 kB / 267.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.008907, allocations: 33.7 kB / 267.4 MB, free: 7.555 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.008979, allocations: 176.8 kB / 267.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.009031, allocations: 91.31 kB / 267.7 MB, free: 7.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/0.00912, allocations: 106 kB / 267.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.009204, allocations: 350.9 kB / 268.1 MB, free: 6.828 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.009259, allocations: 40.92 kB / 268.2 MB, free: 6.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.009371, allocations: 206.3 kB / 268.4 MB, free: 6.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.009606, allocations: 303.1 kB / 268.7 MB, free: 6.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.009611, allocations: 12 kB / 268.7 MB, free: 6.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003128/0.009924, allocations: 265.4 kB / 268.9 MB, free: 5.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.009936, allocations: 12.12 kB / 268.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.009943, allocations: 4 kB / 268.9 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.009954, allocations: 8 kB / 269 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.01012, allocations: 87.89 kB / 269 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01012, allocations: 15.92 kB / 269.1 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.01021, allocations: 31.78 kB / 269.1 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.01022, allocations: 16 kB / 269.1 MB, free: 5.695 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 50 (sharedMemoryRead.pkgOut.dummy,$PRE.sharedMemoryRead.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,sharedMemoryWrite.dummy,$PRE.sharedMemoryWrite.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.u[1],sharedMemoryRead.internalTrigger,sharedMemoryWrite.internalTrigger,getInteger.pkgIn.backwardTrigger,getInteger.pkgIn.userPkgBitSize,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,enable.y,sharedMemoryRead.bufferSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,sharedMemoryWrite.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001079/0.01033, allocations: 181.8 kB / 269.3 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.01036, allocations: 27.97 kB / 269.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.01053, allocations: 142.4 kB / 269.4 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01053, allocations: 4 kB / 269.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01053, allocations: 0 / 269.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01054, allocations: 4 kB / 269.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.01089, allocations: 430.5 kB / 269.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01089, allocations: 3.938 kB / 269.9 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.01092, allocations: 15.98 kB / 269.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.01094, allocations: 23.8 kB / 269.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01094, allocations: 8 kB / 269.9 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.01096, allocations: 7.984 kB / 269.9 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.01096, allocations: 4 kB / 269.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01096, allocations: 3.938 kB / 269.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.01116, allocations: 332.3 kB / 270.3 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.01118, allocations: 11.98 kB / 270.3 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.01123, allocations: 4 kB / 270.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.01127, allocations: 19.91 kB / 270.3 MB, free: 4.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.01129, allocations: 20.05 kB / 270.3 MB, free: 4.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.511e-05/0.01133, allocations: 57.55 kB / 270.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01133, allocations: 4 kB / 270.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.01158, allocations: 127.6 kB / 270.5 MB, free: 4.23 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 30 (sharedMemoryWrite.internalTrigger,sharedMemoryRead.internalTrigger,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,zeroCrossing1.u_pos,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (zeroCrossing1.u_pos) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.0005956/0.01218, allocations: 397.9 kB / 270.9 MB, free: 3.926 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.01245, allocations: 187.5 kB / 271.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.01245, allocations: 5.969 kB / 271.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.01258, allocations: 88.73 kB / 271.2 MB, free: 3.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.01285, allocations: 291.4 kB / 271.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.0135, allocations: 0.5256 MB / 272 MB, free: 2.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.01355, allocations: 97.03 kB / 272.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.15e-05/0.01361, allocations: 34.95 kB / 272.1 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/0.0137, allocations: 91.36 kB / 272.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.0137, allocations: 0 / 272.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of Templates: time 0.09617/0.1099, allocations: 4.818 MB / 277 MB, free: 12.08 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.sim & (cd run_cvode && ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe 2>&1) [Timeout 240] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_dassl.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_dassl.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_dassl.sim & (cd run_dassl && ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_dassl.pipe 2>&1) [Timeout 240] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_gbode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_gbode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_gbode.sim & (cd run_gbode && ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_gbode.pipe 2>&1) [Timeout 240] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_ida.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_ida.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_ida.sim & (cd run_ida && ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5695251524448395]