Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.IsMonotonic.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.04179/0.04179, allocations: 9.131 MB / 28.99 MB, free: 0.8203 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.0007523/0.0007523, allocations: 87.28 kB / 35.33 MB, free: 1.082 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.0009839/0.0009839, allocations: 165.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.9831/0.9831, allocations: 177.1 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.004043/0.004043, allocations: 0.8232 MB / 276.5 MB, free: 0.7383 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.734/1.734, 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.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(AixLib.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.767e-05, allocations: 2.312 kB / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002357/0.002385, allocations: 0.6894 MB / 0.6386 GB, free: 13.32 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003956/0.002781, allocations: 67.8 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.002806, allocations: 0 / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.002844, allocations: 3.984 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.002895, allocations: 7.938 kB / 0.6387 GB, free: 13.24 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.003209, allocations: 35.94 kB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.799e-05/0.003287, allocations: 35.91 kB / 0.6388 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.003328, allocations: 0 / 0.6388 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.207e-05/0.00338, allocations: 23.97 kB / 0.6388 GB, free: 13.15 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.003585, allocations: 67.91 kB / 0.6389 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.003601, allocations: 3.938 kB / 0.6389 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.003747, allocations: 47.94 kB / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.003786, allocations: 19.97 kB / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.003809, allocations: 11.94 kB / 0.6389 GB, free: 13 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.003956, allocations: 79.72 kB / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003958, allocations: 0 / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003959, allocations: 4 kB / 0.639 GB, free: 12.92 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003963, allocations: 0 / 0.639 GB, free: 12.92 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002856/0.004249, allocations: 256.9 kB / 0.6393 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.00429, allocations: 11.98 kB / 0.6393 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.004326, allocations: 4.938 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.7e-05/0.004403, allocations: 113.7 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.004415, allocations: 8.297 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.004434, allocations: 12.38 kB / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.004705, allocations: 363.8 kB / 0.6398 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.004713, allocations: 4.125 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.004725, allocations: 8.109 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.004765, allocations: 23.98 kB / 0.6398 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.004794, allocations: 23.92 kB / 0.6398 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.005216, allocations: 0.7952 MB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.375e-05/0.00527, allocations: 165.1 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.00529, allocations: 80.14 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.792e-05/0.005358, allocations: 79.28 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.005393, allocations: 109.8 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.005394, allocations: 0 / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 5.917e-05/0.005453, allocations: 45.66 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.005564, allocations: 387.7 kB / 0.6414 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.245e-05/0.005657, allocations: 170.4 kB / 0.6416 GB, free: 10 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.005667, allocations: 25.7 kB / 0.6416 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.005731, allocations: 159.5 kB / 0.6418 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.005733, allocations: 0 / 0.6418 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.00578, allocations: 53.64 kB / 0.6418 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.005854, allocations: 318.8 kB / 0.6421 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.005867, allocations: 15.98 kB / 0.6421 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.006172, allocations: 471.4 kB / 0.6426 GB, free: 8.801 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.006292, allocations: 184.5 kB / 0.6428 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.006294, allocations: 0 / 0.6428 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000152/0.006446, allocations: 149.3 kB / 0.6429 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.00646, allocations: 8 kB / 0.6429 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.006468, allocations: 7.984 kB / 0.6429 GB, free: 8.387 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.006484, allocations: 4 kB / 0.6429 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.647e-05/0.00657, allocations: 47.92 kB / 0.643 GB, free: 8.336 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.006576, allocations: 12.5 kB / 0.643 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.006634, allocations: 23.84 kB / 0.643 GB, free: 8.301 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.006644, allocations: 16 kB / 0.643 GB, free: 8.285 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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 8.327e-05/0.006728, allocations: 207.8 kB / 0.6432 GB, free: 8.07 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.006776, allocations: 116.9 kB / 0.6433 GB, free: 7.949 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.006814, allocations: 112.8 kB / 0.6434 GB, free: 7.832 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/0.006853, allocations: 180.3 kB / 0.6436 GB, free: 7.648 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-05/0.00689, allocations: 180.2 kB / 0.6438 GB, free: 7.465 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.565e-05/0.006925, allocations: 176.3 kB / 0.6439 GB, free: 7.285 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.007058, allocations: 341.3 kB / 0.6443 GB, free: 6.926 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.427e-05/0.007082, allocations: 105 kB / 0.6444 GB, free: 6.816 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.007105, allocations: 105 kB / 0.6445 GB, free: 6.707 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-05/0.007146, allocations: 188.2 kB / 0.6446 GB, free: 6.516 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/0.007185, allocations: 176.3 kB / 0.6448 GB, free: 6.336 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.952e-05/0.007225, allocations: 180.2 kB / 0.645 GB, free: 6.152 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.026e-05/0.007265, allocations: 180.5 kB / 0.6452 GB, free: 5.969 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.678e-05/0.007362, allocations: 319.7 kB / 0.6455 GB, free: 5.633 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.007394, allocations: 112.9 kB / 0.6456 GB, free: 5.516 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.007444, allocations: 188.2 kB / 0.6458 GB, free: 5.324 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.207e-05/0.007497, allocations: 101 kB / 0.6458 GB, free: 5.219 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002346/0.007731, allocations: 184.2 kB / 0.646 GB, free: 5.031 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.007755, allocations: 101 kB / 0.6461 GB, free: 4.926 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.007783, allocations: 37.95 kB / 0.6462 GB, free: 4.887 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.007783, allocations: 0 / 0.6462 GB, free: 4.887 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000215/0.007998, allocations: 27.98 kB / 0.6462 GB, free: 4.859 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 (0): * Single equations (assignments): 0 * 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.000158/0.008156, allocations: 159.7 kB / 0.6463 GB, free: 4.691 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.00827, allocations: 69.89 kB / 0.6464 GB, free: 4.621 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.00828, allocations: 8 kB / 0.6464 GB, free: 4.613 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.008282, allocations: 7.938 kB / 0.6464 GB, free: 4.605 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.008486, allocations: 471.5 kB / 0.6469 GB, free: 4.141 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.008701, allocations: 231 kB / 0.6471 GB, free: 3.887 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.491e-05/0.008736, allocations: 63.98 kB / 0.6471 GB, free: 3.805 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 6.527e-05/0.008801, allocations: 24.66 kB / 0.6472 GB, free: 3.781 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.008932, allocations: 115.3 kB / 0.6473 GB, free: 3.668 MB / 0.6043 GB Notification: Performance of SimCode: time 7.41e-07/0.008933, allocations: 0 / 0.6473 GB, free: 3.668 MB / 0.6043 GB Notification: Performance of Templates: time 0.003188/0.01212, allocations: 1.849 MB / 0.6491 GB, free: 1.816 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.384512003976852]