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.001572/0.001572, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001494/0.001494, allocations: 172.5 kB / 24.82 MB, free: 9.316 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.188/1.188, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.3408/0.3408, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 179] 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.884e-06/1.884e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.634e-05, allocations: 2.312 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02463/0.02465, allocations: 23.8 MB / 400.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.03737, allocations: 9.105 MB / 409.4 MB, free: 3.348 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.03761, allocations: 7.938 kB / 409.4 MB, free: 3.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.03812, allocations: 71.59 kB / 409.5 MB, free: 3.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02429/0.06242, allocations: 8.721 MB / 418.2 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.06306, allocations: 358.9 kB / 418.6 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.06371, allocations: 0.5139 MB / 419.1 MB, free: 9.648 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.06377, allocations: 12.59 kB / 419.1 MB, free: 9.637 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.06411, allocations: 259.4 kB / 419.4 MB, free: 9.383 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006733/0.07085, allocations: 6.065 MB / 425.4 MB, free: 3.312 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.334e-05/0.07091, allocations: 16 kB / 425.4 MB, free: 3.297 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01897/0.08988, allocations: 11.15 MB / 436.6 MB, free: 8.129 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.08999, allocations: 103.6 kB / 436.7 MB, free: 8.027 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.09012, allocations: 111.8 kB / 436.8 MB, free: 7.918 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01695/0.1071, allocations: 7.517 MB / 444.3 MB, free: 392 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.1071, allocations: 0 / 444.3 MB, free: 392 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.1071, allocations: 3.938 kB / 444.3 MB, free: 388 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1071, allocations: 0 / 444.3 MB, free: 388 kB / 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.1846/0.2917, allocations: 1.533 MB / 445.8 MB, free: 67.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2917, allocations: 8.938 kB / 445.9 MB, free: 67.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.2919, allocations: 64.89 kB / 445.9 MB, free: 67.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.2921, allocations: 184.7 kB / 446.1 MB, free: 67.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2921, allocations: 22.42 kB / 446.1 MB, free: 67.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.2922, allocations: 28.09 kB / 446.2 MB, free: 67.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.2926, allocations: 440 kB / 446.6 MB, free: 66.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2926, allocations: 2.625 kB / 446.6 MB, free: 66.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.2926, allocations: 14.16 kB / 446.6 MB, free: 66.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.2926, allocations: 23.03 kB / 446.6 MB, free: 66.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.293, allocations: 422.6 kB / 447 MB, free: 66.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.294, allocations: 1.795 MB / 448.8 MB, free: 65.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.2944, allocations: 233.9 kB / 449.1 MB, free: 65.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.2944, allocations: 66.52 kB / 449.1 MB, free: 65.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005586/0.3, allocations: 3.539 MB / 452.7 MB, free: 65.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.3003, allocations: 277.6 kB / 452.9 MB, free: 64.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.3003, allocations: 0 / 452.9 MB, free: 64.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001146/0.3014, allocations: 0.5818 MB / 453.5 MB, free: 64.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.3015, allocations: 270.1 kB / 453.8 MB, free: 64.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3016, allocations: 282.4 kB / 454.1 MB, free: 64.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3016, allocations: 29.58 kB / 454.1 MB, free: 64.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.3017, allocations: 254.9 kB / 454.3 MB, free: 64.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.3017, allocations: 138 kB / 454.5 MB, free: 63.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.3018, allocations: 130 kB / 454.6 MB, free: 63.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.3019, allocations: 0.5102 MB / 455.1 MB, free: 63.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.302, allocations: 58.19 kB / 455.2 MB, free: 63.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.3022, allocations: 451.8 kB / 455.6 MB, free: 62.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.3027, allocations: 0.568 MB / 456.2 MB, free: 62.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3027, allocations: 3.219 kB / 456.2 MB, free: 62.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007052/0.3034, allocations: 467.4 kB / 456.6 MB, free: 62.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3034, allocations: 13.44 kB / 456.6 MB, free: 62.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3034, allocations: 13.12 kB / 456.7 MB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3034, allocations: 12.94 kB / 456.7 MB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003472/0.3038, allocations: 179.5 kB / 456.8 MB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003694/0.3041, allocations: 1.803 MB / 458.6 MB, free: 60.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.3043, allocations: 26.77 kB / 458.7 MB, free: 60.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.3043, allocations: 45.8 kB / 458.7 MB, free: 60.52 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 9.833e-05/0.3044, allocations: 201.5 kB / 458.9 MB, free: 60.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.3045, allocations: 55.42 kB / 459 MB, free: 60.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/0.3051, allocations: 492.7 kB / 459.4 MB, free: 60.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3051, allocations: 2.969 kB / 459.5 MB, free: 60.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.3051, allocations: 0 / 459.5 MB, free: 60.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3051, allocations: 3.938 kB / 459.5 MB, free: 60.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.3056, allocations: 0.529 MB / 460 MB, free: 59.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3056, allocations: 7.406 kB / 460 MB, free: 59.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.3058, allocations: 88.55 kB / 460.1 MB, free: 59.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3058, allocations: 3.219 kB / 460.1 MB, free: 59.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3058, allocations: 14.38 kB / 460.1 MB, free: 59.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002907/0.3061, allocations: 1.782 MB / 461.9 MB, free: 57.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3061, allocations: 3.469 kB / 461.9 MB, free: 57.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.3064, allocations: 378.2 kB / 462.2 MB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.3064, allocations: 22.61 kB / 462.3 MB, free: 57.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.3065, allocations: 13.88 kB / 462.3 MB, free: 57.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3066, allocations: 13.78 kB / 462.3 MB, free: 57.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.3066, allocations: 23.59 kB / 462.3 MB, free: 57.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.3066, allocations: 13.06 kB / 462.3 MB, free: 57.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.753e-05/0.3067, allocations: 194.4 kB / 462.5 MB, free: 57.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3067, allocations: 0 / 462.5 MB, free: 57.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003896/0.3106, allocations: 1.635 MB / 464.2 MB, free: 57.27 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.004614/0.3152, allocations: 2.482 MB / 466.6 MB, free: 56.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005918/0.3158, allocations: 306.5 kB / 466.9 MB, free: 56.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3158, allocations: 0 / 466.9 MB, free: 56.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.316, allocations: 115.4 kB / 467.1 MB, free: 56.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.3164, allocations: 129 kB / 467.2 MB, free: 56.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1223/0.4387, allocations: 142 MB / 0.5949 GB, free: 5.391 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.871e-05/0.4387, allocations: 96.19 kB / 0.595 GB, free: 5.277 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004303/0.4392, allocations: 117.7 kB / 0.5951 GB, free: 5.172 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.4394, allocations: 182.1 kB / 0.5953 GB, free: 4.996 MB / 458.7 MB Notification: Performance of SimCode: time 2.024e-06/0.4394, allocations: 0 / 0.5953 GB, free: 4.996 MB / 458.7 MB Notification: Performance of Templates: time 0.2076/0.647, allocations: 54.03 MB / 0.6481 GB, free: 126.5 MB / 474.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.267100374214351]