Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.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.0009138/0.0009138, allocations: 82.05 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.0009751/0.0009751, allocations: 173.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 1.05/1.05, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.8382/0.8382, 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.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.5211 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.773e-05, allocations: 5.484 kB / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1216/0.1217, allocations: 128.8 MB / 0.6469 GB, free: 484 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007889/0.1296, allocations: 7.854 MB / 0.6545 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.1296, allocations: 0 / 0.6545 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1297, allocations: 31.77 kB / 0.6546 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.1298, allocations: 19.84 kB / 0.6546 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.1331, allocations: 1.471 MB / 0.656 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.1333, allocations: 83.56 kB / 0.6561 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 2.735e-05/0.1333, allocations: 4 kB / 0.6561 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1334, allocations: 55.88 kB / 0.6562 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.1335, allocations: 23.91 kB / 0.6562 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1335, allocations: 4 kB / 0.6562 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004155/0.1376, allocations: 2.621 MB / 0.6587 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.1377, allocations: 15.97 kB / 0.6588 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.1377, allocations: 23.92 kB / 0.6588 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.1405, allocations: 1.793 MB / 0.6605 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1405, allocations: 0 / 0.6605 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1405, allocations: 0 / 0.6605 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.1405, allocations: 4 kB / 0.6605 GB, free: 2.43 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009689/0.1414, allocations: 0.5268 MB / 0.6611 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1415, allocations: 8.031 kB / 0.6611 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/0.1418, allocations: 48.58 kB / 0.6611 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.589e-05/0.1419, allocations: 124.5 kB / 0.6612 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.1419, allocations: 59.97 kB / 0.6613 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.1419, allocations: 4.375 kB / 0.6613 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1422, allocations: 144.3 kB / 0.6614 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1422, allocations: 3.938 kB / 0.6614 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1422, allocations: 0 / 0.6614 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1422, allocations: 4 kB / 0.6614 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1424, allocations: 81.72 kB / 0.6615 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.1427, allocations: 304.2 kB / 0.6618 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1428, allocations: 115.1 kB / 0.6619 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.1429, allocations: 43.59 kB / 0.662 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006815/0.1497, allocations: 2.579 MB / 0.6645 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1497, allocations: 33.39 kB / 0.6645 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.1497, allocations: 0 / 0.6645 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004124/0.1501, allocations: 152.3 kB / 0.6646 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.1502, allocations: 51.41 kB / 0.6647 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.1502, allocations: 161.9 kB / 0.6649 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1503, allocations: 29.7 kB / 0.6649 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.1503, allocations: 130.9 kB / 0.665 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.1504, allocations: 47.58 kB / 0.6651 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.1504, allocations: 35.36 kB / 0.6651 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1506, allocations: 0.4884 MB / 0.6656 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.1506, allocations: 11.98 kB / 0.6656 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.004e-05/0.1506, allocations: 15.98 kB / 0.6656 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.132e-05/0.1507, allocations: 58.22 kB / 0.6656 GB, free: 13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1507, allocations: 0 / 0.6656 GB, free: 13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001652/0.1509, allocations: 93.61 kB / 0.6657 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1509, allocations: 8 kB / 0.6657 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1509, allocations: 0 / 0.6657 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1509, allocations: 4 kB / 0.6657 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.151, allocations: 23.98 kB / 0.6658 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.151, allocations: 3.938 kB / 0.6658 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.151, allocations: 15.83 kB / 0.6658 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.151, allocations: 0 / 0.6658 GB, free: 12.84 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * Array equations: 0 * 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.093e-05/0.1511, allocations: 160.6 kB / 0.6659 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.1512, allocations: 15.89 kB / 0.666 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.1515, allocations: 236.4 kB / 0.6662 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.1515, allocations: 11.98 kB / 0.6662 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.1515, allocations: 0 / 0.6662 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1515, allocations: 0 / 0.6662 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1517, allocations: 180.8 kB / 0.6664 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1517, allocations: 0 / 0.6664 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.1518, allocations: 27.92 kB / 0.6664 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1518, allocations: 3.938 kB / 0.6664 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.1518, allocations: 4 kB / 0.6664 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1518, allocations: 4 kB / 0.6664 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1518, allocations: 0 / 0.6664 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.1521, allocations: 320.3 kB / 0.6667 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.1522, allocations: 27.77 kB / 0.6667 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1522, allocations: 15.94 kB / 0.6667 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.1523, allocations: 0 / 0.6667 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.1523, allocations: 19.91 kB / 0.6668 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1523, allocations: 4 kB / 0.6668 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.1523, allocations: 123.2 kB / 0.6669 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.1523, allocations: 0 / 0.6669 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009277/0.1533, allocations: 307.7 kB / 0.6672 GB, free: 11.34 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001383/0.1546, allocations: 458.9 kB / 0.6676 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.1548, allocations: 75.59 kB / 0.6677 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1548, allocations: 0 / 0.6677 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.693e-05/0.1549, allocations: 75.56 kB / 0.6678 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1552, allocations: 31.92 kB / 0.6678 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007274/0.1559, allocations: 288.3 kB / 0.6681 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.44e-05/0.156, allocations: 75.84 kB / 0.6681 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.1561, allocations: 28.06 kB / 0.6682 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1562, allocations: 106.2 kB / 0.6683 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.1562, allocations: 4 kB / 0.6683 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.2437/0.3999, allocations: 11.37 MB / 0.6794 GB, free: 67 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & (cd run_cvode && ../IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_gbode.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_gbode.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_gbode.sim & (cd run_gbode && ../IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_gbode.pipe 2>&1) [Timeout 240] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_ida.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_ida.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_ida.sim & (cd run_ida && ../IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.473111630883068]