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.001266/0.001266, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001405/0.001405, allocations: 169 kB / 23.28 MB, free: 1.219 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.9863/0.9863, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.8563/0.8563, allocations: 154.9 MB / 415.1 MB, free: 268 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 5.1e-06/5.1e-06, allocations: 7.984 kB / 0.5212 GB, free: 1.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.908e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.CubicHermite): time 0.001588/0.001617, allocations: 0.6184 MB / 0.5218 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.003233, allocations: 1.417 MB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.003269, allocations: 0 / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 5.919e-05/0.003328, allocations: 0.9688 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.153e-05/0.00337, allocations: 0 / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.004005, allocations: 190.8 kB / 0.5234 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.947e-05/0.004104, allocations: 47.89 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.00414, allocations: 4 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.004195, allocations: 23.92 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.544e-05/0.00425, allocations: 23.97 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.004263, allocations: 5.125 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.00456, allocations: 211.7 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.572e-05/0.004595, allocations: 11.94 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.00462, allocations: 13.45 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.00487, allocations: 235.3 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004873, allocations: 0 / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004874, allocations: 0 / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004879, allocations: 4.844 kB / 0.5239 GB, free: 14.56 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.0003509/0.00523, allocations: 463.6 kB / 0.5244 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.005264, allocations: 13 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.005299, allocations: 8.891 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.897e-05/0.005388, allocations: 124.5 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.005398, allocations: 1.875 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.005405, allocations: 4.375 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.005515, allocations: 99.86 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.005521, allocations: 0.6875 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.005528, allocations: 384 / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.005535, allocations: 4.969 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.242e-05/0.005577, allocations: 61.67 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000103/0.00568, allocations: 110.2 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.727e-05/0.005748, allocations: 88.72 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.005792, allocations: 73.44 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.005799, allocations: 0.625 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.005823, allocations: 41.92 kB / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.005824, allocations: 0 / 0.525 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002254/0.006049, allocations: 224 kB / 0.5252 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.006086, allocations: 81.11 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.006193, allocations: 208.1 kB / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.006205, allocations: 31.52 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.006253, allocations: 138.8 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.006272, allocations: 11.91 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.006312, allocations: 35.34 kB / 0.5257 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.006426, allocations: 0.4884 MB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.006503, allocations: 117.1 kB / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.006562, allocations: 103.3 kB / 0.5264 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.006687, allocations: 182.4 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006689, allocations: 0 / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001796/0.006869, allocations: 272.3 kB / 0.5268 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.006911, allocations: 68.42 kB / 0.5268 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006916, allocations: 0 / 0.5268 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.964e-06/0.006924, allocations: 0.9375 kB / 0.5269 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.934e-06/0.006926, allocations: 3.984 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.006928, allocations: 4 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.091e-05/0.006999, allocations: 15.12 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.007011, allocations: 4 kB / 0.5269 GB, free: 11.21 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.36e-05/0.007094, allocations: 194.3 kB / 0.5271 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.007108, allocations: 15.88 kB / 0.5271 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.007125, allocations: 8.344 kB / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007126, allocations: 0 / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.007128, allocations: 0 / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.007131, allocations: 3.938 kB / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.679e-05/0.007198, allocations: 108.4 kB / 0.5272 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.007199, allocations: 0 / 0.5272 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.0072, allocations: 0 / 0.5272 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.007202, allocations: 7.984 kB / 0.5272 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.007208, allocations: 0 / 0.5272 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.007209, allocations: 3.938 kB / 0.5272 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00721, allocations: 0 / 0.5272 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.007373, allocations: 219.7 kB / 0.5274 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.007384, allocations: 9.359 kB / 0.5274 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.007396, allocations: 0 / 0.5274 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/0.007429, allocations: 4 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.007471, allocations: 11.98 kB / 0.5274 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.007477, allocations: 1.281 kB / 0.5274 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.59e-05/0.007533, allocations: 144.5 kB / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007533, allocations: 0 / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002111/0.007744, allocations: 68.52 kB / 0.5276 GB, free: 10.36 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.0002061/0.00795, allocations: 155.8 kB / 0.5278 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.008167, allocations: 330.9 kB / 0.5281 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.008169, allocations: 2.594 kB / 0.5281 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.353e-05/0.008242, allocations: 136.8 kB / 0.5282 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.008348, allocations: 4 kB / 0.5282 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.008585, allocations: 216.4 kB / 0.5284 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.285e-05/0.008618, allocations: 63.34 kB / 0.5285 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.03e-06/0.008623, allocations: 0 / 0.5285 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.00869, allocations: 92.58 kB / 0.5286 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/0.008691, allocations: 0 / 0.5286 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of Templates: time 0.003894/0.01259, allocations: 2.411 MB / 0.531 GB, free: 6.938 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 & (cd run_cvode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.CubicHermite_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.904827564023435]