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.04688/0.04688, allocations: 9.131 MB / 28.99 MB, free: 0.8164 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.0008196/0.0008196, allocations: 94.64 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.001438/0.001438, allocations: 164.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 0.9736/0.9736, 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.004178/0.004178, allocations: 0.8327 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.613/1.613, allocations: 274.9 MB / 0.5419 GB, free: 0.5938 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.282e-06/1.282e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.449e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001049/0.001063, allocations: 0.6305 MB / 0.6385 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0002645/0.001328, allocations: 71.86 kB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.001348, allocations: 0 / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.001381, allocations: 3.938 kB / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.177e-05/0.001423, allocations: 4 kB / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.001693, allocations: 47.88 kB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.803e-05/0.001751, allocations: 27.95 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.001784, allocations: 0 / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.00182, allocations: 19.98 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.00198, allocations: 87.77 kB / 0.6388 GB, free: 13.15 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.001991, allocations: 0 / 0.6388 GB, free: 13.15 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.576e-05/0.002066, allocations: 43.94 kB / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.002095, allocations: 19.92 kB / 0.6389 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.481e-05/0.00211, allocations: 8 kB / 0.6389 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.002213, allocations: 75.77 kB / 0.6389 GB, free: 13 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.002215, allocations: 0 / 0.6389 GB, free: 13 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002215, allocations: 4 kB / 0.6389 GB, free: 13 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.846e-06/0.002218, allocations: 0 / 0.6389 GB, free: 13 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.000203/0.002421, allocations: 256.9 kB / 0.6392 GB, free: 12.72 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.002449, allocations: 15.98 kB / 0.6392 GB, free: 12.71 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.002475, allocations: 8.922 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.18e-05/0.002527, allocations: 113.7 kB / 0.6393 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.002536, allocations: 4.359 kB / 0.6393 GB, free: 12.56 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.00255, allocations: 8.375 kB / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.002727, allocations: 371.7 kB / 0.6397 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.002733, allocations: 4.172 kB / 0.6397 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.002743, allocations: 8.125 kB / 0.6397 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.002779, allocations: 23.98 kB / 0.6397 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.524e-05/0.002804, allocations: 23.86 kB / 0.6397 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.003174, allocations: 0.7874 MB / 0.6405 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.972e-05/0.003234, allocations: 173.1 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.003254, allocations: 84.14 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.003271, allocations: 75.28 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.003305, allocations: 113.8 kB / 0.6409 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.003306, allocations: 0 / 0.6409 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 4.794e-05/0.003354, allocations: 41.66 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.003457, allocations: 387.7 kB / 0.6413 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.003537, allocations: 170.4 kB / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.003549, allocations: 33.64 kB / 0.6415 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.003607, allocations: 155.4 kB / 0.6417 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.00361, allocations: 4 kB / 0.6417 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.003653, allocations: 53.64 kB / 0.6417 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.003719, allocations: 318.8 kB / 0.642 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.00373, allocations: 11.98 kB / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.004157, allocations: 467.5 kB / 0.6425 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.004275, allocations: 184.6 kB / 0.6427 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.004277, allocations: 0 / 0.6427 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001423/0.004419, allocations: 153.6 kB / 0.6428 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.00443, allocations: 8 kB / 0.6428 GB, free: 8.465 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.004435, allocations: 4 kB / 0.6428 GB, free: 8.461 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.004446, allocations: 8 kB / 0.6428 GB, free: 8.453 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.004524, allocations: 35.92 kB / 0.6429 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.004536, allocations: 11.98 kB / 0.6429 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.00459, allocations: 23.84 kB / 0.6429 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.004598, allocations: 12 kB / 0.6429 GB, free: 8.371 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 7.891e-05/0.004677, allocations: 215.9 kB / 0.6431 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.004713, allocations: 117 kB / 0.6432 GB, free: 8.027 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.004748, allocations: 104.8 kB / 0.6433 GB, free: 7.918 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.935e-05/0.004787, allocations: 184.2 kB / 0.6435 GB, free: 7.73 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.56e-05/0.004823, allocations: 176.3 kB / 0.6437 GB, free: 7.551 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.899e-05/0.004862, allocations: 188.2 kB / 0.6439 GB, free: 7.359 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.004981, allocations: 333.4 kB / 0.6442 GB, free: 7.008 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/0.005002, allocations: 105 kB / 0.6443 GB, free: 6.898 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.005023, allocations: 108.9 kB / 0.6444 GB, free: 6.785 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.584e-05/0.005059, allocations: 180.3 kB / 0.6446 GB, free: 6.602 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.0051, allocations: 180.2 kB / 0.6447 GB, free: 6.418 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.313e-05/0.005133, allocations: 180.3 kB / 0.6449 GB, free: 6.234 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.579e-05/0.005169, allocations: 184.5 kB / 0.6451 GB, free: 6.047 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.677e-05/0.005256, allocations: 323.7 kB / 0.6454 GB, free: 5.707 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.005288, allocations: 112.9 kB / 0.6455 GB, free: 5.59 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.005331, allocations: 176.3 kB / 0.6457 GB, free: 5.41 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/0.005378, allocations: 113 kB / 0.6458 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.005416, allocations: 184.2 kB / 0.6459 GB, free: 5.105 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.005437, allocations: 105 kB / 0.646 GB, free: 4.996 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.336e-05/0.005461, allocations: 33.89 kB / 0.6461 GB, free: 4.961 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005461, allocations: 0 / 0.6461 GB, free: 4.961 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.00018/0.005641, allocations: 24 kB / 0.6461 GB, free: 4.938 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.0001101/0.005751, allocations: 175.6 kB / 0.6463 GB, free: 4.754 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.942e-05/0.00583, allocations: 60.66 kB / 0.6463 GB, free: 4.691 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.005837, allocations: 5.312 kB / 0.6463 GB, free: 4.688 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.005837, allocations: 0 / 0.6463 GB, free: 4.688 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.006017, allocations: 479.5 kB / 0.6468 GB, free: 4.215 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001887/0.006205, allocations: 227 kB / 0.647 GB, free: 3.965 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.006236, allocations: 64 kB / 0.6471 GB, free: 3.883 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 6.212e-05/0.006298, allocations: 32.42 kB / 0.6471 GB, free: 3.852 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.006418, allocations: 111.4 kB / 0.6472 GB, free: 3.742 MB / 0.6043 GB Notification: Performance of SimCode: time 4.61e-07/0.006418, allocations: 0 / 0.6472 GB, free: 3.742 MB / 0.6043 GB Notification: Performance of Templates: time 0.00286/0.009278, allocations: 1.841 MB / 0.649 GB, free: 1.895 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 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.309480323921889]