Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008651/0.0008651, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003602/0.003602, allocations: 160.9 kB / 24.7 MB, free: 9.426 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.8545/0.8545, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2433/0.2433, allocations: 32.79 MB / 294.2 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 440.9 MB, free: 3.707 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.158e-05, allocations: 4.672 kB / 440.9 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.1821/0.1821, allocations: 12.7 MB / 453.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.1969, allocations: 23.37 MB / 477 MB, free: 24.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.197, allocations: 0 / 477 MB, free: 24.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.1973, allocations: 83.3 kB / 477.1 MB, free: 24.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01562/0.2129, allocations: 8.634 MB / 485.7 MB, free: 21.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.2136, allocations: 361.8 kB / 486 MB, free: 20.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.2157, allocations: 2.028 MB / 488.1 MB, free: 19.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.2157, allocations: 21.56 kB / 488.1 MB, free: 19.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.2161, allocations: 307.9 kB / 488.4 MB, free: 19.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/0.2192, allocations: 3.262 MB / 491.6 MB, free: 18.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.2192, allocations: 12 kB / 491.7 MB, free: 18.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02086/0.24, allocations: 10.35 MB / 0.4902 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2401, allocations: 53.53 kB / 0.4903 GB, free: 15.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.2403, allocations: 107.3 kB / 0.4904 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.2561, allocations: 8.018 MB / 0.4982 GB, free: 11.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2561, allocations: 0 / 0.4982 GB, free: 11.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2561, allocations: 1.375 kB / 0.4982 GB, free: 11.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.2561, allocations: 0 / 0.4982 GB, free: 11.02 MB / 410.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.004032/0.2601, allocations: 1.528 MB / 0.4997 GB, free: 9.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2602, allocations: 13.75 kB / 0.4997 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009852/0.2612, allocations: 221.9 kB / 0.4999 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.2615, allocations: 215.7 kB / 0.5001 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.2615, allocations: 26.69 kB / 0.5002 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.2616, allocations: 31.06 kB / 0.5002 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.263, allocations: 0.8706 MB / 0.5011 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.263, allocations: 5.156 kB / 0.5011 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.263, allocations: 12.66 kB / 0.5011 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.263, allocations: 7.281 kB / 0.5011 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.2645, allocations: 0.9356 MB / 0.502 GB, free: 8.602 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.2662, allocations: 1.951 MB / 0.5039 GB, free: 7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007429/0.267, allocations: 362.9 kB / 0.5042 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.2671, allocations: 68.31 kB / 0.5043 GB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4638/0.7309, allocations: 161 MB / 0.6615 GB, free: 167.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.7319, allocations: 479.2 kB / 0.662 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 2.063e-06/0.7319, allocations: 3.828 kB / 0.662 GB, free: 167.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.001878/0.7338, allocations: 0.7807 MB / 0.6627 GB, free: 167.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.7339, allocations: 376.9 kB / 0.6631 GB, free: 167 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.734, allocations: 190.3 kB / 0.6633 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.734, allocations: 32.59 kB / 0.6633 GB, free: 166.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.7341, allocations: 192.9 kB / 0.6635 GB, free: 166.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.7342, allocations: 114.2 kB / 0.6636 GB, free: 166.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.7343, allocations: 127 kB / 0.6637 GB, free: 166.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.873e-05/0.7343, allocations: 331.3 kB / 0.6641 GB, free: 166.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.7345, allocations: 84.03 kB / 0.6641 GB, free: 166.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.7347, allocations: 346.6 kB / 0.6645 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.7351, allocations: 480.8 kB / 0.6649 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7351, allocations: 6.875 kB / 0.6649 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006303/0.7357, allocations: 474 kB / 0.6654 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.7358, allocations: 9.062 kB / 0.6654 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.7358, allocations: 13.8 kB / 0.6654 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.7358, allocations: 12.41 kB / 0.6654 GB, free: 165.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.7361, allocations: 143.2 kB / 0.6655 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/0.7361, allocations: 19.75 kB / 0.6656 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.7363, allocations: 52.03 kB / 0.6656 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-05/0.7363, allocations: 44.73 kB / 0.6657 GB, free: 165.2 MB / 0.5261 GB 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.0001149/0.7364, allocations: 161.5 kB / 0.6658 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/0.7365, allocations: 31.39 kB / 0.6658 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.7386, allocations: 2.843 MB / 0.6686 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.7386, allocations: 17.25 kB / 0.6686 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.7386, allocations: 4.656 kB / 0.6686 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.7386, allocations: 9.047 kB / 0.6687 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006365/0.7393, allocations: 0.8435 MB / 0.6695 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7393, allocations: 2.75 kB / 0.6695 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.7395, allocations: 72.83 kB / 0.6695 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.7395, allocations: 8.719 kB / 0.6696 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.7395, allocations: 16.23 kB / 0.6696 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.7395, allocations: 8.766 kB / 0.6696 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.7395, allocations: 2.75 kB / 0.6696 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006598/0.7402, allocations: 0.7135 MB / 0.6703 GB, free: 163 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.7402, allocations: 48.98 kB / 0.6703 GB, free: 163 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.771e-05/0.7403, allocations: 115.7 kB / 0.6704 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.7404, allocations: 19.64 kB / 0.6705 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.7405, allocations: 36.3 kB / 0.6705 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.7405, allocations: 12.8 kB / 0.6705 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004527/0.741, allocations: 0.507 MB / 0.671 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.741, allocations: 4 kB / 0.671 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005058/0.746, allocations: 1.53 MB / 0.6725 GB, free: 162.4 MB / 0.5261 GB 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.008745/0.7548, allocations: 1.97 MB / 0.6744 GB, free: 162 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008374/0.7556, allocations: 418.2 kB / 0.6748 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.7556, allocations: 2.469 kB / 0.6748 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.7559, allocations: 235.8 kB / 0.675 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007456/0.7566, allocations: 126.8 kB / 0.6752 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9987/1.755, allocations: 0.6026 GB / 1.278 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/1.756, allocations: 395.3 kB / 1.278 GB, free: 149.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/1.756, allocations: 65.73 kB / 1.278 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.364e-06/1.756, allocations: 5.25 kB / 1.278 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.03811/1.794, allocations: 33.55 MB / 1.311 GB, free: 122.3 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.378897541202605]