Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.conf.json 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.0006844/0.0006844, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.001829, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006698/0.0006698, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008756/0.001545, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9584/0.9584, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.062, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.81/0.81, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2929/1.103, allocations: 49.13 MB / 448.6 MB, free: 5.934 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 450 MB, free: 4.559 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.571e-05, allocations: 2.812 kB / 450 MB, free: 4.555 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001365/0.00139, allocations: 0.6667 MB / 450.7 MB, free: 3.922 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001582/0.001549, allocations: 77.62 kB / 450.8 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.00157, allocations: 0 / 450.8 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.00159, allocations: 0.6562 kB / 450.8 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.835e-05/0.001618, allocations: 13.38 kB / 450.8 MB, free: 3.836 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.001806, allocations: 38.56 kB / 450.8 MB, free: 3.801 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.176e-05/0.001877, allocations: 25.05 kB / 450.8 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.001926, allocations: 7.984 kB / 450.8 MB, free: 3.773 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.001982, allocations: 25.61 kB / 450.9 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.002154, allocations: 67.94 kB / 450.9 MB, free: 3.684 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.002168, allocations: 1.438 kB / 450.9 MB, free: 3.684 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.002278, allocations: 44.56 kB / 451 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.002316, allocations: 25.56 kB / 451 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.002336, allocations: 9.969 kB / 451 MB, free: 3.617 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.002456, allocations: 63.09 kB / 451.1 MB, free: 3.559 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.002468, allocations: 0 / 451.1 MB, free: 3.559 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.002469, allocations: 4 kB / 451.1 MB, free: 3.555 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.002478, allocations: 2 kB / 451.1 MB, free: 3.555 MB / 426.7 MB 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.0002887/0.002767, allocations: 274.5 kB / 451.4 MB, free: 3.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.002799, allocations: 8.031 kB / 451.4 MB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.002834, allocations: 9.688 kB / 451.4 MB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.958e-05/0.002903, allocations: 109.7 kB / 451.5 MB, free: 3.109 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.002914, allocations: 6.5 kB / 451.5 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.002929, allocations: 6.25 kB / 451.5 MB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.003143, allocations: 368.7 kB / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.003151, allocations: 4.125 kB / 451.9 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.003162, allocations: 8.125 kB / 451.9 MB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/0.003211, allocations: 24.62 kB / 451.9 MB, free: 2.621 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.906e-05/0.00324, allocations: 25.14 kB / 451.9 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.003676, allocations: 0.7893 MB / 452.7 MB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.09e-05/0.003747, allocations: 169.1 kB / 452.9 MB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.003775, allocations: 80.14 kB / 452.9 MB, free: 1.516 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.003802, allocations: 75.28 kB / 453 MB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.00386, allocations: 122.4 kB / 453.1 MB, free: 1.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.074e-06/0.003862, allocations: 1.875 kB / 453.1 MB, free: 1.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 8.442e-05/0.003946, allocations: 41.12 kB / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.003999, allocations: 131.5 kB / 453.3 MB, free: 1.129 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.004116, allocations: 161 kB / 453.5 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.00413, allocations: 26.33 kB / 453.5 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.004215, allocations: 160 kB / 453.6 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-06/0.00422, allocations: 5.5 kB / 453.7 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/0.004282, allocations: 49.64 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.004378, allocations: 322.8 kB / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.004393, allocations: 8 kB / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.004629, allocations: 470.2 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.004808, allocations: 201.8 kB / 454.7 MB, free: 15.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.004811, allocations: 1.312 kB / 454.7 MB, free: 15.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002005/0.005012, allocations: 148.8 kB / 454.8 MB, free: 15.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.005027, allocations: 4 kB / 454.8 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.005038, allocations: 8.906 kB / 454.8 MB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.005053, allocations: 9.031 kB / 454.8 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.00517, allocations: 48.52 kB / 454.9 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.005177, allocations: 7.984 kB / 454.9 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.00526, allocations: 29.28 kB / 454.9 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.005271, allocations: 8 kB / 454.9 MB, free: 15.25 MB / 442.7 MB 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 9.608e-05/0.005367, allocations: 211.8 kB / 455.1 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.005421, allocations: 113.7 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.005468, allocations: 115.2 kB / 455.4 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-05/0.005512, allocations: 177.7 kB / 455.5 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.073e-05/0.005562, allocations: 188.2 kB / 455.7 MB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.717e-05/0.00561, allocations: 181.2 kB / 455.9 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.005787, allocations: 333.3 kB / 456.2 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.339e-05/0.00582, allocations: 110.5 kB / 456.3 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.085e-05/0.005851, allocations: 105 kB / 456.4 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.005891, allocations: 113.5 kB / 456.6 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.795e-05/0.005939, allocations: 177.2 kB / 456.7 MB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.005988, allocations: 184.2 kB / 456.9 MB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.582e-05/0.006033, allocations: 180.3 kB / 457.1 MB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.613e-05/0.00608, allocations: 177.5 kB / 457.3 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.006192, allocations: 316.3 kB / 457.6 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.006254, allocations: 188.2 kB / 457.7 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.006329, allocations: 105.6 kB / 457.8 MB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.006383, allocations: 185.1 kB / 458 MB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.006414, allocations: 109.6 kB / 458.1 MB, free: 11.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.509e-05/0.006449, allocations: 27.55 kB / 458.2 MB, free: 11.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006449, allocations: 0.9844 kB / 458.2 MB, free: 11.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.006729, allocations: 28.53 kB / 458.2 MB, free: 11.82 MB / 442.7 MB 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.0001847/0.006914, allocations: 172.8 kB / 458.4 MB, free: 11.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.007052, allocations: 79.03 kB / 458.4 MB, free: 11.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/0.007065, allocations: 5.781 kB / 458.4 MB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.957e-06/0.007069, allocations: 0.9844 kB / 458.4 MB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.007336, allocations: 484.3 kB / 458.9 MB, free: 11.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.007587, allocations: 223.6 kB / 459.1 MB, free: 10.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.476e-05/0.007632, allocations: 60.53 kB / 459.2 MB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.175e-05/0.007724, allocations: 31.78 kB / 459.2 MB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.007887, allocations: 108.5 kB / 459.3 MB, free: 10.65 MB / 442.7 MB Notification: Performance of SimCode: time 7.32e-07/0.007887, allocations: 4 kB / 459.3 MB, free: 10.65 MB / 442.7 MB Notification: Performance of Templates: time 0.003909/0.0118, allocations: 1.655 MB / 461 MB, free: 9.152 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.677937057800591]