Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.000969/0.000969, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002313, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000727/0.000727, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009773/0.001704, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.059/1.059, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09981/1.159, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.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.2599/0.2599, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03123/0.2911, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.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.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.6e-05, allocations: 8.812 kB / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03458/0.0346, allocations: 24.23 MB / 317.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0227/0.05731, allocations: 9.295 MB / 326.4 MB, free: 4.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.05752, allocations: 3.938 kB / 326.4 MB, free: 4.516 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.05786, allocations: 79.56 kB / 326.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0274/0.08526, allocations: 7.953 MB / 334.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.08588, allocations: 350.9 kB / 334.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006588/0.08654, allocations: 0.5082 MB / 335.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.0866, allocations: 22.44 kB / 335.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.08692, allocations: 259.4 kB / 335.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006359/0.09328, allocations: 5.428 MB / 341 MB, free: 5.891 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.006e-05/0.09335, allocations: 16 kB / 341 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01851/0.1119, allocations: 11.86 MB / 352.9 MB, free: 10 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.112, allocations: 83.77 kB / 352.9 MB, free: 9.918 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.1122, allocations: 91.88 kB / 353 MB, free: 9.828 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01692/0.1291, allocations: 5.858 MB / 358.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.501e-05/0.1291, allocations: 7.938 kB / 358.9 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1291, allocations: 0 / 358.9 MB, free: 3.949 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1291, allocations: 0 / 358.9 MB, free: 3.949 MB / 346.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.004173/0.1333, allocations: 2.055 MB / 361 MB, free: 1.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.1333, allocations: 12.03 kB / 361 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.1335, allocations: 44.84 kB / 361 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1337, allocations: 188.7 kB / 361.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1338, allocations: 20.64 kB / 361.2 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.1338, allocations: 32 kB / 361.2 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.1342, allocations: 419.3 kB / 361.7 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1342, allocations: 0 / 361.7 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.1343, allocations: 12 kB / 361.7 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.1343, allocations: 24.58 kB / 361.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.1347, allocations: 401.4 kB / 362.1 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.1359, allocations: 1.331 MB / 363.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.1363, allocations: 211.4 kB / 363.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.1364, allocations: 57.48 kB / 363.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005813/0.1422, allocations: 3.398 MB / 367.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.1425, allocations: 254.3 kB / 367.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.1425, allocations: 0 / 367.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001023/0.1435, allocations: 464.2 kB / 367.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.1436, allocations: 265.2 kB / 368 MB, free: 10.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1438, allocations: 215.6 kB / 368.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1438, allocations: 29.7 kB / 368.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.083e-05/0.1439, allocations: 204 kB / 368.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.1439, allocations: 130.9 kB / 368.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.016e-05/0.144, allocations: 106.2 kB / 368.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.1441, allocations: 346.6 kB / 369 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.1442, allocations: 41.28 kB / 369.1 MB, free: 9.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.1444, allocations: 326.5 kB / 369.4 MB, free: 8.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.1449, allocations: 470.1 kB / 369.9 MB, free: 8.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1449, allocations: 4 kB / 369.9 MB, free: 8.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005416/0.1454, allocations: 379.2 kB / 370.2 MB, free: 7.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1454, allocations: 8.969 kB / 370.2 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.1454, allocations: 12 kB / 370.3 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1455, allocations: 15.98 kB / 370.3 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.1459, allocations: 191.7 kB / 370.5 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002759/0.1461, allocations: 0.5938 MB / 371.1 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.1463, allocations: 67.52 kB / 371.1 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.1464, allocations: 35.98 kB / 371.2 MB, free: 7.039 MB / 362.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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.1465, allocations: 164.3 kB / 371.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.1466, allocations: 47.84 kB / 371.4 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004997/0.1471, allocations: 387.3 kB / 371.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1471, allocations: 4 kB / 371.7 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.1471, allocations: 8.094 kB / 371.8 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1471, allocations: 3.984 kB / 371.8 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.1475, allocations: 399.2 kB / 372.1 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1475, allocations: 0 / 372.1 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.1478, allocations: 87.86 kB / 372.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.1478, allocations: 27.78 kB / 372.3 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1478, allocations: 0 / 372.3 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1478, allocations: 11.98 kB / 372.3 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002201/0.148, allocations: 0.5899 MB / 372.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.148, allocations: 4 kB / 372.9 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1483, allocations: 255.5 kB / 373.1 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.1483, allocations: 15.95 kB / 373.1 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1485, allocations: 11.98 kB / 373.1 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.1485, allocations: 23.84 kB / 373.2 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.1485, allocations: 12 kB / 373.2 MB, free: 4.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.571e-05/0.1486, allocations: 74.77 kB / 373.3 MB, free: 4.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1486, allocations: 64 / 373.3 MB, free: 4.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003911/0.1525, allocations: 1.457 MB / 374.7 MB, free: 3.352 MB / 362.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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005363/0.1578, allocations: 2.26 MB / 377 MB, free: 1.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.1583, allocations: 217.3 kB / 377.2 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.253e-05/0.1583, allocations: 8.5 kB / 377.2 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.1585, allocations: 95.28 kB / 377.3 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.159, allocations: 0.4887 MB / 377.8 MB, free: 196 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3017/0.4607, allocations: 136.3 MB / 0.502 GB, free: 60.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.407e-05/0.4608, allocations: 89.31 kB / 0.5021 GB, free: 60.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004206/0.4612, allocations: 115.7 kB / 0.5022 GB, free: 59.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.4615, allocations: 139.3 kB / 0.5024 GB, free: 59.79 MB / 426.7 MB Notification: Performance of SimCode: time 2.234e-06/0.4615, allocations: 5.422 kB / 0.5024 GB, free: 59.79 MB / 426.7 MB Notification: Performance of Templates: time 0.04636/0.5078, allocations: 45.05 MB / 0.5464 GB, free: 15.02 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7058970388025045]