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.001991/0.001991, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.002037/0.002037, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 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.64/1.64, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2603/0.2603, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002056/0.002056, allocations: 67.88 kB / 0.4966 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3659, allocations: 66.04 MB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01792/0.3838, allocations: 12.71 MB / 0.5735 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03544/0.4192, allocations: 23.36 MB / 0.5964 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.4196, allocations: 4 kB / 0.5964 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.42, allocations: 83.44 kB / 0.5964 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02835/0.4484, allocations: 8.513 MB / 0.6048 GB, free: 7.344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.4496, allocations: 346.5 kB / 0.6051 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005446/0.455, allocations: 2.013 MB / 0.6071 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.4551, allocations: 16.53 kB / 0.6071 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006762/0.4558, allocations: 274.8 kB / 0.6073 GB, free: 4.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008824/0.4646, allocations: 3.27 MB / 0.6105 GB, free: 1.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.163e-05/0.4647, allocations: 12 kB / 0.6105 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02756/0.4922, allocations: 10.76 MB / 0.621 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.4924, allocations: 55.69 kB / 0.6211 GB, free: 6.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002978/0.4927, allocations: 119.5 kB / 0.6212 GB, free: 6.398 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.5114, allocations: 6.329 MB / 0.6274 GB, free: 56 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5114, allocations: 0 / 0.6274 GB, free: 56 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.113e-06/0.5114, allocations: 0 / 0.6274 GB, free: 56 kB / 462.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.5114, allocations: 0 / 0.6274 GB, free: 56 kB / 462.1 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.005458/0.5169, allocations: 1.525 MB / 0.6289 GB, free: 14.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5169, allocations: 12.03 kB / 0.6289 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.519, allocations: 228.5 kB / 0.6291 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.5195, allocations: 218.1 kB / 0.6293 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/0.5195, allocations: 25.03 kB / 0.6293 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.633e-05/0.5196, allocations: 32.12 kB / 0.6294 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.5222, allocations: 0.8676 MB / 0.6302 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5222, allocations: 4 kB / 0.6302 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.5223, allocations: 16 kB / 0.6302 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.5223, allocations: 11.98 kB / 0.6302 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.525, allocations: 0.9234 MB / 0.6312 GB, free: 12.09 MB / 478.1 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.003545/0.5286, allocations: 1.96 MB / 0.6331 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.5301, allocations: 370.2 kB / 0.6334 GB, free: 9.684 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.5303, allocations: 68.81 kB / 0.6335 GB, free: 9.613 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9938/1.524, allocations: 161 MB / 0.7908 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002346/1.527, allocations: 477 kB / 0.7912 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 6.171e-06/1.527, allocations: 0 / 0.7912 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.005079/1.532, allocations: 0.7787 MB / 0.792 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.532, allocations: 379.5 kB / 0.7923 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/1.532, allocations: 188.9 kB / 0.7925 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/1.532, allocations: 33.7 kB / 0.7925 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/1.532, allocations: 196.1 kB / 0.7927 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/1.532, allocations: 113.6 kB / 0.7928 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/1.533, allocations: 122.1 kB / 0.793 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/1.533, allocations: 335.2 kB / 0.7933 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/1.533, allocations: 84.94 kB / 0.7934 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/1.534, allocations: 344 kB / 0.7937 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.535, allocations: 474 kB / 0.7941 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.535, allocations: 4 kB / 0.7941 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001766/1.536, allocations: 477.1 kB / 0.7946 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/1.536, allocations: 10.34 kB / 0.7946 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/1.536, allocations: 12 kB / 0.7946 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.207e-05/1.536, allocations: 12 kB / 0.7946 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008037/1.537, allocations: 139.8 kB / 0.7948 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/1.537, allocations: 15.94 kB / 0.7948 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/1.538, allocations: 61.73 kB / 0.7948 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.766e-05/1.538, allocations: 43.98 kB / 0.7949 GB, free: 116.1 MB / 0.5606 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.0002989/1.538, allocations: 164.3 kB / 0.795 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/1.539, allocations: 27.84 kB / 0.7951 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/1.543, allocations: 2.744 MB / 0.7977 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/1.543, allocations: 19.97 kB / 0.7978 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/1.543, allocations: 4 kB / 0.7978 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.543, allocations: 4 kB / 0.7978 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/1.544, allocations: 0.8514 MB / 0.7986 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.544, allocations: 4 kB / 0.7986 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/1.545, allocations: 76.23 kB / 0.7987 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/1.545, allocations: 7.938 kB / 0.7987 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/1.545, allocations: 12 kB / 0.7987 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/1.545, allocations: 8.609 kB / 0.7987 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.545, allocations: 7.938 kB / 0.7987 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/1.546, allocations: 0.7204 MB / 0.7994 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/1.547, allocations: 49.83 kB / 0.7995 GB, free: 111.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/1.547, allocations: 109.3 kB / 0.7996 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/1.547, allocations: 27.02 kB / 0.7996 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.547, allocations: 35.83 kB / 0.7996 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.341e-05/1.548, allocations: 19.98 kB / 0.7996 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009702/1.548, allocations: 0.4962 MB / 0.8001 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.548, allocations: 0 / 0.8001 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007287/1.556, allocations: 1.536 MB / 0.8016 GB, free: 109.2 MB / 0.5606 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.01297/1.569, allocations: 1.738 MB / 0.8033 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001746/1.57, allocations: 425.3 kB / 0.8037 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.57, allocations: 0 / 0.8037 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005123/1.571, allocations: 234 kB / 0.804 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.573, allocations: 135.6 kB / 0.8041 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.36/2.932, allocations: 0.6026 GB / 1.407 GB, free: 61.01 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/2.932, allocations: 396.3 kB / 1.407 GB, free: 60.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006471/2.933, allocations: 0.5273 MB / 1.408 GB, free: 60.08 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/2.933, allocations: 55.41 kB / 1.408 GB, free: 60.02 MB / 0.6387 GB Notification: Performance of SimCode: time 1.453e-06/2.933, allocations: 0 / 1.408 GB, free: 60.02 MB / 0.6387 GB Notification: Performance of Templates: time 0.06152/2.995, allocations: 57.1 MB / 1.463 GB, free: 3.07 MB / 0.6387 GB " [Timeout remaining time 657] 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: 12.528684233315289]