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.05649/0.05649, allocations: 9.13 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.001241/0.001241, allocations: 90.94 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.001146/0.001146, allocations: 163.6 kB / 38.73 MB, free: 2.504 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 1.016/1.016, allocations: 177.1 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.006567/0.006567, allocations: 0.8222 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.682/1.682, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.492e-06/1.492e-06, allocations: 0 / 0.638 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.465e-05, allocations: 2.312 kB / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00182/0.001844, allocations: 0.6583 MB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.0036, allocations: 1.322 MB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.003617, allocations: 0 / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.003632, allocations: 3.938 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-06/0.003639, allocations: 0 / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.003985, allocations: 71.56 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.42e-05/0.004029, allocations: 0 / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.004067, allocations: 3.984 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.111e-05/0.004098, allocations: 4 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.004141, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.00415, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.004472, allocations: 123.9 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.004486, allocations: 0 / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.004503, allocations: 0 / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.004704, allocations: 63.86 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.004709, allocations: 4 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.034e-06/0.004711, allocations: 0 / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.004717, allocations: 4 kB / 0.6402 GB, free: 11.76 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.0002598/0.004977, allocations: 232.5 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.005016, allocations: 11.98 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.00504, allocations: 0.9375 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.835e-05/0.005109, allocations: 117.7 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.005118, allocations: 384 / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-06/0.005123, allocations: 384 / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.695e-05/0.00519, allocations: 26.27 kB / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.005197, allocations: 192 / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.005203, allocations: 384 / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.005211, allocations: 7.938 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.064e-05/0.005222, allocations: 0 / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.472e-05/0.005297, allocations: 57.03 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.151e-05/0.005338, allocations: 30.53 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.347e-05/0.005351, allocations: 16.86 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.00559, allocations: 36.03 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.005616, allocations: 34.56 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.005617, allocations: 0 / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 9.146e-05/0.005708, allocations: 33.7 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.005738, allocations: 51.41 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.611e-05/0.005775, allocations: 89.86 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.005788, allocations: 33.81 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.005812, allocations: 80.14 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.005837, allocations: 3.938 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.005863, allocations: 13.72 kB / 0.641 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.005955, allocations: 314.8 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-06/0.005961, allocations: 0 / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.005968, allocations: 4 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.005993, allocations: 8.844 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005995, allocations: 0 / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.166e-05/0.006047, allocations: 37.75 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.006062, allocations: 11.91 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006067, allocations: 0 / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.006079, allocations: 0 / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.492e-05/0.006114, allocations: 3.938 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.006117, allocations: 3.938 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.065e-05/0.006127, allocations: 4 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.006134, allocations: 7.938 kB / 0.6414 GB, free: 10.36 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 5.598e-05/0.00619, allocations: 105.8 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-06/0.006196, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.801e-05/0.006274, allocations: 44.72 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.006275, allocations: 0 / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.006279, allocations: 4 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006281, allocations: 0 / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.353e-05/0.006335, allocations: 65.83 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006336, allocations: 0 / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.00635, allocations: 4 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.006351, allocations: 0 / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.006363, allocations: 3.984 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006364, allocations: 4.031 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006364, allocations: 0 / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.726e-05/0.006422, allocations: 61.02 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-06/0.006425, allocations: 0 / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-06/0.006433, allocations: 0 / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-06/0.006441, allocations: 3.984 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.006451, allocations: 0 / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.006453, allocations: 0 / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 7.504e-06/0.006461, allocations: 8.859 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.006461, allocations: 0 / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001886/0.00665, allocations: 11.94 kB / 0.6417 GB, free: 9.996 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 0.000142/0.006792, allocations: 92.44 kB / 0.6418 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.242e-05/0.006844, allocations: 16.78 kB / 0.6418 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.006846, allocations: 0 / 0.6418 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 8.266e-06/0.006855, allocations: 8.859 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.687e-05/0.006911, allocations: 7.875 kB / 0.6418 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001582/0.00707, allocations: 78.77 kB / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.007103, allocations: 55.22 kB / 0.6419 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.306e-05/0.007126, allocations: 8.125 kB / 0.6419 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.007156, allocations: 51.31 kB / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of SimCode: time 5.61e-07/0.007157, allocations: 0 / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of Templates: time 0.002263/0.00942, allocations: 472.6 kB / 0.6424 GB, free: 9.16 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.355229577980936]