Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.001006/0.001006, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.0009716/0.0009716, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9799/0.9799, allocations: 158.6 MB / 186 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1367/0.1367, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 347.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.926e-05, allocations: 2.312 kB / 347.7 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01173/0.01175, allocations: 13.86 MB / 361.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02245/0.03421, allocations: 26.12 MB / 387.7 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.0344, allocations: 4 kB / 387.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.03482, allocations: 79.44 kB / 387.8 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02051/0.05532, allocations: 8.587 MB / 396.4 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/0.05612, allocations: 346.8 kB / 396.7 MB, free: 8.555 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003018/0.05914, allocations: 2.037 MB / 398.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.917e-05/0.0592, allocations: 12.59 kB / 398.8 MB, free: 6.48 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.05963, allocations: 310.9 kB / 399.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003954/0.06359, allocations: 3.258 MB / 402.3 MB, free: 2.863 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.06362, allocations: 12 kB / 402.3 MB, free: 2.852 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01571/0.07933, allocations: 10.32 MB / 412.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.862e-05/0.07942, allocations: 55.75 kB / 412.7 MB, free: 8.461 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.07957, allocations: 103.8 kB / 412.8 MB, free: 8.359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01739/0.09697, allocations: 7.967 MB / 420.8 MB, free: 384 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.09698, allocations: 3.984 kB / 420.8 MB, free: 380 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.09698, allocations: 0 / 420.8 MB, free: 380 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.09699, allocations: 0 / 420.8 MB, free: 380 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.003979/0.101, allocations: 1.613 MB / 422.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.101, allocations: 8.031 kB / 422.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.1023, allocations: 335.9 kB / 422.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.1026, allocations: 228.1 kB / 423 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.1026, allocations: 21.03 kB / 423 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.1027, allocations: 36.38 kB / 423 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.1044, allocations: 0.9525 MB / 424 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1044, allocations: 3.938 kB / 424 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.1045, allocations: 16 kB / 424 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.1045, allocations: 8 kB / 424 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.1059, allocations: 0.8347 MB / 424.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.1082, allocations: 2.492 MB / 427.3 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/0.1091, allocations: 413.5 kB / 427.7 MB, free: 9.191 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.1092, allocations: 63.64 kB / 427.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4529/0.5621, allocations: 159.4 MB / 0.5734 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.5631, allocations: 0.517 MB / 0.574 GB, free: 15.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 3.206e-06/0.5631, allocations: 0 / 0.574 GB, free: 15.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002034/0.5651, allocations: 0.8624 MB / 0.5748 GB, free: 14.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.5653, allocations: 379.7 kB / 0.5752 GB, free: 14.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.5655, allocations: 250.4 kB / 0.5754 GB, free: 13.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.5655, allocations: 33.7 kB / 0.5754 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.5656, allocations: 230.9 kB / 0.5756 GB, free: 13.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.648e-05/0.5657, allocations: 120.7 kB / 0.5758 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.5658, allocations: 135.8 kB / 0.5759 GB, free: 13.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.566, allocations: 0.504 MB / 0.5764 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.5662, allocations: 108.5 kB / 0.5765 GB, free: 12.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.5666, allocations: 470.8 kB / 0.5769 GB, free: 12.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/0.5671, allocations: 0.6078 MB / 0.5775 GB, free: 11.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.5672, allocations: 4 kB / 0.5775 GB, free: 11.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006515/0.5678, allocations: 0.5094 MB / 0.578 GB, free: 10.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5678, allocations: 8 kB / 0.578 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5678, allocations: 8 kB / 0.578 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.5679, allocations: 12 kB / 0.5781 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.5681, allocations: 143.7 kB / 0.5782 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.5682, allocations: 19.88 kB / 0.5782 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.5683, allocations: 51.67 kB / 0.5783 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.5684, allocations: 44.34 kB / 0.5783 GB, free: 10.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 0.0001425/0.5685, allocations: 204.3 kB / 0.5785 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.5686, allocations: 39.84 kB / 0.5785 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.5699, allocations: 1.509 MB / 0.58 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.5699, allocations: 19.97 kB / 0.58 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.5699, allocations: 7.938 kB / 0.58 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.5699, allocations: 4 kB / 0.58 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000809/0.5708, allocations: 0.7476 MB / 0.5808 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.5708, allocations: 4 kB / 0.5808 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.5709, allocations: 68.25 kB / 0.5808 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/0.5709, allocations: 11.98 kB / 0.5809 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.571, allocations: 12 kB / 0.5809 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.571, allocations: 4 kB / 0.5809 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.571, allocations: 4 kB / 0.5809 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/0.5716, allocations: 0.6298 MB / 0.5815 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.5717, allocations: 51.2 kB / 0.5815 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.5718, allocations: 114.9 kB / 0.5816 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.5719, allocations: 15.98 kB / 0.5817 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.572, allocations: 35.89 kB / 0.5817 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.572, allocations: 19.98 kB / 0.5817 GB, free: 6.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004352/0.5724, allocations: 0.5156 MB / 0.5822 GB, free: 6.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5724, allocations: 3.938 kB / 0.5822 GB, free: 6.316 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00451/0.577, allocations: 1.524 MB / 0.5837 GB, free: 4.789 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00702/0.584, allocations: 1.941 MB / 0.5856 GB, free: 2.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007867/0.5848, allocations: 355.6 kB / 0.5859 GB, free: 2.652 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.5848, allocations: 0 / 0.5859 GB, free: 2.652 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.585, allocations: 178.4 kB / 0.5861 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.5857, allocations: 230.8 kB / 0.5863 GB, free: 2.246 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.039/1.625, allocations: 0.6002 GB / 1.187 GB, free: 41.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.596e-05/1.625, allocations: 167.8 kB / 1.187 GB, free: 41.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004598/1.625, allocations: 0.526 MB / 1.187 GB, free: 40.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/1.626, allocations: 60.47 kB / 1.187 GB, free: 40.63 MB / 426.7 MB Notification: Performance of SimCode: time 2.104e-06/1.626, allocations: 0 / 1.187 GB, free: 40.63 MB / 426.7 MB Notification: Performance of Templates: time 0.1636/1.789, allocations: 57.18 MB / 1.243 GB, free: 143.4 MB / 426.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.59028097987175]