Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.001033/0.001033, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001185/0.001185, allocations: 166.2 kB / 24.99 MB, free: 8.883 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 1.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2827/0.2827, allocations: 32.81 MB / 294.6 MB, free: 1.289 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.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,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|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 376.1 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.39e-05, allocations: 5.828 kB / 376.1 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02741/0.02744, allocations: 26.98 MB / 403 MB, free: 9.863 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01474/0.04218, allocations: 10.99 MB / 414 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.04243, allocations: 0 / 414 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.04294, allocations: 75.52 kB / 414.1 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02941/0.07235, allocations: 9.376 MB / 423.5 MB, free: 5.355 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.07379, allocations: 430.6 kB / 423.9 MB, free: 4.934 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.07511, allocations: 0.4904 MB / 424.4 MB, free: 4.438 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.0752, allocations: 16.58 kB / 424.4 MB, free: 4.422 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.07576, allocations: 255.3 kB / 424.6 MB, free: 4.172 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.08779, allocations: 6.026 MB / 430.7 MB, free: 14.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.08791, allocations: 16 kB / 430.7 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02231/0.1102, allocations: 12.52 MB / 443.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.1104, allocations: 95.7 kB / 443.3 MB, free: 1.488 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.1106, allocations: 115.7 kB / 443.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2241/0.3347, allocations: 8.271 MB / 451.7 MB, free: 62.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3347, allocations: 2.5 kB / 451.7 MB, free: 62.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3347, allocations: 2.812 kB / 451.7 MB, free: 62.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3347, allocations: 0 / 451.7 MB, free: 62.04 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005149/0.3399, allocations: 1.639 MB / 453.3 MB, free: 61.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3399, allocations: 9.469 kB / 453.3 MB, free: 61.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.3402, allocations: 64.03 kB / 453.4 MB, free: 61.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3405, allocations: 184.8 kB / 453.6 MB, free: 60.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.3405, allocations: 25.45 kB / 453.6 MB, free: 60.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.3405, allocations: 32.39 kB / 453.6 MB, free: 60.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.3412, allocations: 463.9 kB / 454.1 MB, free: 60.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3412, allocations: 0.8438 kB / 454.1 MB, free: 60.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.3412, allocations: 10.31 kB / 454.1 MB, free: 60.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/0.3413, allocations: 26.88 kB / 454.1 MB, free: 60.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006586/0.3419, allocations: 0.4893 MB / 454.6 MB, free: 60.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3435, allocations: 1.825 MB / 456.4 MB, free: 59.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/0.3441, allocations: 250.1 kB / 456.7 MB, free: 59.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3442, allocations: 79.69 kB / 456.8 MB, free: 59.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008292/0.3525, allocations: 3.684 MB / 460.4 MB, free: 58.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.3529, allocations: 287.7 kB / 460.7 MB, free: 58.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.335e-06/0.3529, allocations: 1.641 kB / 460.7 MB, free: 58.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002041/0.355, allocations: 0.7791 MB / 461.5 MB, free: 58.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.3551, allocations: 266.8 kB / 461.8 MB, free: 58.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.3552, allocations: 285.4 kB / 462 MB, free: 57.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3553, allocations: 36.42 kB / 462.1 MB, free: 57.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/0.3554, allocations: 248.2 kB / 462.3 MB, free: 57.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.3554, allocations: 134.8 kB / 462.5 MB, free: 57.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3556, allocations: 133.8 kB / 462.6 MB, free: 57.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.3557, allocations: 0.5035 MB / 463.1 MB, free: 57.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.3558, allocations: 70.06 kB / 463.2 MB, free: 57.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.3561, allocations: 462.3 kB / 463.6 MB, free: 56.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.3568, allocations: 0.5827 MB / 464.2 MB, free: 56.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3568, allocations: 3.094 kB / 464.2 MB, free: 56.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001093/0.3579, allocations: 0.4958 MB / 464.7 MB, free: 56.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.3579, allocations: 9.812 kB / 464.7 MB, free: 56.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3579, allocations: 9.875 kB / 464.7 MB, free: 56.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.3579, allocations: 10.22 kB / 464.7 MB, free: 56.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.3584, allocations: 180.7 kB / 464.9 MB, free: 56.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005037/0.3589, allocations: 1.809 MB / 466.7 MB, free: 54.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.3592, allocations: 21.03 kB / 466.7 MB, free: 54.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.3593, allocations: 48.31 kB / 466.8 MB, free: 54.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.3594, allocations: 197.7 kB / 467 MB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.3596, allocations: 58.77 kB / 467 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008467/0.3605, allocations: 0.494 MB / 467.5 MB, free: 53.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3605, allocations: 3.281 kB / 467.5 MB, free: 53.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3605, allocations: 0 / 467.5 MB, free: 53.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3605, allocations: 6.609 kB / 467.5 MB, free: 53.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/0.3613, allocations: 0.578 MB / 468.1 MB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3613, allocations: 1.641 kB / 468.1 MB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.3617, allocations: 89.42 kB / 468.2 MB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.3617, allocations: 3.344 kB / 468.2 MB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.3617, allocations: 6.875 kB / 468.2 MB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003115/0.362, allocations: 1.79 MB / 470 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.362, allocations: 4.031 kB / 470 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.3625, allocations: 391.9 kB / 470.4 MB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.3626, allocations: 29.62 kB / 470.4 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.3626, allocations: 7.219 kB / 470.4 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.3628, allocations: 14.09 kB / 470.4 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3628, allocations: 27.69 kB / 470.5 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.3629, allocations: 9.781 kB / 470.5 MB, free: 51.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.363, allocations: 201.8 kB / 470.7 MB, free: 51.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.363, allocations: 0 / 470.7 MB, free: 51.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005306/0.3683, allocations: 1.719 MB / 472.4 MB, free: 50.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009579/0.3779, allocations: 2.582 MB / 475 MB, free: 50.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.379, allocations: 313 kB / 475.3 MB, free: 50.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.379, allocations: 0 / 475.3 MB, free: 50.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003618/0.3794, allocations: 122.1 kB / 475.4 MB, free: 50.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.3801, allocations: 129.6 kB / 475.5 MB, free: 50.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3197/0.6998, allocations: 141.2 MB / 0.6023 GB, free: 151.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.618e-05/0.6999, allocations: 90.86 kB / 0.6023 GB, free: 151.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004419/0.7003, allocations: 139 kB / 0.6025 GB, free: 151.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.7004, allocations: 58.34 kB / 0.6025 GB, free: 151.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.392e-06/0.7004, allocations: 3.969 kB / 0.6025 GB, free: 151.4 MB / 458.7 MB Notification: Performance of Templates: time 0.05412/0.7546, allocations: 48.45 MB / 0.6499 GB, free: 128.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.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.996658822055906]