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.0505/0.0505, allocations: 9.129 MB / 28.99 MB, free: 328 kB / 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.000883/0.000883, allocations: 95.27 kB / 35.33 MB, free: 0.9219 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.001051/0.001051, allocations: 160.5 kB / 38.73 MB, free: 2.402 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.9894/0.9894, 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.004584/0.004584, allocations: 0.8335 MB / 276.5 MB, free: 0.75 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.644/1.644, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.353e-06/1.353e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.37e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Splice): time 0.00168/0.001694, allocations: 1.561 MB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008363/0.00253, allocations: 0.7318 MB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.002576, allocations: 7.938 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.0026, allocations: 3.938 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.328e-05/0.002643, allocations: 0 / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.002965, allocations: 111.5 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.931e-05/0.003044, allocations: 35.86 kB / 0.6403 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.663e-05/0.003111, allocations: 15.97 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.442e-05/0.003195, allocations: 23.92 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.649e-05/0.003232, allocations: 11.98 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.003241, allocations: 0 / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.00339, allocations: 115.9 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.003402, allocations: 7.938 kB / 0.6404 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.377e-05/0.003416, allocations: 8 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.003558, allocations: 111.6 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003559, allocations: 4 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5e-07/0.00356, allocations: 0 / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.003562, allocations: 0 / 0.6405 GB, free: 11.37 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.000251/0.003813, allocations: 264.7 kB / 0.6408 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.003844, allocations: 11.98 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/0.003928, allocations: 16.92 kB / 0.6408 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.004025, allocations: 117.7 kB / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.004033, allocations: 4.375 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.00404, allocations: 384 / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.166e-05/0.004112, allocations: 58.94 kB / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.004118, allocations: 8.125 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.004124, allocations: 4.359 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.004129, allocations: 7.938 kB / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.522e-05/0.004144, allocations: 4 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.004306, allocations: 160.2 kB / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.561e-05/0.004342, allocations: 26.5 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.145e-05/0.004353, allocations: 8.984 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.004482, allocations: 51.89 kB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.004499, allocations: 34.5 kB / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.0045, allocations: 0 / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 8.696e-05/0.004587, allocations: 37.69 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.00461, allocations: 51.41 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.903e-05/0.004659, allocations: 122.9 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.004667, allocations: 25.7 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.004695, allocations: 92.03 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.004708, allocations: 7.938 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.004731, allocations: 17.83 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.004799, allocations: 314.8 kB / 0.6419 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.633e-06/0.004806, allocations: 0 / 0.6419 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-06/0.004812, allocations: 4 kB / 0.6419 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.969e-05/0.004831, allocations: 12.84 kB / 0.6419 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004833, allocations: 0 / 0.6419 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.055e-05/0.004874, allocations: 41.58 kB / 0.642 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.004882, allocations: 4 kB / 0.642 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.004886, allocations: 0 / 0.642 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.004895, allocations: 3.984 kB / 0.642 GB, free: 9.727 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.872e-05/0.004934, allocations: 12.09 kB / 0.642 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.004936, allocations: 0 / 0.642 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.004948, allocations: 4 kB / 0.642 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.004952, allocations: 0 / 0.642 GB, free: 9.711 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 4.672e-05/0.004999, allocations: 105.8 kB / 0.6421 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.005013, allocations: 11.92 kB / 0.6421 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.005071, allocations: 45.31 kB / 0.6422 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.005073, allocations: 0 / 0.6422 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.005075, allocations: 4 kB / 0.6422 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.005077, allocations: 32 / 0.6422 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8e-05/0.005157, allocations: 81.88 kB / 0.6422 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005158, allocations: 0 / 0.6422 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.005173, allocations: 7.938 kB / 0.6422 GB, free: 9.43 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.005174, allocations: 0 / 0.6422 GB, free: 9.43 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-06/0.005177, allocations: 0 / 0.6422 GB, free: 9.43 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005179, allocations: 3.938 kB / 0.6422 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00518, allocations: 3.938 kB / 0.6423 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.771e-05/0.005247, allocations: 131.5 kB / 0.6424 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-06/0.005253, allocations: 0 / 0.6424 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-06/0.00526, allocations: 0 / 0.6424 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.005288, allocations: 15.95 kB / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.005306, allocations: 0 / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.005308, allocations: 0 / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.639e-05/0.005324, allocations: 24.88 kB / 0.6424 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.005324, allocations: 0 / 0.6424 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001351/0.005459, allocations: 23.88 kB / 0.6424 GB, free: 9.211 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 0.0001537/0.005613, allocations: 92.28 kB / 0.6425 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.898e-05/0.005662, allocations: 12.86 kB / 0.6425 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.005664, allocations: 64 / 0.6425 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.005675, allocations: 12.86 kB / 0.6426 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.603e-05/0.005771, allocations: 7.938 kB / 0.6426 GB, free: 9.07 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.006074, allocations: 136.5 kB / 0.6427 GB, free: 8.91 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.959e-05/0.006104, allocations: 59.34 kB / 0.6427 GB, free: 8.832 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.357e-05/0.006118, allocations: 0 / 0.6427 GB, free: 8.832 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.006147, allocations: 51.38 kB / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of SimCode: time 6.21e-07/0.006148, allocations: 4.062 kB / 0.6428 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of Templates: time 0.001824/0.007972, allocations: 0.5652 MB / 0.6434 GB, free: 8.211 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 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2822276670485735]