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.001825/0.001825, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.001974/0.001974, allocations: 161.3 kB / 24.27 MB, free: 136 kB / 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.68/1.68, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3688/0.3688, allocations: 32.8 MB / 293.9 MB, free: 1.211 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 2.003e-06/2.003e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.469e-05, allocations: 9.766 kB / 375.3 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04238/0.04242, allocations: 26.94 MB / 402.2 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.06027, allocations: 10.98 MB / 413.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.06048, allocations: 7.938 kB / 413.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.06095, allocations: 63.58 kB / 413.3 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02763/0.08858, allocations: 9.387 MB / 422.7 MB, free: 5.402 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.08982, allocations: 426.6 kB / 423.1 MB, free: 4.984 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007893/0.09061, allocations: 0.4943 MB / 423.6 MB, free: 4.484 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.09067, allocations: 8.594 kB / 423.6 MB, free: 4.477 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.09109, allocations: 259.3 kB / 423.9 MB, free: 4.223 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01299/0.1041, allocations: 6.034 MB / 429.9 MB, free: 14.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.864e-05/0.1042, allocations: 12 kB / 429.9 MB, free: 14.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02958/0.1338, allocations: 12.52 MB / 442.4 MB, free: 1.633 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.134, allocations: 103.6 kB / 442.5 MB, free: 1.531 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.1342, allocations: 103.8 kB / 442.6 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2865/0.4208, allocations: 8.331 MB / 451 MB, free: 62.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.4208, allocations: 0.875 kB / 451 MB, free: 62.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.4208, allocations: 0 / 451 MB, free: 62.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.4208, allocations: 0.7188 kB / 451 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.007968/0.4288, allocations: 1.639 MB / 452.6 MB, free: 61.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.4288, allocations: 9.312 kB / 452.6 MB, free: 61.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000442/0.4293, allocations: 59.28 kB / 452.7 MB, free: 61.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.4298, allocations: 184 kB / 452.8 MB, free: 60.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/0.4298, allocations: 26.25 kB / 452.9 MB, free: 60.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.4299, allocations: 32.39 kB / 452.9 MB, free: 60.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.4309, allocations: 479.7 kB / 453.4 MB, free: 60.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.4309, allocations: 4.422 kB / 453.4 MB, free: 60.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.431, allocations: 17.97 kB / 453.4 MB, free: 60.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/0.431, allocations: 21.44 kB / 453.4 MB, free: 60.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.4323, allocations: 0.6133 MB / 454 MB, free: 60.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.435, allocations: 1.859 MB / 455.9 MB, free: 59.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/0.4357, allocations: 253.9 kB / 456.1 MB, free: 59.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.4359, allocations: 94.91 kB / 456.2 MB, free: 59.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01354/0.4494, allocations: 3.696 MB / 459.9 MB, free: 58.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005805/0.45, allocations: 303.7 kB / 460.2 MB, free: 58.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 4.148e-06/0.45, allocations: 0 / 460.2 MB, free: 58.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002529/0.4525, allocations: 0.8289 MB / 461 MB, free: 58.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.4526, allocations: 274.3 kB / 461.3 MB, free: 58.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.4529, allocations: 289.4 kB / 461.6 MB, free: 57.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.4529, allocations: 35.73 kB / 461.6 MB, free: 57.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.453, allocations: 256.2 kB / 461.9 MB, free: 57.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.4531, allocations: 137.2 kB / 462 MB, free: 57.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.4533, allocations: 132.7 kB / 462.1 MB, free: 57.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4534, allocations: 0.5078 MB / 462.7 MB, free: 57.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.4536, allocations: 80.39 kB / 462.7 MB, free: 57.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.454, allocations: 480.7 kB / 463.2 MB, free: 56.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.4547, allocations: 0.6186 MB / 463.8 MB, free: 56.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.4548, allocations: 3.406 kB / 463.8 MB, free: 56.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001264/0.456, allocations: 0.5199 MB / 464.3 MB, free: 56.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.456, allocations: 10.3 kB / 464.4 MB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.4561, allocations: 9.688 kB / 464.4 MB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.4561, allocations: 13.44 kB / 464.4 MB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006581/0.4567, allocations: 178.3 kB / 464.6 MB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005954/0.4573, allocations: 1.819 MB / 466.4 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.4577, allocations: 20.8 kB / 466.4 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/0.4578, allocations: 49.75 kB / 466.4 MB, free: 54.23 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.0002318/0.458, allocations: 207.2 kB / 466.6 MB, free: 54.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.4583, allocations: 48.89 kB / 466.7 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009631/0.4593, allocations: 0.5294 MB / 467.2 MB, free: 53.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4593, allocations: 3.219 kB / 467.2 MB, free: 53.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4593, allocations: 0 / 467.2 MB, free: 53.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.4593, allocations: 0 / 467.2 MB, free: 53.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009076/0.4602, allocations: 0.606 MB / 467.8 MB, free: 53.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.4602, allocations: 3.844 kB / 467.8 MB, free: 53.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.4606, allocations: 86.3 kB / 467.9 MB, free: 53.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.4606, allocations: 3.281 kB / 467.9 MB, free: 53.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.4606, allocations: 10.56 kB / 467.9 MB, free: 53.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005503/0.4611, allocations: 1.804 MB / 469.7 MB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.4611, allocations: 3.422 kB / 469.7 MB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/0.4618, allocations: 404.2 kB / 470.1 MB, free: 51.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.4619, allocations: 28.48 kB / 470.2 MB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.4619, allocations: 10.75 kB / 470.2 MB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.4622, allocations: 14.8 kB / 470.2 MB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.4622, allocations: 19.44 kB / 470.2 MB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.4623, allocations: 19.95 kB / 470.2 MB, free: 51.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.4624, allocations: 209.8 kB / 470.4 MB, free: 51.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4624, allocations: 0 / 470.4 MB, free: 51.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006775/0.4692, allocations: 1.712 MB / 472.1 MB, free: 50.96 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.009538/0.4787, allocations: 2.58 MB / 474.7 MB, free: 50.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.48, allocations: 348.6 kB / 475.1 MB, free: 50.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.48, allocations: 0.625 kB / 475.1 MB, free: 50.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.4804, allocations: 135.5 kB / 475.2 MB, free: 50.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008434/0.4812, allocations: 118.3 kB / 475.3 MB, free: 50.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4196/0.9008, allocations: 141.2 MB / 0.6021 GB, free: 150.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.901, allocations: 151 kB / 0.6022 GB, free: 150.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006481/0.9017, allocations: 136.2 kB / 0.6023 GB, free: 150.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.9018, allocations: 51.58 kB / 0.6024 GB, free: 150.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.394e-06/0.9018, allocations: 0 / 0.6024 GB, free: 150.8 MB / 458.7 MB Notification: Performance of Templates: time 0.1093/1.011, allocations: 48.46 MB / 0.6497 GB, free: 127.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.459615219035186]