Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.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.04258/0.04258, allocations: 9.129 MB / 28.99 MB, free: 0.8125 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.001514/0.001514, allocations: 103 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.001758/0.001758, allocations: 165.5 kB / 38.73 MB, free: 2.512 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.9444/0.9444, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.00402/0.00402, allocations: 0.8179 MB / 276.5 MB, free: 0.7344 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.632/1.632, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite") translateModel(AixLib.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.075e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.CubicHermite): time 0.001335/0.001356, allocations: 0.6384 MB / 0.6386 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.002822, allocations: 1.431 MB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.002849, allocations: 0 / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 5.571e-05/0.002905, allocations: 3.984 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.002946, allocations: 0 / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005398/0.003486, allocations: 191.4 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.256e-05/0.003578, allocations: 43.95 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.003612, allocations: 4 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.824e-05/0.00366, allocations: 23.92 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.00371, allocations: 31.94 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.003722, allocations: 0 / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.003977, allocations: 207.7 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.004016, allocations: 19.92 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.004041, allocations: 15.86 kB / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.004331, allocations: 219.5 kB / 0.6407 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004334, allocations: 4 kB / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004335, allocations: 0 / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.004338, allocations: 4 kB / 0.6407 GB, free: 11.21 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003025/0.00464, allocations: 351.8 kB / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.004671, allocations: 11.98 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.004701, allocations: 8.938 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.998e-05/0.004781, allocations: 117.7 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.004793, allocations: 4.312 kB / 0.6412 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.004804, allocations: 8.359 kB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.004913, allocations: 94.75 kB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.004919, allocations: 192 / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.004927, allocations: 12.36 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.004933, allocations: 3.938 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.004972, allocations: 53.69 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.584e-05/0.005037, allocations: 63.86 kB / 0.6414 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.005104, allocations: 80.25 kB / 0.6415 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.005147, allocations: 70.61 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-06/0.005151, allocations: 0 / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.005178, allocations: 30.56 kB / 0.6416 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.005178, allocations: 0 / 0.6416 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001824/0.005361, allocations: 214.7 kB / 0.6418 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.005396, allocations: 85.14 kB / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.005477, allocations: 146.4 kB / 0.642 GB, free: 9.699 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.005487, allocations: 25.7 kB / 0.642 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.005515, allocations: 92.11 kB / 0.6421 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.005533, allocations: 11.91 kB / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.005567, allocations: 29.64 kB / 0.6421 GB, free: 9.527 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.005761, allocations: 322.8 kB / 0.6424 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.005832, allocations: 106.2 kB / 0.6425 GB, free: 9.086 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.356e-05/0.005886, allocations: 103.4 kB / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.005996, allocations: 184.7 kB / 0.6428 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.005998, allocations: 0 / 0.6428 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001551/0.006153, allocations: 252.5 kB / 0.6431 GB, free: 8.492 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.006195, allocations: 71.39 kB / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.0062, allocations: 0 / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.006211, allocations: 0 / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-06/0.006216, allocations: 0 / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.006219, allocations: 3.938 kB / 0.6431 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.00629, allocations: 23.81 kB / 0.6431 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.006299, allocations: 3.938 kB / 0.6432 GB, free: 8.379 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 6.589e-05/0.006365, allocations: 142.4 kB / 0.6433 GB, free: 8.223 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.006377, allocations: 11.98 kB / 0.6433 GB, free: 8.211 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.274e-05/0.00639, allocations: 12.38 kB / 0.6433 GB, free: 8.199 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006391, allocations: 0 / 0.6433 GB, free: 8.199 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.006393, allocations: 0 / 0.6433 GB, free: 8.199 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006396, allocations: 0 / 0.6433 GB, free: 8.199 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.63e-05/0.006452, allocations: 77.81 kB / 0.6434 GB, free: 8.105 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.006453, allocations: 0 / 0.6434 GB, free: 8.105 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.006454, allocations: 4 kB / 0.6434 GB, free: 8.102 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.006455, allocations: 4 kB / 0.6434 GB, free: 8.098 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.00646, allocations: 0 / 0.6434 GB, free: 8.098 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006461, allocations: 0 / 0.6434 GB, free: 8.098 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006462, allocations: 0 / 0.6434 GB, free: 8.098 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.006593, allocations: 206 kB / 0.6436 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.006602, allocations: 8.094 kB / 0.6436 GB, free: 7.855 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.006615, allocations: 4 kB / 0.6436 GB, free: 7.852 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.529e-05/0.00664, allocations: 7.984 kB / 0.6436 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.006681, allocations: 3.984 kB / 0.6436 GB, free: 7.84 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.006685, allocations: 4 kB / 0.6436 GB, free: 7.836 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.978e-05/0.006705, allocations: 21.47 kB / 0.6436 GB, free: 7.812 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006705, allocations: 0 / 0.6436 GB, free: 7.812 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001807/0.006886, allocations: 71.86 kB / 0.6437 GB, free: 7.742 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002081/0.007094, allocations: 140.3 kB / 0.6438 GB, free: 7.594 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.007296, allocations: 312.7 kB / 0.6441 GB, free: 7.242 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.007301, allocations: 4 kB / 0.6441 GB, free: 7.238 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.00737, allocations: 132.8 kB / 0.6443 GB, free: 7.086 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.483e-05/0.007435, allocations: 7.938 kB / 0.6443 GB, free: 7.078 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.007667, allocations: 209.7 kB / 0.6445 GB, free: 6.836 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.402e-05/0.007701, allocations: 67.2 kB / 0.6445 GB, free: 6.75 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 5.4e-06/0.007706, allocations: 0 / 0.6445 GB, free: 6.75 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.007767, allocations: 63.31 kB / 0.6446 GB, free: 6.688 MB / 0.6043 GB Notification: Performance of SimCode: time 1.072e-06/0.007768, allocations: 8.125 kB / 0.6446 GB, free: 6.68 MB / 0.6043 GB Notification: Performance of Templates: time 0.004243/0.01201, allocations: 2.377 MB / 0.6469 GB, free: 4.301 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.513545394875109]