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.0008119/0.0008119, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008141/0.0008141, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.8769/0.8769, allocations: 177.1 MB / 203.5 MB, free: 5.738 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-531:190: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-531:198: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.7128/0.7128, allocations: 154.6 MB / 414.5 MB, free: 0.8242 MB / 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.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.433e-06/1.433e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.54e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001199/0.001224, allocations: 0.6249 MB / 0.62 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.002594, allocations: 1.373 MB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.002624, allocations: 0 / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.767e-05/0.002682, allocations: 7.984 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.002721, allocations: 3.938 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.003308, allocations: 187 kB / 0.6215 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.003407, allocations: 47.89 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.003442, allocations: 4 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.003488, allocations: 19.97 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.003538, allocations: 27.91 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.00355, allocations: 4 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.003825, allocations: 215.6 kB / 0.6218 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.003876, allocations: 19.94 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.003907, allocations: 11.98 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.004152, allocations: 223.5 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004154, allocations: 0 / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.173e-06/0.004155, allocations: 0 / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.004159, allocations: 4 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB 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.0003345/0.004494, allocations: 365.2 kB / 0.6224 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.004529, allocations: 13.47 kB / 0.6224 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.004565, allocations: 8.891 kB / 0.6224 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.041e-05/0.004646, allocations: 121.6 kB / 0.6225 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.004656, allocations: 384 / 0.6225 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.004669, allocations: 12.31 kB / 0.6225 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.00483, allocations: 127.8 kB / 0.6227 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.004837, allocations: 192 / 0.6227 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.004848, allocations: 4.375 kB / 0.6227 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004853, allocations: 3.938 kB / 0.6227 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.218e-05/0.004925, allocations: 89.64 kB / 0.6228 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.005033, allocations: 117.4 kB / 0.6229 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.078e-05/0.005123, allocations: 108.2 kB / 0.623 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.957e-05/0.005193, allocations: 94.59 kB / 0.6231 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-06/0.005199, allocations: 0 / 0.6231 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.005222, allocations: 42.5 kB / 0.6231 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 5.81e-07/0.005223, allocations: 0 / 0.6231 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0003036/0.005526, allocations: 306.6 kB / 0.6234 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.00556, allocations: 89.05 kB / 0.6235 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.005651, allocations: 149.7 kB / 0.6236 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.005663, allocations: 25.7 kB / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.005701, allocations: 88.14 kB / 0.6237 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.005721, allocations: 15.89 kB / 0.6237 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.005761, allocations: 25.72 kB / 0.6238 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.005839, allocations: 318.8 kB / 0.6241 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.005951, allocations: 171.3 kB / 0.6242 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.006054, allocations: 171.4 kB / 0.6244 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.006248, allocations: 285.8 kB / 0.6247 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006249, allocations: 0 / 0.6247 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002572/0.006507, allocations: 391.8 kB / 0.625 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.006546, allocations: 73.42 kB / 0.6251 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.00655, allocations: 0 / 0.6251 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.006561, allocations: 0 / 0.6251 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.345e-06/0.006563, allocations: 3.938 kB / 0.6251 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.00657, allocations: 4 kB / 0.6251 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.006689, allocations: 15.88 kB / 0.6251 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.0067, allocations: 8.062 kB / 0.6251 GB, free: 6.883 MB / 0.5886 GB 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 8.291e-05/0.006783, allocations: 148.5 kB / 0.6253 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/0.006793, allocations: 7.953 kB / 0.6253 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.523e-05/0.006808, allocations: 8.344 kB / 0.6253 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.00681, allocations: 0 / 0.6253 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.006815, allocations: 7.875 kB / 0.6253 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.006817, allocations: 3.938 kB / 0.6253 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.04e-05/0.006878, allocations: 117.3 kB / 0.6254 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006879, allocations: 0 / 0.6254 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-06/0.006881, allocations: 7.938 kB / 0.6254 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.006884, allocations: 8 kB / 0.6254 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.006891, allocations: 0 / 0.6254 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006892, allocations: 0 / 0.6254 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006892, allocations: 0 / 0.6254 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.007088, allocations: 268.5 kB / 0.6257 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-06/0.007097, allocations: 7.938 kB / 0.6257 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.00711, allocations: 4 kB / 0.6257 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.007145, allocations: 4 kB / 0.6257 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.007197, allocations: 11.92 kB / 0.6257 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.007201, allocations: 0 / 0.6257 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.007259, allocations: 115.2 kB / 0.6258 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007259, allocations: 4.031 kB / 0.6258 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006083/0.007867, allocations: 67.88 kB / 0.6259 GB, free: 6.023 MB / 0.5886 GB 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.0002574/0.008124, allocations: 159.1 kB / 0.6261 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.008461, allocations: 415.8 kB / 0.6264 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.008464, allocations: 0 / 0.6264 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.008567, allocations: 153 kB / 0.6266 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.008713, allocations: 10.5 kB / 0.6266 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.009099, allocations: 272.9 kB / 0.6269 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.352e-05/0.009163, allocations: 79.44 kB / 0.6269 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.009181, allocations: 12.5 kB / 0.627 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.009181, allocations: 0 / 0.627 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of Templates: time 0.00279/0.01197, allocations: 1.696 MB / 0.6286 GB, free: 3.117 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.100022844970226] Failed to read output from testmodel.py, exit status != 0: 0.01792643591761589 0.026433264 0.020613774 Calling exit ...