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.00104/0.00104, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001172/0.001172, allocations: 169 kB / 23.27 MB, free: 1.223 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.046/1.046, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.7697/0.7697, allocations: 154.9 MB / 415.1 MB, free: 264 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.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.744e-06/1.744e-06, allocations: 0 / 0.5212 GB, free: 1.461 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.492e-05, allocations: 5.594 kB / 0.5212 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001204/0.001229, allocations: 0.6209 MB / 0.5218 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.003127, allocations: 1.414 MB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.00316, allocations: 0 / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.594e-05/0.003216, allocations: 0.5625 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.003265, allocations: 16.7 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.003782, allocations: 181.6 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.695e-05/0.003869, allocations: 43.95 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.209e-05/0.003901, allocations: 7.938 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.962e-05/0.00395, allocations: 25.03 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.004, allocations: 19.97 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.004013, allocations: 4 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.004257, allocations: 213.1 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.004293, allocations: 15.94 kB / 0.5237 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.004317, allocations: 19.92 kB / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.004537, allocations: 231.4 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004539, allocations: 0.8125 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.02e-07/0.004539, allocations: 0 / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.004543, allocations: 0.9062 kB / 0.5239 GB, free: 14.67 MB / 0.4948 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.0003324/0.004875, allocations: 463.6 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.004912, allocations: 12.52 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.004943, allocations: 8.891 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.877e-05/0.005022, allocations: 125.5 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.005032, allocations: 384 / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.00504, allocations: 5.219 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.005148, allocations: 99.91 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.005154, allocations: 0.8125 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.005161, allocations: 4.375 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005168, allocations: 4.625 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.005207, allocations: 57.67 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.808e-05/0.005305, allocations: 118.4 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.188e-05/0.005367, allocations: 88.67 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.005408, allocations: 65.44 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-06/0.005411, allocations: 5.812 kB / 0.5249 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.005433, allocations: 33.39 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005434, allocations: 0 / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002091/0.005644, allocations: 230.7 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.005674, allocations: 86.8 kB / 0.5253 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.005769, allocations: 204.1 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.005782, allocations: 29.7 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.005826, allocations: 134.9 kB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.00585, allocations: 15.89 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.005887, allocations: 36.11 kB / 0.5257 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.005999, allocations: 0.4884 MB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/0.006064, allocations: 104.3 kB / 0.5263 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.006122, allocations: 107.4 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.006234, allocations: 184.7 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006236, allocations: 1.062 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001744/0.00641, allocations: 272.3 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.006447, allocations: 78.58 kB / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.006453, allocations: 4 kB / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.006464, allocations: 0 / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.006465, allocations: 0 / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.006467, allocations: 0 / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.561e-05/0.006543, allocations: 15.86 kB / 0.5269 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.006552, allocations: 4 kB / 0.5269 GB, free: 11.32 MB / 0.4948 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 7.777e-05/0.006629, allocations: 186.3 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.006641, allocations: 14.98 kB / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.00666, allocations: 12.33 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006662, allocations: 0 / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006663, allocations: 0 / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.006667, allocations: 3.938 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.781e-05/0.006735, allocations: 109.2 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.006735, allocations: 0 / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.006736, allocations: 0 / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006737, allocations: 0 / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.006744, allocations: 5.5 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.006745, allocations: 0 / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.006745, allocations: 0 / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.006907, allocations: 223.6 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.006917, allocations: 9.359 kB / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.006928, allocations: 4 kB / 0.5274 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.623e-05/0.006954, allocations: 4 kB / 0.5274 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.006996, allocations: 5.406 kB / 0.5274 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.007002, allocations: 8 kB / 0.5274 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.007049, allocations: 140.1 kB / 0.5276 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007049, allocations: 0 / 0.5276 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002006/0.00725, allocations: 68.53 kB / 0.5276 GB, free: 10.46 MB / 0.4948 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.0002027/0.007452, allocations: 155.7 kB / 0.5278 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.007655, allocations: 330.7 kB / 0.5281 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007657, allocations: 0 / 0.5281 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.795e-05/0.007725, allocations: 136.7 kB / 0.5282 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/0.007828, allocations: 9.828 kB / 0.5282 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.008052, allocations: 223.5 kB / 0.5285 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.152e-05/0.008083, allocations: 63.33 kB / 0.5285 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.581e-06/0.008089, allocations: 0 / 0.5285 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.008154, allocations: 84.64 kB / 0.5286 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.008155, allocations: 0 / 0.5286 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of Templates: time 0.003936/0.01209, allocations: 2.406 MB / 0.531 GB, free: 7.047 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6806161999702454]