Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001303/0.001303, allocations: 81.78 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001347/0.001347, allocations: 157.8 kB / 23.01 MB, free: 4.961 MB / 14.72 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.386/1.386, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7895/0.7895, allocations: 101.3 MB / 361.1 MB, free: 9.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 65.97 kB / 0.5357 GB, free: 5.207 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 FrontEnd - Absyn->SCode: time 0.1381/0.1403, allocations: 85.88 MB / 0.6195 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001633/0.1419, allocations: 0.6332 MB / 0.6202 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004045/0.1423, allocations: 171.7 kB / 0.6203 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.1423, allocations: 0 / 0.6203 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.1424, allocations: 3.938 kB / 0.6203 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1425, allocations: 11.92 kB / 0.6203 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.1427, allocations: 75.75 kB / 0.6204 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.549e-05/0.1428, allocations: 27.86 kB / 0.6204 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.1428, allocations: 7.984 kB / 0.6204 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.635e-05/0.1428, allocations: 8 kB / 0.6204 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.1429, allocations: 31.83 kB / 0.6205 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1429, allocations: 0 / 0.6205 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.143, allocations: 47.89 kB / 0.6205 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.143, allocations: 7.984 kB / 0.6205 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.1431, allocations: 11.94 kB / 0.6205 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.1432, allocations: 91.66 kB / 0.6206 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1432, allocations: 3.938 kB / 0.6206 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1432, allocations: 0 / 0.6206 GB, free: 432 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.1432, allocations: 4 kB / 0.6206 GB, free: 428 kB / 0.5137 GB 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.0004949/0.1437, allocations: 297 kB / 0.6209 GB, free: 100 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1438, allocations: 8.031 kB / 0.6209 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.1438, allocations: 8.891 kB / 0.6209 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1439, allocations: 114.5 kB / 0.621 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1439, allocations: 12.3 kB / 0.6211 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.144, allocations: 8.312 kB / 0.6211 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1441, allocations: 50.23 kB / 0.6211 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1441, allocations: 4.188 kB / 0.6211 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1441, allocations: 3.938 kB / 0.6211 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1441, allocations: 4 kB / 0.6211 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1443, allocations: 35.97 kB / 0.6212 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.1445, allocations: 200.6 kB / 0.6213 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.1447, allocations: 66.47 kB / 0.6214 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.1448, allocations: 24.94 kB / 0.6214 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1448, allocations: 3.938 kB / 0.6214 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1449, allocations: 34.56 kB / 0.6215 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1449, allocations: 4 kB / 0.6215 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.03006/0.1749, allocations: 1.609 MB / 0.623 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.175, allocations: 51.41 kB / 0.6231 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1751, allocations: 121.8 kB / 0.6232 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/0.1751, allocations: 25.7 kB / 0.6232 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.1752, allocations: 84.14 kB / 0.6233 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.1753, allocations: 35.73 kB / 0.6234 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.1754, allocations: 25.7 kB / 0.6234 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1756, allocations: 314.8 kB / 0.6237 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.1761, allocations: 143.9 kB / 0.6238 GB, free: 13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.1766, allocations: 140.3 kB / 0.6239 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.1778, allocations: 304.8 kB / 0.6242 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1778, allocations: 0 / 0.6242 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001335/0.1791, allocations: 337.5 kB / 0.6246 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1791, allocations: 4 kB / 0.6246 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1791, allocations: 4 kB / 0.6246 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1791, allocations: 0 / 0.6246 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.1809, allocations: 63.92 kB / 0.6246 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1809, allocations: 0 / 0.6246 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.1825, allocations: 51.94 kB / 0.6247 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.1825, allocations: 4 kB / 0.6247 GB, free: 12.1 MB / 0.5294 GB 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.0001797/0.1827, allocations: 118.8 kB / 0.6248 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.1828, allocations: 7.953 kB / 0.6248 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.1829, allocations: 16.44 kB / 0.6248 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1829, allocations: 11.94 kB / 0.6248 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1829, allocations: 0 / 0.6248 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1829, allocations: 3.984 kB / 0.6248 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006355/0.1893, allocations: 0.7086 MB / 0.6255 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1893, allocations: 0 / 0.6255 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.1905, allocations: 55.88 kB / 0.6256 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1905, allocations: 0 / 0.6256 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.1906, allocations: 4 kB / 0.6256 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1906, allocations: 0 / 0.6256 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1906, allocations: 4.062 kB / 0.6256 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.1916, allocations: 329.1 kB / 0.6259 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.1916, allocations: 3.953 kB / 0.6259 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.42e-05/0.1917, allocations: 8 kB / 0.6259 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.1929, allocations: 39.94 kB / 0.626 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.1929, allocations: 11.88 kB / 0.626 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.1929, allocations: 7.984 kB / 0.626 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.477e-05/0.193, allocations: 95.31 kB / 0.6261 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.193, allocations: 0 / 0.6261 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004069/0.1934, allocations: 99.92 kB / 0.6262 GB, free: 10.51 MB / 0.5294 GB 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.0001953/0.1936, allocations: 107.2 kB / 0.6263 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.1947, allocations: 243.8 kB / 0.6265 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1947, allocations: 4 kB / 0.6265 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.1951, allocations: 92.02 kB / 0.6266 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.1954, allocations: 11.06 kB / 0.6266 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.1984, allocations: 306.2 kB / 0.6269 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.048e-05/0.1985, allocations: 71.34 kB / 0.627 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004006/0.1989, allocations: 48 kB / 0.627 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.1993, allocations: 16.91 kB / 0.627 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1993, allocations: 4 kB / 0.627 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.01444/0.2137, allocations: 9.737 MB / 0.6365 GB, free: 15.77 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.640654786955565] Failed to read output from testmodel.py, exit status != 0: 0.22111204091925174 0.23634850000000002 0.090119746 Calling exit ...