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.002334/0.002334, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002723/0.002723, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.652/1.652, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3592/0.3592, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 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 2.064e-06/2.064e-06, allocations: 0 / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.945e-05, allocations: 2.312 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02178/0.02181, allocations: 13.91 MB / 391.2 MB, free: 4.965 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04159/0.0634, allocations: 26.13 MB / 417.4 MB, free: 10.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.06368, allocations: 4 kB / 417.4 MB, free: 10.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004558/0.06413, allocations: 83.38 kB / 417.5 MB, free: 10.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0285/0.09263, allocations: 8.62 MB / 426.1 MB, free: 1.996 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.09377, allocations: 346.7 kB / 426.4 MB, free: 1.656 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005563/0.09933, allocations: 2.021 MB / 428.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.332e-05/0.09939, allocations: 16.58 kB / 428.5 MB, free: 15.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000712/0.1001, allocations: 318.8 kB / 428.8 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008737/0.1088, allocations: 3.262 MB / 432 MB, free: 11.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.991e-05/0.1089, allocations: 12 kB / 432 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02576/0.1347, allocations: 10.35 MB / 442.4 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.1349, allocations: 55.73 kB / 442.4 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.1352, allocations: 111.8 kB / 442.6 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.294/0.4292, allocations: 8.024 MB / 450.6 MB, free: 61.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4292, allocations: 0 / 450.6 MB, free: 61.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4292, allocations: 0 / 450.6 MB, free: 61.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.4292, allocations: 0 / 450.6 MB, free: 61.76 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.005045/0.4342, allocations: 1.621 MB / 452.2 MB, free: 60.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4343, allocations: 8.688 kB / 452.2 MB, free: 60.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.436, allocations: 342.1 kB / 452.5 MB, free: 60.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.4363, allocations: 223.5 kB / 452.8 MB, free: 60.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.4363, allocations: 26.03 kB / 452.8 MB, free: 60.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.4364, allocations: 35.25 kB / 452.8 MB, free: 60.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.4385, allocations: 0.9178 MB / 453.7 MB, free: 60.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.4385, allocations: 5.219 kB / 453.7 MB, free: 60.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.4385, allocations: 22.62 kB / 453.8 MB, free: 60.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.4386, allocations: 8.375 kB / 453.8 MB, free: 60.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.4409, allocations: 0.9296 MB / 454.7 MB, free: 60.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.4438, allocations: 2.515 MB / 457.2 MB, free: 58.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.445, allocations: 388.8 kB / 457.6 MB, free: 58.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.4451, allocations: 76.78 kB / 457.7 MB, free: 58.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9352/1.38, allocations: 161.8 MB / 0.605 GB, free: 168.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001526/1.382, allocations: 0.5003 MB / 0.6055 GB, free: 168.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 2.935e-06/1.382, allocations: 0 / 0.6055 GB, free: 168.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.002959/1.385, allocations: 0.8305 MB / 0.6063 GB, free: 168.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.385, allocations: 378.3 kB / 0.6066 GB, free: 167.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/1.385, allocations: 266.3 kB / 0.6069 GB, free: 167.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/1.385, allocations: 33.45 kB / 0.6069 GB, free: 167.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/1.385, allocations: 243.5 kB / 0.6071 GB, free: 167.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/1.385, allocations: 119.6 kB / 0.6073 GB, free: 167.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/1.385, allocations: 138.6 kB / 0.6074 GB, free: 167.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/1.386, allocations: 0.5018 MB / 0.6079 GB, free: 166.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/1.386, allocations: 78.89 kB / 0.608 GB, free: 166.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/1.386, allocations: 463.2 kB / 0.6084 GB, free: 166.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/1.387, allocations: 0.5888 MB / 0.609 GB, free: 165.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.387, allocations: 2.531 kB / 0.609 GB, free: 165.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009098/1.388, allocations: 493.1 kB / 0.6094 GB, free: 165.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.388, allocations: 11.84 kB / 0.6095 GB, free: 165.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.388, allocations: 8.469 kB / 0.6095 GB, free: 165.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/1.388, allocations: 11.69 kB / 0.6095 GB, free: 165.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/1.388, allocations: 143.5 kB / 0.6096 GB, free: 165.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/1.388, allocations: 21.19 kB / 0.6096 GB, free: 165.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/1.388, allocations: 47.45 kB / 0.6097 GB, free: 165.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/1.389, allocations: 43.22 kB / 0.6097 GB, free: 165.5 MB / 474.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.0001713/1.389, allocations: 211.7 kB / 0.6099 GB, free: 165.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/1.389, allocations: 42.02 kB / 0.61 GB, free: 165.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/1.39, allocations: 1.493 MB / 0.6114 GB, free: 164.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/1.39, allocations: 19.03 kB / 0.6114 GB, free: 164.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.39, allocations: 2.906 kB / 0.6114 GB, free: 164.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.39, allocations: 6.156 kB / 0.6114 GB, free: 164.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/1.391, allocations: 0.7464 MB / 0.6122 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.391, allocations: 5.312 kB / 0.6122 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/1.391, allocations: 72.75 kB / 0.6122 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/1.391, allocations: 2.969 kB / 0.6123 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/1.391, allocations: 13.06 kB / 0.6123 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.391, allocations: 11.62 kB / 0.6123 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.391, allocations: 3.781 kB / 0.6123 GB, free: 164.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008262/1.392, allocations: 0.6587 MB / 0.6129 GB, free: 163.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/1.392, allocations: 60.81 kB / 0.613 GB, free: 163.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/1.392, allocations: 102.7 kB / 0.6131 GB, free: 163.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/1.393, allocations: 15.8 kB / 0.6131 GB, free: 163.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/1.393, allocations: 38.23 kB / 0.6131 GB, free: 163.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/1.393, allocations: 14.75 kB / 0.6131 GB, free: 163.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005743/1.393, allocations: 0.577 MB / 0.6137 GB, free: 163.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/1.393, allocations: 2.125 kB / 0.6137 GB, free: 163.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005934/1.399, allocations: 1.533 MB / 0.6152 GB, free: 163.5 MB / 474.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.007782/1.407, allocations: 1.961 MB / 0.6171 GB, free: 163.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009126/1.408, allocations: 372.8 kB / 0.6175 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.408, allocations: 3.125 kB / 0.6175 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/1.408, allocations: 196.1 kB / 0.6177 GB, free: 163 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.409, allocations: 231.1 kB / 0.6179 GB, free: 162.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.221/2.63, allocations: 0.6026 GB / 1.22 GB, free: 141.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/2.63, allocations: 401.8 kB / 1.221 GB, free: 141.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000679/2.631, allocations: 0.5156 MB / 1.221 GB, free: 141.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/2.631, allocations: 56.47 kB / 1.221 GB, free: 141.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.305e-06/2.631, allocations: 4 kB / 1.221 GB, free: 141.1 MB / 474.7 MB Notification: Performance of Templates: time 0.05625/2.688, allocations: 57.32 MB / 1.277 GB, free: 84 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] 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: 11.593275176011957]