Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04198/0.04198, allocations: 9.13 MB / 28.99 MB, free: 0.8164 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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/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/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/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0007588/0.0007588, allocations: 95.14 kB / 35.33 MB, free: 1.07 MB / 24.77 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.001009/0.001009, allocations: 168.1 kB / 38.73 MB, free: 2.508 MB / 24.77 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.9485/0.9485, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.01128/0.01128, allocations: 0.8278 MB / 276.5 MB, free: 0.7539 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.761/1.761, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Splice") translateModel(AixLib.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.5e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Splice): time 0.002061/0.002076, allocations: 1.604 MB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009011/0.002978, allocations: 0.7357 MB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.003025, allocations: 0 / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.003052, allocations: 7.922 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.0031, allocations: 7.938 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.003378, allocations: 83.53 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.003464, allocations: 43.84 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.078e-05/0.003535, allocations: 12 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.003626, allocations: 23.91 kB / 0.6404 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.215e-05/0.003669, allocations: 11.98 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.00368, allocations: 8 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.003851, allocations: 115.9 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.003865, allocations: 15.92 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.003882, allocations: 11.98 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.004034, allocations: 103.6 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.004036, allocations: 0 / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004036, allocations: 0 / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.00404, allocations: 4 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000264/0.004304, allocations: 260.7 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.004337, allocations: 19.92 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.623e-05/0.004433, allocations: 16.92 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.004547, allocations: 121.7 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.004555, allocations: 4.375 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.004562, allocations: 4.375 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/0.004646, allocations: 62.88 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.004652, allocations: 192 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-06/0.004659, allocations: 4.359 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.004664, allocations: 3.938 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.004683, allocations: 11.98 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.004858, allocations: 156.2 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.519e-05/0.004893, allocations: 30.52 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.104e-05/0.004905, allocations: 4.859 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.005039, allocations: 40.02 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.005061, allocations: 38.5 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.005062, allocations: 0 / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 8.856e-05/0.005151, allocations: 33.7 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.005175, allocations: 63.45 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.265e-05/0.005228, allocations: 110.8 kB / 0.6416 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.005235, allocations: 29.7 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.005265, allocations: 96.02 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.005279, allocations: 7.953 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.005301, allocations: 13.7 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.805e-05/0.005369, allocations: 318.8 kB / 0.642 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-06/0.005375, allocations: 0 / 0.642 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-06/0.005381, allocations: 0 / 0.642 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.005411, allocations: 16.84 kB / 0.642 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.005412, allocations: 4.062 kB / 0.642 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.134e-05/0.005463, allocations: 37.58 kB / 0.6421 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.005475, allocations: 8 kB / 0.6421 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005478, allocations: 0 / 0.6421 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.005491, allocations: 0 / 0.6421 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.005545, allocations: 7.984 kB / 0.6421 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.005548, allocations: 0 / 0.6421 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.005569, allocations: 0 / 0.6421 GB, free: 9.609 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.005577, allocations: 11.94 kB / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.725e-05/0.005634, allocations: 109.8 kB / 0.6422 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.005657, allocations: 11.97 kB / 0.6422 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.75e-05/0.005724, allocations: 41.3 kB / 0.6423 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.005726, allocations: 0 / 0.6423 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.005728, allocations: 4 kB / 0.6423 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.005731, allocations: 3.938 kB / 0.6423 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.404e-05/0.005815, allocations: 69.89 kB / 0.6423 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.005819, allocations: 3.984 kB / 0.6423 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.005839, allocations: 4 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.005841, allocations: 4 kB / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.005846, allocations: 4 kB / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.005849, allocations: 7.969 kB / 0.6423 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005849, allocations: 0 / 0.6423 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.329e-05/0.005912, allocations: 127.5 kB / 0.6425 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.005918, allocations: 4 kB / 0.6425 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.005927, allocations: 0 / 0.6425 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.005957, allocations: 7.922 kB / 0.6425 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.005978, allocations: 4 kB / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.00598, allocations: 0 / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.308e-05/0.005993, allocations: 17.11 kB / 0.6425 GB, free: 9.133 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.005993, allocations: 0 / 0.6425 GB, free: 9.133 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001304/0.006124, allocations: 31.91 kB / 0.6425 GB, free: 9.102 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 9.239e-05/0.006216, allocations: 96.33 kB / 0.6426 GB, free: 8.996 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.521e-05/0.006261, allocations: 8.859 kB / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.006263, allocations: 0 / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-05/0.006275, allocations: 8.859 kB / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.846e-05/0.006374, allocations: 4 kB / 0.6426 GB, free: 8.969 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.006686, allocations: 140.7 kB / 0.6428 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.447e-05/0.00672, allocations: 55.34 kB / 0.6428 GB, free: 8.73 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.501e-05/0.006735, allocations: 4 kB / 0.6428 GB, free: 8.727 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.006763, allocations: 47.38 kB / 0.6429 GB, free: 8.68 MB / 0.6043 GB Notification: Performance of SimCode: time 3.71e-07/0.006764, allocations: 7.938 kB / 0.6429 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of Templates: time 0.001818/0.008581, allocations: 0.5769 MB / 0.6435 GB, free: 8.094 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.Splice.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Splice.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Splice.sim & ./AixLib_AixLib.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.326897792052478]