Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 189.4 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 207.6 MB / 232.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3/0.3, allocations: 55.67 MB / 340.7 MB, free: 13.97 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Annex60.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 76.44 kB / 482.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3583, allocations: 62.87 MB / 0.5322 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001738/0.36, allocations: 0.5749 MB / 0.5327 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003077/0.3603, allocations: 69.16 kB / 0.5328 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.004e-05/0.3604, allocations: 0 / 0.5328 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.3604, allocations: 1.5 kB / 0.5328 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.3604, allocations: 13.69 kB / 0.5328 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.3607, allocations: 45.56 kB / 0.5329 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.3608, allocations: 24.8 kB / 0.5329 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.097e-05/0.3609, allocations: 2.953 kB / 0.5329 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.3609, allocations: 13.53 kB / 0.5329 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.3611, allocations: 71.61 kB / 0.533 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3611, allocations: 1.312 kB / 0.533 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3612, allocations: 43.78 kB / 0.533 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.3613, allocations: 26.91 kB / 0.533 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.3613, allocations: 18.34 kB / 0.533 GB, free: 7.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.3615, allocations: 66.62 kB / 0.5331 GB, free: 7.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3615, allocations: 1.344 kB / 0.5331 GB, free: 7.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3615, allocations: 0 / 0.5331 GB, free: 7.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3615, allocations: 0 / 0.5331 GB, free: 7.41 MB / 398.1 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.0002951/0.3618, allocations: 291.5 kB / 0.5334 GB, free: 7.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3618, allocations: 10.08 kB / 0.5334 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.3619, allocations: 9.547 kB / 0.5334 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.758e-05/0.3619, allocations: 113.5 kB / 0.5335 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3619, allocations: 5.5 kB / 0.5335 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3619, allocations: 1.625 kB / 0.5335 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.3622, allocations: 180.8 kB / 0.5337 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3622, allocations: 2.156 kB / 0.5337 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3622, allocations: 1.375 kB / 0.5337 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-05/0.3623, allocations: 24.95 kB / 0.5337 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.594e-05/0.3623, allocations: 39.16 kB / 0.5338 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.3629, allocations: 0.8781 MB / 0.5346 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.92e-05/0.3629, allocations: 170.3 kB / 0.5348 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.3629, allocations: 80.14 kB / 0.5349 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.363, allocations: 79.22 kB / 0.5349 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.363, allocations: 117.3 kB / 0.535 GB, free: 5.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.363, allocations: 0 / 0.535 GB, free: 5.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.459e-05/0.3631, allocations: 39.95 kB / 0.5351 GB, free: 5.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.3632, allocations: 391.1 kB / 0.5355 GB, free: 5.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3633, allocations: 166.2 kB / 0.5356 GB, free: 4.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.3633, allocations: 26.92 kB / 0.5356 GB, free: 4.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.3634, allocations: 159.1 kB / 0.5358 GB, free: 4.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/0.3634, allocations: 2.906 kB / 0.5358 GB, free: 4.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.3634, allocations: 59.81 kB / 0.5358 GB, free: 4.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.3635, allocations: 321.2 kB / 0.5362 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.3635, allocations: 25.47 kB / 0.5362 GB, free: 4.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.3636, allocations: 221.9 kB / 0.5364 GB, free: 4.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.3638, allocations: 199 kB / 0.5366 GB, free: 3.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3638, allocations: 0.9375 kB / 0.5366 GB, free: 3.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003099/0.3641, allocations: 192 kB / 0.5368 GB, free: 3.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3641, allocations: 11.28 kB / 0.5368 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3641, allocations: 5.094 kB / 0.5368 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3641, allocations: 6.531 kB / 0.5368 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.3643, allocations: 47.16 kB / 0.5368 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.3643, allocations: 15.44 kB / 0.5368 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.62e-05/0.3644, allocations: 18.42 kB / 0.5369 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3644, allocations: 14.25 kB / 0.5369 GB, free: 3.816 MB / 398.1 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 8.463e-05/0.3645, allocations: 211.5 kB / 0.5371 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.3645, allocations: 119.4 kB / 0.5372 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.3646, allocations: 115 kB / 0.5373 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/0.3646, allocations: 182.2 kB / 0.5375 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.664e-05/0.3646, allocations: 182 kB / 0.5376 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/0.3646, allocations: 176.9 kB / 0.5378 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.3648, allocations: 399.7 kB / 0.5382 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.3648, allocations: 103.2 kB / 0.5383 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.3648, allocations: 101.7 kB / 0.5384 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.61e-05/0.3649, allocations: 194 kB / 0.5386 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.3649, allocations: 178.1 kB / 0.5387 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.259e-05/0.3649, allocations: 182 kB / 0.5389 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.609e-05/0.3649, allocations: 178.5 kB / 0.5391 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.614e-05/0.365, allocations: 318.5 kB / 0.5394 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.365, allocations: 116.4 kB / 0.5395 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.3651, allocations: 183.1 kB / 0.5397 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.629e-05/0.3652, allocations: 110.2 kB / 0.5398 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.3652, allocations: 177 kB / 0.54 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.3652, allocations: 106.2 kB / 0.5401 GB, free: 456 kB / 398.1 MB Notification: Performance of sorting global known variables: time 8.137e-05/0.3653, allocations: 126.8 kB / 0.5402 GB, free: 360 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3653, allocations: 5.094 kB / 0.5402 GB, free: 356 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.3656, allocations: 27.3 kB / 0.5402 GB, free: 352 kB / 398.1 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.0001522/0.3658, allocations: 176.4 kB / 0.5404 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.3659, allocations: 74.38 kB / 0.5404 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3659, allocations: 1.156 kB / 0.5404 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.305e-06/0.3659, allocations: 0.6094 kB / 0.5405 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.3664, allocations: 476.2 kB / 0.5409 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.3668, allocations: 228.6 kB / 0.5411 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.3672, allocations: 0.6966 MB / 0.5418 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.3674, allocations: 54.62 kB / 0.5419 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.3674, allocations: 13.41 kB / 0.5419 GB, free: 14.78 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3674, allocations: 0 / 0.5419 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Templates: time 0.006135/0.3736, allocations: 1.77 MB / 0.5436 GB, free: 14.62 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.106163872405887] Failed to read output from testmodel.py, exit status != 0: 0.38234012201428413 0.39722975099999996 0.032776734 Calling exit ...