Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.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.0007262/0.0007262, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009378/0.001664, 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.0007204/0.0007204, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009211/0.001642, 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 1.048/1.048, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08945/1.137, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.775/0.775, allocations: 155.3 MB / 399.5 MB, free: 15.79 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.2768/1.052, allocations: 49.13 MB / 448.6 MB, free: 5.906 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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IDEAS.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 450 MB, free: 4.531 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.284e-05/1.424e-05, allocations: 2.312 kB / 450 MB, free: 4.527 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001153/0.001167, allocations: 0.6745 MB / 450.7 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.002557, allocations: 1.439 MB / 452.1 MB, free: 2.445 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.002578, allocations: 0 / 452.1 MB, free: 2.445 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.002615, allocations: 5 kB / 452.1 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.69e-05/0.002642, allocations: 9.078 kB / 452.1 MB, free: 2.434 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.002999, allocations: 154.6 kB / 452.3 MB, free: 2.285 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.362e-05/0.003092, allocations: 43.03 kB / 452.3 MB, free: 2.246 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.929e-05/0.003122, allocations: 3.938 kB / 452.3 MB, free: 2.242 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.071e-05/0.003182, allocations: 35.5 kB / 452.4 MB, free: 2.211 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.003235, allocations: 25.44 kB / 452.4 MB, free: 2.188 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.003248, allocations: 4 kB / 452.4 MB, free: 2.184 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.003524, allocations: 229.6 kB / 452.6 MB, free: 1.961 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.147e-05/0.003566, allocations: 16.91 kB / 452.6 MB, free: 1.949 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.003591, allocations: 9.859 kB / 452.7 MB, free: 1.941 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.003799, allocations: 191.5 kB / 452.8 MB, free: 1.758 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.003809, allocations: 0 / 452.8 MB, free: 1.758 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.00381, allocations: 0 / 452.8 MB, free: 1.758 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.003818, allocations: 0.6562 kB / 452.8 MB, free: 1.758 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003265/0.004145, allocations: 354.2 kB / 453.2 MB, free: 1.379 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.004178, allocations: 12.66 kB / 453.2 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.004217, allocations: 13.58 kB / 453.2 MB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.841e-05/0.004306, allocations: 112.5 kB / 453.3 MB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004316, allocations: 4.375 kB / 453.3 MB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.004327, allocations: 4.375 kB / 453.3 MB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.004439, allocations: 103.7 kB / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.004444, allocations: 192 / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.004453, allocations: 5.906 kB / 453.4 MB, free: 1.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.004457, allocations: 5.25 kB / 453.4 MB, free: 1.094 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.059e-05/0.004498, allocations: 61.67 kB / 453.5 MB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.364e-05/0.004561, allocations: 67.8 kB / 453.6 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.004755, allocations: 76.92 kB / 453.6 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.004795, allocations: 72.05 kB / 453.7 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-06/0.004799, allocations: 0.8438 kB / 453.7 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.004818, allocations: 34.56 kB / 453.7 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.004818, allocations: 3.938 kB / 453.8 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001772/0.004996, allocations: 215.5 kB / 454 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.005017, allocations: 51.41 kB / 454 MB, free: 444 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.005094, allocations: 139.5 kB / 454.2 MB, free: 292 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.005104, allocations: 25.7 kB / 454.2 MB, free: 260 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.719e-05/0.005132, allocations: 90.11 kB / 454.3 MB, free: 168 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.005151, allocations: 15.89 kB / 454.3 MB, free: 152 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.005183, allocations: 21.7 kB / 454.3 MB, free: 124 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.005264, allocations: 327.3 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-05/0.005331, allocations: 111.5 kB / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.349e-05/0.005384, allocations: 108.6 kB / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.005497, allocations: 200.6 kB / 455 MB, free: 15.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005499, allocations: 0 / 455 MB, free: 15.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001519/0.005651, allocations: 263.1 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.005695, allocations: 69.55 kB / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005699, allocations: 1.734 kB / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.005709, allocations: 0 / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/0.00571, allocations: 0 / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.005713, allocations: 1.062 kB / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.005784, allocations: 19.86 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.005792, allocations: 0 / 455.4 MB, free: 14.95 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 6.508e-05/0.005857, allocations: 151.5 kB / 455.5 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.005868, allocations: 11.98 kB / 455.5 MB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.271e-05/0.005881, allocations: 5.062 kB / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.005882, allocations: 0 / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.005883, allocations: 5.375 kB / 455.5 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005885, allocations: 0 / 455.5 MB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.558e-05/0.005941, allocations: 81.77 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.005941, allocations: 0 / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-07/0.005942, allocations: 4.625 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-06/0.005948, allocations: 3.953 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-07/0.005949, allocations: 1.625 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.005954, allocations: 4 kB / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005955, allocations: 0 / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.005956, allocations: 4 kB / 455.6 MB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.006086, allocations: 199.6 kB / 455.8 MB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.006097, allocations: 4 kB / 455.8 MB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.006124, allocations: 9.047 kB / 455.9 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.006157, allocations: 4 kB / 455.9 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006161, allocations: 4 kB / 455.9 MB, free: 14.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.164e-05/0.006183, allocations: 30.86 kB / 455.9 MB, free: 14.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006183, allocations: 1.375 kB / 455.9 MB, free: 14.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.006344, allocations: 67.86 kB / 456 MB, free: 14.3 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000166/0.00651, allocations: 148.8 kB / 456.1 MB, free: 14.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.006705, allocations: 326.6 kB / 456.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.006708, allocations: 0 / 456.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.006773, allocations: 129.4 kB / 456.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.659e-05/0.00684, allocations: 20.55 kB / 456.6 MB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.007065, allocations: 218.1 kB / 456.8 MB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.06e-05/0.007096, allocations: 67.2 kB / 456.8 MB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.24e-06/0.007101, allocations: 0.625 kB / 456.8 MB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.007159, allocations: 60 kB / 456.9 MB, free: 13.23 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00716, allocations: 4 kB / 456.9 MB, free: 13.23 MB / 442.7 MB Notification: Performance of Templates: time 0.003602/0.01076, allocations: 2.428 MB / 459.3 MB, free: 10.95 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.564643937163055]