Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001107/0.001107, 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.005128/0.005128, allocations: 161.2 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.8986/0.8986, allocations: 177.2 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2925/0.2925, allocations: 34.26 MB / 295.7 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 443.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.845e-05, allocations: 2.281 kB / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.1858/0.1858, allocations: 12.7 MB / 456.2 MB, free: 36.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01435/0.2002, allocations: 23.37 MB / 479.6 MB, free: 21.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2003, allocations: 0 / 479.6 MB, free: 21.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.2006, allocations: 85.66 kB / 479.6 MB, free: 21.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01799/0.2186, allocations: 8.622 MB / 488.3 MB, free: 17.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009445/0.2196, allocations: 366.7 kB / 488.6 MB, free: 17.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002415/0.222, allocations: 2.034 MB / 490.7 MB, free: 16.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.222, allocations: 15.59 kB / 490.7 MB, free: 16.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.2225, allocations: 310.4 kB / 491 MB, free: 16.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003582/0.2261, allocations: 3.266 MB / 494.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.2261, allocations: 14.06 kB / 494.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01774/0.2439, allocations: 10.34 MB / 0.4928 GB, free: 12.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.219e-05/0.244, allocations: 52.56 kB / 0.4928 GB, free: 12.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.2441, allocations: 107.1 kB / 0.4929 GB, free: 12.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.2605, allocations: 8.014 MB / 0.5008 GB, free: 7.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2605, allocations: 0 / 0.5008 GB, free: 7.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2605, allocations: 0 / 0.5008 GB, free: 7.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2605, allocations: 1.156 kB / 0.5008 GB, free: 7.559 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.00498/0.2655, allocations: 1.523 MB / 0.5022 GB, free: 6.516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.2655, allocations: 10.28 kB / 0.5023 GB, free: 6.516 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009716/0.2665, allocations: 222.5 kB / 0.5025 GB, free: 6.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.2668, allocations: 219.1 kB / 0.5027 GB, free: 6.203 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.2669, allocations: 26.25 kB / 0.5027 GB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.2669, allocations: 36.3 kB / 0.5027 GB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.2682, allocations: 0.8719 MB / 0.5036 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2683, allocations: 5.344 kB / 0.5036 GB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.2683, allocations: 15.31 kB / 0.5036 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.2683, allocations: 7.344 kB / 0.5036 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.2696, allocations: 0.9303 MB / 0.5045 GB, free: 5.137 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.001778/0.2714, allocations: 1.944 MB / 0.5064 GB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/0.2722, allocations: 369.4 kB / 0.5068 GB, free: 3.348 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/0.2723, allocations: 73.03 kB / 0.5068 GB, free: 3.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4871/0.7594, allocations: 161 MB / 0.6641 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.7604, allocations: 471.5 kB / 0.6645 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 2.475e-06/0.7604, allocations: 0 / 0.6645 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.001822/0.7622, allocations: 0.7868 MB / 0.6653 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.7623, allocations: 372.2 kB / 0.6656 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.7624, allocations: 195.1 kB / 0.6658 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.7625, allocations: 31.08 kB / 0.6658 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.7625, allocations: 192.9 kB / 0.666 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.7626, allocations: 116.7 kB / 0.6661 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.7627, allocations: 123.3 kB / 0.6663 GB, free: 163.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.7627, allocations: 338.6 kB / 0.6666 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.7629, allocations: 79.06 kB / 0.6667 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.7631, allocations: 342.6 kB / 0.667 GB, free: 163.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.7635, allocations: 479.5 kB / 0.6674 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.7635, allocations: 2.875 kB / 0.6674 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006279/0.7642, allocations: 484.9 kB / 0.6679 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.7642, allocations: 9.594 kB / 0.6679 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7642, allocations: 9.188 kB / 0.6679 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.7642, allocations: 12.81 kB / 0.6679 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.7645, allocations: 143.8 kB / 0.6681 GB, free: 162.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.7645, allocations: 18.94 kB / 0.6681 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.7647, allocations: 57.52 kB / 0.6681 GB, free: 162.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.7647, allocations: 44.78 kB / 0.6682 GB, free: 162.4 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.0001082/0.7648, allocations: 158.9 kB / 0.6683 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.7649, allocations: 30.78 kB / 0.6684 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.7671, allocations: 2.844 MB / 0.6711 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.7671, allocations: 15.48 kB / 0.6712 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7671, allocations: 3.781 kB / 0.6712 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.7672, allocations: 7.438 kB / 0.6712 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.7678, allocations: 0.8401 MB / 0.672 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.7678, allocations: 7.25 kB / 0.672 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.768, allocations: 76.17 kB / 0.6721 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.768, allocations: 9.188 kB / 0.6721 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.768, allocations: 15.88 kB / 0.6721 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.768, allocations: 8.188 kB / 0.6721 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.768, allocations: 5.438 kB / 0.6721 GB, free: 160.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006796/0.7687, allocations: 0.7079 MB / 0.6728 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.7688, allocations: 49.08 kB / 0.6728 GB, free: 160.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.7689, allocations: 117.3 kB / 0.673 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.769, allocations: 18.73 kB / 0.673 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.7691, allocations: 33.41 kB / 0.673 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.7691, allocations: 14.73 kB / 0.673 GB, free: 160.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004707/0.7696, allocations: 0.5061 MB / 0.6735 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.7696, allocations: 0 / 0.6735 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005469/0.775, allocations: 1.53 MB / 0.675 GB, free: 159.6 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.004734/0.7798, allocations: 1.979 MB / 0.6769 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005499/0.7803, allocations: 411.8 kB / 0.6773 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7803, allocations: 0 / 0.6773 GB, free: 158.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.7805, allocations: 236 kB / 0.6776 GB, free: 158.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.7811, allocations: 134.1 kB / 0.6777 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.026/1.807, allocations: 0.6026 GB / 1.28 GB, free: 176.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/1.807, allocations: 398 kB / 1.281 GB, free: 176.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/1.808, allocations: 67.25 kB / 1.281 GB, free: 176.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.553e-06/1.808, allocations: 3.938 kB / 1.281 GB, free: 176.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.04054/1.848, allocations: 33.54 MB / 1.313 GB, free: 167.6 MB / 0.5417 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 7.955834288150072]