Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.001211/0.001211, allocations: 81.86 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.001351/0.001351, allocations: 169.7 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.9583/0.9583, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.8098/0.8098, allocations: 154.9 MB / 415.1 MB, free: 272 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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.076e-05, allocations: 7.859 kB / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005891/0.005922, allocations: 4.829 MB / 0.5259 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.008055, allocations: 2.825 MB / 0.5286 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.008148, allocations: 0 / 0.5286 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.008404, allocations: 47.7 kB / 0.5287 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.008633, allocations: 105 kB / 0.5288 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.00967, allocations: 0.5649 MB / 0.5293 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.009912, allocations: 251.8 kB / 0.5296 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.00995, allocations: 8.781 kB / 0.5296 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.01016, allocations: 159.5 kB / 0.5297 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.01028, allocations: 79.77 kB / 0.5298 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.0103, allocations: 8 kB / 0.5298 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005129/0.01082, allocations: 331.1 kB / 0.5301 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.01089, allocations: 39.83 kB / 0.5301 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.01095, allocations: 63.02 kB / 0.5302 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.01143, allocations: 366.8 kB / 0.5306 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01143, allocations: 0 / 0.5306 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.01143, allocations: 0 / 0.5306 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.01143, allocations: 0 / 0.5306 GB, free: 7.891 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005347/0.01197, allocations: 0.5426 MB / 0.5311 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.012, allocations: 12.03 kB / 0.5311 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.01214, allocations: 36.78 kB / 0.5311 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.01229, allocations: 166.1 kB / 0.5313 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.0123, allocations: 8.703 kB / 0.5313 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.01233, allocations: 24.38 kB / 0.5313 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.01262, allocations: 410.2 kB / 0.5317 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.01263, allocations: 6.5 kB / 0.5317 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.01265, allocations: 20.11 kB / 0.5317 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.01267, allocations: 4 kB / 0.5317 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.01286, allocations: 247.5 kB / 0.532 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.01354, allocations: 0.965 MB / 0.5329 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.01371, allocations: 135.2 kB / 0.5331 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.01376, allocations: 40.2 kB / 0.5331 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005137/0.01427, allocations: 0.5362 MB / 0.5336 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.0144, allocations: 38.52 kB / 0.5337 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.0144, allocations: 0 / 0.5337 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0001789/0.01458, allocations: 123.2 kB / 0.5338 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002995/0.01488, allocations: 56.47 kB / 0.5338 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.088e-05/0.01497, allocations: 209.7 kB / 0.534 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.01499, allocations: 29.7 kB / 0.5341 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.01506, allocations: 195.8 kB / 0.5342 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.01508, allocations: 55.52 kB / 0.5343 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.01513, allocations: 63.31 kB / 0.5344 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01526, allocations: 0.5007 MB / 0.5348 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.01529, allocations: 19.98 kB / 0.5349 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.626e-05/0.01538, allocations: 171.8 kB / 0.535 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.01553, allocations: 219.9 kB / 0.5352 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01553, allocations: 0 / 0.5352 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001832/0.01571, allocations: 195.8 kB / 0.5354 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.01572, allocations: 8 kB / 0.5354 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01573, allocations: 4 kB / 0.5354 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.01574, allocations: 4 kB / 0.5354 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.01585, allocations: 60.47 kB / 0.5355 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01585, allocations: 7.938 kB / 0.5355 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.01591, allocations: 24.94 kB / 0.5355 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.01593, allocations: 23.92 kB / 0.5355 GB, free: 2.359 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * 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 9.121e-05/0.01602, allocations: 178.2 kB / 0.5357 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.01605, allocations: 23.91 kB / 0.5357 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.01621, allocations: 136.5 kB / 0.5359 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.01622, allocations: 0 / 0.5359 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.01622, allocations: 9.5 kB / 0.5359 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01623, allocations: 0 / 0.5359 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.01636, allocations: 141 kB / 0.536 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.01637, allocations: 3.984 kB / 0.536 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.01642, allocations: 29.11 kB / 0.536 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.01643, allocations: 0 / 0.536 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.01643, allocations: 8 kB / 0.5361 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01643, allocations: 1.094 kB / 0.5361 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01643, allocations: 0 / 0.5361 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.01659, allocations: 255.7 kB / 0.5363 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.01663, allocations: 32.38 kB / 0.5363 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.01664, allocations: 0 / 0.5363 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.01672, allocations: 17.11 kB / 0.5363 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.01675, allocations: 11.98 kB / 0.5364 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.01677, allocations: 12.77 kB / 0.5364 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.01681, allocations: 146.6 kB / 0.5365 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01681, allocations: 0 / 0.5365 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002942/0.01711, allocations: 84.48 kB / 0.5366 GB, free: 1.242 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * 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.0002451/0.01735, allocations: 176.3 kB / 0.5368 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.01751, allocations: 109.9 kB / 0.5369 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01751, allocations: 3.938 kB / 0.5369 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.01755, allocations: 45.98 kB / 0.5369 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.0178, allocations: 46.33 kB / 0.537 GB, free: 0.8633 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.01844, allocations: 317.3 kB / 0.5373 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.01848, allocations: 68 kB / 0.5373 GB, free: 456 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.648e-05/0.01858, allocations: 40.67 kB / 0.5374 GB, free: 416 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.01875, allocations: 155.5 kB / 0.5375 GB, free: 260 kB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.01875, allocations: 0 / 0.5375 GB, free: 260 kB / 0.4948 GB Notification: Performance of Templates: time 0.005337/0.02409, allocations: 3.439 MB / 0.5409 GB, free: 12.97 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Media.Examples.WaterProperties_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Media.Examples.WaterProperties_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7415834390558302]