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.00101/0.00101, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001019/0.001019, allocations: 173 kB / 23.49 MB, free: 1.059 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.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.7741/0.7741, allocations: 154.8 MB / 415.1 MB, free: 496 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.262e-06/1.262e-06, allocations: 0 / 0.5206 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.278e-05, allocations: 5.812 kB / 0.5206 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001104/0.001127, allocations: 0.6281 MB / 0.5213 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.002551, allocations: 1.422 MB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.002583, allocations: 0 / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.545e-05/0.002638, allocations: 0.9688 kB / 0.5226 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.002684, allocations: 7.938 kB / 0.5227 GB, free: 148 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.003222, allocations: 189.4 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.593e-05/0.003317, allocations: 43.95 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.003353, allocations: 4.656 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.0034, allocations: 25.41 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.003446, allocations: 23.97 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.003459, allocations: 4 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.003715, allocations: 207.7 kB / 0.5231 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.003759, allocations: 12.44 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.003792, allocations: 15.92 kB / 0.5232 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.004024, allocations: 240.4 kB / 0.5234 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004026, allocations: 0 / 0.5234 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.3e-07/0.004027, allocations: 1.125 kB / 0.5234 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.004033, allocations: 4 kB / 0.5234 GB, free: 15.39 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.0004045/0.004437, allocations: 459.6 kB / 0.5238 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.004476, allocations: 12.66 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.00452, allocations: 8.891 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.004622, allocations: 118 kB / 0.524 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.004634, allocations: 4.375 kB / 0.524 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.004644, allocations: 4.312 kB / 0.524 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.004795, allocations: 123.9 kB / 0.5241 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004802, allocations: 2 kB / 0.5241 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.004813, allocations: 384 / 0.5241 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.004822, allocations: 3.938 kB / 0.5241 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.254e-05/0.004895, allocations: 85.66 kB / 0.5242 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.005021, allocations: 134.4 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.005123, allocations: 112.7 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.005192, allocations: 93.36 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.005198, allocations: 3.984 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.005227, allocations: 37.39 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.005228, allocations: 0.75 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0003364/0.005564, allocations: 294.6 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/0.005761, allocations: 82.45 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.005883, allocations: 204 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.005895, allocations: 25.7 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.005947, allocations: 144.2 kB / 0.5253 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.005972, allocations: 15.91 kB / 0.5253 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.006016, allocations: 35.36 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.006215, allocations: 0.4922 MB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/0.006315, allocations: 136.9 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.55e-05/0.0064, allocations: 143.3 kB / 0.5261 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.006569, allocations: 252.7 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006571, allocations: 0 / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000513/0.007084, allocations: 338.7 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/0.007124, allocations: 75.38 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.007128, allocations: 0 / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.007139, allocations: 0 / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.00714, allocations: 0 / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.007146, allocations: 3.938 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.007217, allocations: 13.05 kB / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.007225, allocations: 4 kB / 0.5267 GB, free: 11.66 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 8.152e-05/0.007307, allocations: 191.2 kB / 0.5269 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.00732, allocations: 15.94 kB / 0.5269 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.00734, allocations: 12.34 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.007342, allocations: 3.25 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.007346, allocations: 3.938 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.00735, allocations: 0 / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.248e-05/0.007423, allocations: 136.6 kB / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007424, allocations: 0 / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.007424, allocations: 0 / 0.5271 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.007426, allocations: 4 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.007435, allocations: 0 / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.007436, allocations: 0 / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007437, allocations: 3.031 kB / 0.5271 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.007634, allocations: 255.7 kB / 0.5273 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.007643, allocations: 11.89 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.007657, allocations: 4 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.007687, allocations: 4 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.007751, allocations: 7.984 kB / 0.5273 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.007757, allocations: 7.938 kB / 0.5273 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.572e-05/0.007813, allocations: 152.7 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007813, allocations: 1.5 kB / 0.5275 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001977/0.008011, allocations: 63.88 kB / 0.5275 GB, free: 10.72 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.0002136/0.008224, allocations: 159.7 kB / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.008498, allocations: 380.2 kB / 0.5281 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0085, allocations: 0 / 0.5281 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.008599, allocations: 157.2 kB / 0.5282 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001034/0.008703, allocations: 12.52 kB / 0.5282 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.008959, allocations: 240.3 kB / 0.5285 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.185e-05/0.008991, allocations: 71.27 kB / 0.5285 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.631e-06/0.008997, allocations: 0 / 0.5285 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/0.009009, allocations: 8.5 kB / 0.5285 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of SimCode: time 8.41e-07/0.00901, allocations: 0 / 0.5285 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of Templates: time 0.003496/0.01251, allocations: 2.2 MB / 0.5307 GB, free: 7.465 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.8398016369901597]