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.001933/0.001933, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001998/0.001998, allocations: 169.3 kB / 24.28 MB, free: 152 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.61/1.61, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3904/0.3904, allocations: 34.26 MB / 295.3 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 179] 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.593e-06/1.593e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.547e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04276/0.04279, allocations: 26.93 MB / 404.3 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0177/0.06049, allocations: 11 MB / 415.3 MB, free: 12.89 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.06065, allocations: 8 kB / 415.3 MB, free: 12.88 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004368/0.06109, allocations: 67.52 kB / 415.3 MB, free: 12.81 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02627/0.08735, allocations: 9.368 MB / 424.7 MB, free: 3.406 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.08878, allocations: 434.5 kB / 425.1 MB, free: 2.98 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.08991, allocations: 498.2 kB / 425.6 MB, free: 2.488 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.236e-05/0.08999, allocations: 12.59 kB / 425.6 MB, free: 2.477 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004812/0.09048, allocations: 255.2 kB / 425.9 MB, free: 2.227 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01313/0.1036, allocations: 6.03 MB / 431.9 MB, free: 12.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.059e-05/0.1037, allocations: 12 kB / 431.9 MB, free: 12.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2784/0.382, allocations: 12.52 MB / 444.4 MB, free: 60.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.3823, allocations: 96.78 kB / 444.5 MB, free: 60.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002721/0.3825, allocations: 109.9 kB / 444.6 MB, free: 60.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02414/0.4067, allocations: 8.333 MB / 453 MB, free: 60.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4067, allocations: 0.5625 kB / 453 MB, free: 60.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4067, allocations: 3.469 kB / 453 MB, free: 60.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.4067, allocations: 2.312 kB / 453 MB, free: 60.68 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.00556/0.4123, allocations: 1.63 MB / 454.6 MB, free: 59.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4123, allocations: 13.47 kB / 454.6 MB, free: 59.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.4126, allocations: 59.84 kB / 454.7 MB, free: 59.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.4129, allocations: 194.9 kB / 454.9 MB, free: 59.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.4129, allocations: 22.81 kB / 454.9 MB, free: 59.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.4129, allocations: 30.38 kB / 454.9 MB, free: 59.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000681/0.4136, allocations: 482.6 kB / 455.4 MB, free: 59.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.4136, allocations: 3.719 kB / 455.4 MB, free: 59.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.4137, allocations: 15.58 kB / 455.4 MB, free: 59.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/0.4137, allocations: 24.84 kB / 455.4 MB, free: 59.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008194/0.4145, allocations: 0.6123 MB / 456.1 MB, free: 59.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.4164, allocations: 1.85 MB / 457.9 MB, free: 58.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000705/0.4171, allocations: 263.4 kB / 458.2 MB, free: 58.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.4172, allocations: 95.83 kB / 458.3 MB, free: 58.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01245/0.4297, allocations: 3.695 MB / 461.9 MB, free: 57.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005057/0.4302, allocations: 303.2 kB / 462.2 MB, free: 57.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.726e-06/0.4302, allocations: 0 / 462.2 MB, free: 57.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002185/0.4324, allocations: 0.8265 MB / 463.1 MB, free: 57.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.4324, allocations: 270.9 kB / 463.3 MB, free: 56.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.4326, allocations: 284.5 kB / 463.6 MB, free: 56.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.4327, allocations: 36.17 kB / 463.6 MB, free: 56.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.4328, allocations: 254.8 kB / 463.9 MB, free: 56.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.65e-05/0.4328, allocations: 130.1 kB / 464 MB, free: 56.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.433, allocations: 132.7 kB / 464.2 MB, free: 56.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4331, allocations: 0.5078 MB / 464.7 MB, free: 55.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.4332, allocations: 81.94 kB / 464.7 MB, free: 55.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.4336, allocations: 484 kB / 465.2 MB, free: 55.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006449/0.4343, allocations: 0.6169 MB / 465.8 MB, free: 54.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4343, allocations: 0 / 465.8 MB, free: 54.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001081/0.4354, allocations: 0.5203 MB / 466.4 MB, free: 54.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.4354, allocations: 9.438 kB / 466.4 MB, free: 54.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.4354, allocations: 17.09 kB / 466.4 MB, free: 54.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.4354, allocations: 13.31 kB / 466.4 MB, free: 54.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.436, allocations: 180.7 kB / 466.6 MB, free: 54.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005898/0.4366, allocations: 1.812 MB / 468.4 MB, free: 52.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.4369, allocations: 28.02 kB / 468.4 MB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.4369, allocations: 45.58 kB / 468.5 MB, free: 52.84 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.0001492/0.4371, allocations: 208.3 kB / 468.7 MB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.4373, allocations: 55.61 kB / 468.7 MB, free: 52.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009628/0.4382, allocations: 0.534 MB / 469.2 MB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.4382, allocations: 0 / 469.2 MB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4383, allocations: 2.938 kB / 469.2 MB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4383, allocations: 0 / 469.2 MB, free: 52.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000858/0.4391, allocations: 0.6076 MB / 469.9 MB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4391, allocations: 7.219 kB / 469.9 MB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.4395, allocations: 83.08 kB / 469.9 MB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4395, allocations: 3.281 kB / 469.9 MB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.4395, allocations: 12.36 kB / 470 MB, free: 52.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000488/0.44, allocations: 1.795 MB / 471.8 MB, free: 50.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.44, allocations: 6.75 kB / 471.8 MB, free: 50.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.4405, allocations: 398 kB / 472.1 MB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.4406, allocations: 36.02 kB / 472.2 MB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.4406, allocations: 10.56 kB / 472.2 MB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.4409, allocations: 12.7 kB / 472.2 MB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.4409, allocations: 27.2 kB / 472.2 MB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.4409, allocations: 9.719 kB / 472.2 MB, free: 49.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.4411, allocations: 208.9 kB / 472.4 MB, free: 49.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4411, allocations: 0 / 472.4 MB, free: 49.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006194/0.4473, allocations: 1.714 MB / 474.2 MB, free: 49.58 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.009429/0.4567, allocations: 2.58 MB / 476.7 MB, free: 49.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.458, allocations: 347.3 kB / 477.1 MB, free: 49.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.458, allocations: 0.9844 kB / 477.1 MB, free: 49.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.4584, allocations: 134.9 kB / 477.2 MB, free: 49.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/0.4592, allocations: 125.5 kB / 477.3 MB, free: 49.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2278/0.6871, allocations: 141.2 MB / 0.604 GB, free: 10.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.6873, allocations: 146.6 kB / 0.6042 GB, free: 10.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007489/0.688, allocations: 139.7 kB / 0.6043 GB, free: 9.965 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.6883, allocations: 52.47 kB / 0.6044 GB, free: 9.914 MB / 474.7 MB Notification: Performance of SimCode: time 3.537e-06/0.6883, allocations: 0 / 0.6044 GB, free: 9.914 MB / 474.7 MB Notification: Performance of Templates: time 0.2818/0.9701, allocations: 48.44 MB / 0.6517 GB, free: 153.4 MB / 474.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.354522758978419]