Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.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.0011/0.0011, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009606/0.0009606, allocations: 177 kB / 23.35 MB, free: 1.133 MB / 18.57 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 1.03/1.03, allocations: 177.2 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8362/0.8362, allocations: 154.9 MB / 415.1 MB, free: 236 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 480.5 MB, free: 6.383 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.933e-05, allocations: 6.031 kB / 480.5 MB, free: 6.379 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001319/0.001338, allocations: 0.692 MB / 481.2 MB, free: 5.727 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003302/0.001668, allocations: 183.2 kB / 481.3 MB, free: 5.551 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.001697, allocations: 0 / 481.3 MB, free: 5.551 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.00171, allocations: 0.625 kB / 481.3 MB, free: 5.551 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.001854, allocations: 11.19 kB / 481.3 MB, free: 5.543 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.002013, allocations: 73.98 kB / 481.4 MB, free: 5.473 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.747e-05/0.002081, allocations: 27.97 kB / 481.4 MB, free: 5.449 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.00213, allocations: 6.094 kB / 481.5 MB, free: 5.445 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.469e-05/0.002184, allocations: 22.38 kB / 481.5 MB, free: 5.426 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.002247, allocations: 13.94 kB / 481.5 MB, free: 5.414 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.002264, allocations: 4.547 kB / 481.5 MB, free: 5.41 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.002384, allocations: 47.34 kB / 481.5 MB, free: 5.367 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.002404, allocations: 9.984 kB / 481.5 MB, free: 5.359 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.002426, allocations: 10.61 kB / 481.6 MB, free: 5.352 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.002577, allocations: 97.19 kB / 481.7 MB, free: 5.258 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.002581, allocations: 5.172 kB / 481.7 MB, free: 5.254 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002581, allocations: 0 / 481.7 MB, free: 5.254 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.002585, allocations: 4 kB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003294/0.002915, allocations: 260.5 kB / 481.9 MB, free: 4.973 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.002947, allocations: 8.625 kB / 481.9 MB, free: 4.965 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.00325, allocations: 53.52 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.724e-05/0.003337, allocations: 122.2 kB / 482.1 MB, free: 4.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.003345, allocations: 1.312 kB / 482.1 MB, free: 4.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.003364, allocations: 4.938 kB / 482.1 MB, free: 4.766 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.003475, allocations: 83.45 kB / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.003482, allocations: 192 / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.003491, allocations: 1.188 kB / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.003495, allocations: 384 / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.566e-05/0.00355, allocations: 29.14 kB / 482.2 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.003692, allocations: 148.3 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.003793, allocations: 43.55 kB / 482.4 MB, free: 4.438 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.003827, allocations: 25.58 kB / 482.4 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.003836, allocations: 4.844 kB / 482.4 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.003855, allocations: 34.62 kB / 482.5 MB, free: 4.363 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.003856, allocations: 0 / 482.5 MB, free: 4.363 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0103/0.01415, allocations: 1.25 MB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.01418, allocations: 59.39 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.01425, allocations: 118.6 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.01429, allocations: 25.7 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.01433, allocations: 84.69 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.01438, allocations: 33.17 kB / 484 MB, free: 2.773 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.01451, allocations: 33.64 kB / 484.1 MB, free: 2.734 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.01458, allocations: 318.8 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.01474, allocations: 72 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.01491, allocations: 76.77 kB / 484.5 MB, free: 2.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.01526, allocations: 160.8 kB / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01526, allocations: 0.5625 kB / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004261/0.01569, allocations: 189.6 kB / 484.9 MB, free: 1.918 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.0157, allocations: 8.969 kB / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01571, allocations: 0 / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.01572, allocations: 4 kB / 484.9 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.01642, allocations: 64.64 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.01642, allocations: 0.5312 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.01693, allocations: 44.48 kB / 485 MB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.01697, allocations: 1.969 kB / 485 MB, free: 1.801 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (9): * Single equations (assignments): 9 * 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 0.0001228/0.01709, allocations: 117.8 kB / 485.1 MB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.01716, allocations: 7.984 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.01725, allocations: 23.31 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.01726, allocations: 5.469 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.01726, allocations: 3.938 kB / 485.1 MB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01726, allocations: 0 / 485.1 MB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.01947, allocations: 485.5 kB / 485.6 MB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01947, allocations: 0 / 485.6 MB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.01996, allocations: 52.84 kB / 485.7 MB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01996, allocations: 0 / 485.7 MB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.01999, allocations: 10.08 kB / 485.7 MB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.02, allocations: 0 / 485.7 MB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02, allocations: 0 / 485.7 MB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.02035, allocations: 221.2 kB / 485.9 MB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.02036, allocations: 7.953 kB / 485.9 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.0204, allocations: 1.125 kB / 485.9 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.02081, allocations: 44.02 kB / 485.9 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.02082, allocations: 3.984 kB / 485.9 MB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.02085, allocations: 8.656 kB / 486 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.552e-05/0.02088, allocations: 20.83 kB / 486 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02088, allocations: 0.6875 kB / 486 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000232/0.02111, allocations: 89.56 kB / 486.1 MB, free: 0.6758 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001182/0.02123, allocations: 88.3 kB / 486.1 MB, free: 0.582 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.0216, allocations: 129.7 kB / 486.3 MB, free: 464 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.0216, allocations: 1.406 kB / 486.3 MB, free: 464 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.02176, allocations: 44.84 kB / 486.3 MB, free: 416 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.02193, allocations: 17.02 kB / 486.3 MB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.02305, allocations: 248.2 kB / 486.6 MB, free: 120 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.337e-05/0.02308, allocations: 60.47 kB / 486.6 MB, free: 40 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000297/0.02338, allocations: 60.31 kB / 486.7 MB, free: 32 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.02388, allocations: 60.02 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02388, allocations: 0 / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of Templates: time 0.01051/0.03439, allocations: 10.35 MB / 497.1 MB, free: 5.836 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.079808857757598]