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.000979/0.000979, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001089/0.001089, allocations: 174.3 kB / 24.91 MB, free: 8.766 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2765/0.2765, allocations: 32.81 MB / 294.6 MB, free: 1.242 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 3.496e-06/3.496e-06, allocations: 0 / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.02e-05/5.37e-05, allocations: 4.844 kB / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04456/0.04462, allocations: 24.04 MB / 347.3 MB, free: 1.535 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01749/0.06211, allocations: 9.249 MB / 356.6 MB, free: 8.254 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.06249, allocations: 4 kB / 356.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.06302, allocations: 83.5 kB / 356.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01969/0.08271, allocations: 8.749 MB / 365.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.08344, allocations: 366.9 kB / 365.8 MB, free: 15.03 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.08401, allocations: 0.5099 MB / 366.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.336e-05/0.08407, allocations: 14.56 kB / 366.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.08436, allocations: 259.3 kB / 366.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006363/0.09072, allocations: 5.995 MB / 372.5 MB, free: 8.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.09076, allocations: 16 kB / 372.5 MB, free: 8.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01738/0.1081, allocations: 11.11 MB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1082, allocations: 91.72 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1084, allocations: 115.7 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.1218, allocations: 7.529 MB / 391.4 MB, free: 5.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1218, allocations: 0 / 391.4 MB, free: 5.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1218, allocations: 0 / 391.4 MB, free: 5.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1219, allocations: 0 / 391.4 MB, free: 5.352 MB / 362.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.002936/0.1248, allocations: 1.402 MB / 392.8 MB, free: 3.918 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1248, allocations: 8.031 kB / 392.8 MB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.125, allocations: 64.77 kB / 392.9 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.1252, allocations: 176.8 kB / 393 MB, free: 3.648 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1252, allocations: 16.66 kB / 393.1 MB, free: 3.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.1253, allocations: 28 kB / 393.1 MB, free: 3.605 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.1257, allocations: 423.3 kB / 393.5 MB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1257, allocations: 4 kB / 393.5 MB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.1257, allocations: 15.98 kB / 393.5 MB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.1258, allocations: 28.58 kB / 393.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.1261, allocations: 393.4 kB / 393.9 MB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.1272, allocations: 1.331 MB / 395.3 MB, free: 1.312 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.1276, allocations: 216.5 kB / 395.5 MB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.1277, allocations: 61.42 kB / 395.5 MB, free: 1.031 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005649/0.1333, allocations: 3.402 MB / 398.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.1336, allocations: 254.4 kB / 399.2 MB, free: 13.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.096e-06/0.1336, allocations: 0 / 399.2 MB, free: 13.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.000661/0.1343, allocations: 333.6 kB / 399.5 MB, free: 12.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.552e-05/0.1344, allocations: 266 kB / 399.8 MB, free: 12.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.1345, allocations: 211.6 kB / 400 MB, free: 12.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1345, allocations: 37.69 kB / 400 MB, free: 12.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.1346, allocations: 212 kB / 400.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.781e-05/0.1347, allocations: 122.9 kB / 400.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.1348, allocations: 114.2 kB / 400.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.1348, allocations: 330.8 kB / 400.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.905e-05/0.1349, allocations: 49.27 kB / 400.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.1351, allocations: 334.2 kB / 401.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.1355, allocations: 452.9 kB / 401.6 MB, free: 10.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1355, allocations: 4 kB / 401.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004954/0.136, allocations: 372.9 kB / 402 MB, free: 10.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.136, allocations: 8 kB / 402 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.136, allocations: 8 kB / 402 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.136, allocations: 15.98 kB / 402 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.1363, allocations: 160.5 kB / 402.1 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002367/0.1366, allocations: 0.6093 MB / 402.8 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.1367, allocations: 55.56 kB / 402.8 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.1368, allocations: 39.98 kB / 402.8 MB, free: 9.258 MB / 378.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.0001055/0.1369, allocations: 156.4 kB / 403 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.137, allocations: 47.78 kB / 403 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.1375, allocations: 395 kB / 403.4 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1375, allocations: 0 / 403.4 MB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1375, allocations: 4 kB / 403.4 MB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1375, allocations: 3.984 kB / 403.4 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.1379, allocations: 400.2 kB / 403.8 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1379, allocations: 4 kB / 403.8 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.1381, allocations: 71.88 kB / 403.9 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1381, allocations: 4 kB / 403.9 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1381, allocations: 8 kB / 403.9 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000248/0.1383, allocations: 0.5782 MB / 404.5 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1383, allocations: 192 / 404.5 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.1386, allocations: 275.4 kB / 404.8 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.1386, allocations: 31.81 kB / 404.8 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.1387, allocations: 15.94 kB / 404.8 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1388, allocations: 15.98 kB / 404.8 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.1388, allocations: 23.84 kB / 404.8 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1388, allocations: 19.92 kB / 404.9 MB, free: 7.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.267e-05/0.1389, allocations: 70.78 kB / 404.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1389, allocations: 0 / 404.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003563/0.1424, allocations: 1.43 MB / 406.4 MB, free: 5.598 MB / 378.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.004351/0.1468, allocations: 2.192 MB / 408.6 MB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005497/0.1473, allocations: 266.4 kB / 408.8 MB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.571e-05/0.1474, allocations: 8.5 kB / 408.8 MB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.1476, allocations: 93.45 kB / 408.9 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.148, allocations: 121.6 kB / 409 MB, free: 2.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2723/0.4204, allocations: 136.8 MB / 0.533 GB, free: 17.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.765e-05/0.4204, allocations: 85.81 kB / 0.5331 GB, free: 17.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004404/0.4209, allocations: 128.4 kB / 0.5332 GB, free: 17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.4211, allocations: 147.3 kB / 0.5334 GB, free: 16.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.993e-06/0.4211, allocations: 0 / 0.5334 GB, free: 16.87 MB / 410.7 MB Notification: Performance of Templates: time 0.04159/0.4627, allocations: 45.84 MB / 0.5781 GB, free: 3.301 MB / 442.7 MB " [Timeout remaining time 660] 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: 6.846830809023231]