Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.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.08143/0.08143, allocations: 9.126 MB / 28.99 MB, free: 0.8086 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.0008182/0.0008182, allocations: 90.66 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.0009602/0.0009602, allocations: 166.4 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.937/0.937, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004009/0.004009, allocations: 0.818 MB / 276.5 MB, free: 0.7461 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.596/1.596, 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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(AixLib.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042e-05/1.179e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009607/0.0009724, allocations: 0.6228 MB / 0.6385 GB, free: 13.44 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.002137, allocations: 1.318 MB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.126e-05/0.002148, allocations: 0 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.00216, allocations: 3.938 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.002166, allocations: 4 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.002449, allocations: 71.62 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 3.368e-05/0.002483, allocations: 0 / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.044e-05/0.002513, allocations: 7.984 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.188e-05/0.002535, allocations: 0 / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.029e-05/0.002575, allocations: 0 / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 7.684e-06/0.002583, allocations: 0 / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.002789, allocations: 107.9 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.774e-06/0.002796, allocations: 0 / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 9.077e-06/0.002806, allocations: 4 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.002913, allocations: 79.78 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002915, allocations: 0 / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002915, allocations: 0 / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.394e-06/0.002917, allocations: 0 / 0.6401 GB, free: 11.83 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001658/0.003083, allocations: 224.6 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.003113, allocations: 11.98 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.788e-05/0.003131, allocations: 0.9375 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.5e-05/0.003176, allocations: 113.7 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.003183, allocations: 384 / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.00319, allocations: 4.359 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.443e-05/0.003244, allocations: 42.25 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.003249, allocations: 192 / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-06/0.003254, allocations: 384 / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003259, allocations: 3.938 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.865e-06/0.003267, allocations: 0 / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.591e-05/0.003323, allocations: 61.03 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.022e-05/0.003353, allocations: 22.52 kB / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.508e-06/0.003363, allocations: 8.953 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.00355, allocations: 47.97 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.003568, allocations: 34.55 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.003569, allocations: 0 / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 6.678e-05/0.003635, allocations: 29.7 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.003658, allocations: 51.41 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.553e-05/0.003683, allocations: 89.86 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.00369, allocations: 25.7 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.577e-05/0.003706, allocations: 80.14 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.003726, allocations: 7.938 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.003744, allocations: 13.84 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.003808, allocations: 314.8 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.003814, allocations: 7.984 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-06/0.003818, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.003839, allocations: 16.84 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.003841, allocations: 0 / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.636e-05/0.003867, allocations: 29.7 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.003876, allocations: 4 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.003879, allocations: 0 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.003887, allocations: 4.094 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.821e-05/0.003916, allocations: 7.938 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.003918, allocations: 0 / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-06/0.003926, allocations: 3.984 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.003931, allocations: 3.938 kB / 0.6413 GB, free: 10.44 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 (1): * Single equations (assignments): 1 * 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.125e-05/0.003972, allocations: 105.8 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-06/0.003975, allocations: 4 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.00402, allocations: 36.64 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.004021, allocations: 4.031 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.004024, allocations: 3.984 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.004026, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.859e-05/0.004065, allocations: 65.84 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004065, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-06/0.004071, allocations: 4 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.004072, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-06/0.004074, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.4e-07/0.004075, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.004075, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.809e-05/0.004113, allocations: 69 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.214e-06/0.004115, allocations: 4.031 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-06/0.00412, allocations: 0 / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.687e-06/0.004124, allocations: 0 / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-06/0.004133, allocations: 4 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.004134, allocations: 0 / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.568e-06/0.004139, allocations: 4.859 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004139, allocations: 0 / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of remove unused functions: time 9.943e-05/0.004238, allocations: 11.94 kB / 0.6416 GB, free: 10.07 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 (1): * Single equations (assignments): 1 * 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 8.92e-05/0.004327, allocations: 88.41 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 3.97e-05/0.004367, allocations: 24.77 kB / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.004369, allocations: 0 / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.004374, allocations: 4.859 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.155e-05/0.004415, allocations: 7.875 kB / 0.6417 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001138/0.004529, allocations: 78.78 kB / 0.6418 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.265e-05/0.004552, allocations: 55.22 kB / 0.6418 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.249e-05/0.004564, allocations: 7.984 kB / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.004585, allocations: 51.5 kB / 0.6419 GB, free: 9.699 MB / 0.6043 GB Notification: Performance of SimCode: time 4.01e-07/0.004585, allocations: 0 / 0.6419 GB, free: 9.699 MB / 0.6043 GB Notification: Performance of Templates: time 0.001529/0.006115, allocations: 464.6 kB / 0.6423 GB, free: 9.246 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.22665834100917]