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.001233/0.001233, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00215/0.003382, allocations: 449.7 kB / 10.37 MB, free: 328 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.001435/0.001435, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001944/0.003379, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.055/1.055, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1101/1.165, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2989/0.2989, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0289/0.3278, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.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.236e-06/3.236e-06, allocations: 1.125 kB / 290.6 MB, free: 7.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.224e-05, allocations: 6 kB / 290.7 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.0241/0.02412, allocations: 24.22 MB / 314.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009249/0.03337, allocations: 9.291 MB / 324.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.03347, allocations: 0 / 324.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.03379, allocations: 83.52 kB / 324.3 MB, free: 6.539 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01615/0.04993, allocations: 7.96 MB / 332.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.05054, allocations: 344.5 kB / 332.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.05109, allocations: 0.5139 MB / 333.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.05114, allocations: 10.56 kB / 333.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.0514, allocations: 271.3 kB / 333.3 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006056/0.05745, allocations: 5.428 MB / 338.8 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.27e-05/0.05749, allocations: 16 kB / 338.8 MB, free: 7.969 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01782/0.07532, allocations: 11.85 MB / 350.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.07541, allocations: 79.77 kB / 350.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.07553, allocations: 87.88 kB / 350.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.08632, allocations: 5.874 MB / 356.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/0.08634, allocations: 0 / 356.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08634, allocations: 4 kB / 356.7 MB, free: 6.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.08635, allocations: 3.938 kB / 356.7 MB, free: 6.043 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.003785/0.09014, allocations: 2.059 MB / 358.7 MB, free: 3.934 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.09018, allocations: 8.031 kB / 358.7 MB, free: 3.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.09033, allocations: 60.78 kB / 358.8 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.09058, allocations: 176.8 kB / 359 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.0906, allocations: 16.66 kB / 359 MB, free: 3.652 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.09064, allocations: 31.98 kB / 359 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.09107, allocations: 423.3 kB / 359.4 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.09108, allocations: 0 / 359.4 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.09111, allocations: 15.98 kB / 359.4 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.09115, allocations: 16.66 kB / 359.5 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005961/0.09174, allocations: 401.4 kB / 359.9 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.09295, allocations: 1.338 MB / 361.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.09334, allocations: 205.7 kB / 361.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/0.0934, allocations: 61.47 kB / 361.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005742/0.09914, allocations: 3.406 MB / 364.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.09942, allocations: 254.3 kB / 365.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.412e-06/0.09942, allocations: 0 / 365.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006498/0.1001, allocations: 331.6 kB / 365.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/0.1002, allocations: 269 kB / 365.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1003, allocations: 211.6 kB / 365.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.1003, allocations: 34.7 kB / 365.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.1004, allocations: 200 kB / 366.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/0.1004, allocations: 130.9 kB / 366.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1005, allocations: 114.2 kB / 366.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.1006, allocations: 330.8 kB / 366.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.018e-05/0.1007, allocations: 45.28 kB / 366.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.1011, allocations: 334.4 kB / 367.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.1015, allocations: 448.5 kB / 367.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.1015, allocations: 4 kB / 367.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005291/0.102, allocations: 373.1 kB / 367.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.102, allocations: 12 kB / 367.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.102, allocations: 8 kB / 367.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1021, allocations: 12 kB / 367.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.1024, allocations: 195.7 kB / 368.1 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002978/0.1027, allocations: 0.6059 MB / 368.7 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1029, allocations: 59.62 kB / 368.8 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.1029, allocations: 39.98 kB / 368.8 MB, free: 9.266 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.0001143/0.103, allocations: 156.4 kB / 369 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1031, allocations: 43.84 kB / 369 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.1037, allocations: 391.5 kB / 369.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1037, allocations: 4 kB / 369.4 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1037, allocations: 4.062 kB / 369.4 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1037, allocations: 0 / 369.4 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.1041, allocations: 401.7 kB / 369.8 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1041, allocations: 4 kB / 369.8 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.1043, allocations: 83.86 kB / 369.9 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.1043, allocations: 31.78 kB / 369.9 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1043, allocations: 4 kB / 369.9 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1044, allocations: 4 kB / 369.9 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002343/0.1046, allocations: 0.5898 MB / 370.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1046, allocations: 0 / 370.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.1049, allocations: 270 kB / 370.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.1049, allocations: 11.95 kB / 370.8 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.105, allocations: 15.98 kB / 370.8 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.105, allocations: 19.91 kB / 370.8 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.105, allocations: 15.98 kB / 370.8 MB, free: 7.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.903e-05/0.1051, allocations: 70.78 kB / 370.9 MB, free: 7.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1051, allocations: 0 / 370.9 MB, free: 7.043 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003731/0.1088, allocations: 1.457 MB / 372.3 MB, free: 5.582 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.003754/0.1126, allocations: 2.261 MB / 374.6 MB, free: 3.301 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.1129, allocations: 222.1 kB / 374.8 MB, free: 3.082 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/0.1129, allocations: 14.44 kB / 374.8 MB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.113, allocations: 70.41 kB / 374.9 MB, free: 3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1134, allocations: 164.7 kB / 375.1 MB, free: 2.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2927/0.406, allocations: 136.8 MB / 0.4999 GB, free: 64.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.862e-05/0.4061, allocations: 85.81 kB / 0.4999 GB, free: 64.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003536/0.4064, allocations: 123.9 kB / 0.5001 GB, free: 63.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.4067, allocations: 147.3 kB / 0.5002 GB, free: 63.83 MB / 426.7 MB Notification: Performance of SimCode: time 2.014e-06/0.4067, allocations: 5.203 kB / 0.5002 GB, free: 63.83 MB / 426.7 MB Notification: Performance of Templates: time 0.03976/0.4464, allocations: 46.28 MB / 0.5454 GB, free: 17.83 MB / 426.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 -ignoreHideResult -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.895203231833875]