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.0009705/0.0009705, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009552/0.0009552, allocations: 164.9 kB / 25.61 MB, free: 8.902 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 0.9184/0.9184, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1433/0.1433, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] 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.663e-06/1.663e-06, allocations: 3.938 kB / 379.3 MB, free: 23.36 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/1.014e-05, allocations: 2.312 kB / 379.3 MB, free: 23.36 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.01602/0.01603, allocations: 23.79 MB / 403.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008191/0.02422, allocations: 9.105 MB / 412.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.02433, allocations: 4 kB / 412.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.02468, allocations: 79.52 kB / 412.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0162/0.04088, allocations: 8.701 MB / 421 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.04144, allocations: 366.9 kB / 421.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005645/0.042, allocations: 0.51 MB / 421.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.04205, allocations: 8.594 kB / 421.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002922/0.04235, allocations: 263.3 kB / 422.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006518/0.04887, allocations: 6.042 MB / 428.2 MB, free: 6.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.04891, allocations: 16 kB / 428.2 MB, free: 6.316 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01629/0.06521, allocations: 11.15 MB / 439.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.06532, allocations: 99.69 kB / 439.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.06546, allocations: 111.8 kB / 439.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.07883, allocations: 7.529 MB / 447.1 MB, free: 3.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.07883, allocations: 0 / 447.1 MB, free: 3.395 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.07884, allocations: 0 / 447.1 MB, free: 3.395 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.07884, allocations: 0 / 447.1 MB, free: 3.395 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.002491/0.08133, allocations: 1.542 MB / 448.6 MB, free: 1.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.08137, allocations: 8.031 kB / 448.6 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.08152, allocations: 64.69 kB / 448.7 MB, free: 1.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.08173, allocations: 187.6 kB / 448.9 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.08175, allocations: 20.66 kB / 448.9 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.08179, allocations: 31.98 kB / 448.9 MB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.08221, allocations: 431.1 kB / 449.4 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.08222, allocations: 4 kB / 449.4 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.08225, allocations: 15.98 kB / 449.4 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.08228, allocations: 20.64 kB / 449.4 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.08267, allocations: 426.5 kB / 449.8 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.08414, allocations: 1.789 MB / 451.6 MB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.08453, allocations: 236.2 kB / 451.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/0.08459, allocations: 80.22 kB / 451.9 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005756/0.09035, allocations: 3.4 MB / 455.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.09062, allocations: 281.6 kB / 455.6 MB, free: 10.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.09063, allocations: 0 / 455.6 MB, free: 10.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001147/0.09177, allocations: 0.5781 MB / 456.2 MB, free: 9.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.09186, allocations: 273 kB / 456.4 MB, free: 9.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.09199, allocations: 282.8 kB / 456.7 MB, free: 9.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.09201, allocations: 29.7 kB / 456.7 MB, free: 9.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/0.09211, allocations: 250.8 kB / 457 MB, free: 9.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.09217, allocations: 134.9 kB / 457.1 MB, free: 8.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.09227, allocations: 135.8 kB / 457.2 MB, free: 8.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.09239, allocations: 0.5118 MB / 457.8 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.09246, allocations: 53.25 kB / 457.8 MB, free: 8.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.09302, allocations: 449.2 kB / 458.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.09345, allocations: 0.5675 MB / 458.8 MB, free: 6.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.09345, allocations: 4 kB / 458.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006529/0.09411, allocations: 469.4 kB / 459.3 MB, free: 6.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.09412, allocations: 8 kB / 459.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.619e-06/0.09413, allocations: 16.09 kB / 459.3 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.09415, allocations: 12 kB / 459.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.09448, allocations: 183.8 kB / 459.5 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005061/0.09499, allocations: 1.798 MB / 461.3 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.09513, allocations: 31.88 kB / 461.3 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.09517, allocations: 43.98 kB / 461.4 MB, free: 4.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 (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.0001072/0.09528, allocations: 196.3 kB / 461.6 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.0954, allocations: 59.8 kB / 461.6 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005381/0.09594, allocations: 485.8 kB / 462.1 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.09594, allocations: 11.88 kB / 462.1 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.09594, allocations: 0 / 462.1 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.09595, allocations: 7.984 kB / 462.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.09644, allocations: 0.5224 MB / 462.6 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.09644, allocations: 160 / 462.6 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.09664, allocations: 91.86 kB / 462.7 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.09665, allocations: 4 kB / 462.7 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.09666, allocations: 11.98 kB / 462.7 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00045/0.09711, allocations: 1.79 MB / 464.5 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.09711, allocations: 7.938 kB / 464.5 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.09745, allocations: 361.9 kB / 464.9 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.09747, allocations: 27.78 kB / 464.9 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.0975, allocations: 20.05 kB / 464.9 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.09762, allocations: 11.98 kB / 464.9 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.09765, allocations: 23.91 kB / 465 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.09767, allocations: 19.98 kB / 465 MB, free: 428 kB / 378.7 MB Notification: Performance of sorting global known variables: time 8.456e-05/0.09775, allocations: 189.1 kB / 465.2 MB, free: 232 kB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09775, allocations: 0 / 465.2 MB, free: 232 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.003287/0.101, allocations: 1.632 MB / 466.8 MB, free: 14.59 MB / 394.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.004412/0.1054, allocations: 2.481 MB / 469.3 MB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.106, allocations: 305.5 kB / 469.6 MB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.106, allocations: 4.062 kB / 469.6 MB, free: 11.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.1062, allocations: 119.5 kB / 469.7 MB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.1066, allocations: 131.8 kB / 469.8 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.247/0.3536, allocations: 141.8 MB / 0.5973 GB, free: 2.445 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.825e-05/0.3536, allocations: 89.81 kB / 0.5974 GB, free: 2.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003896/0.354, allocations: 123.8 kB / 0.5975 GB, free: 2.227 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.3542, allocations: 170.7 kB / 0.5977 GB, free: 2.066 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3543, allocations: 0 / 0.5977 GB, free: 2.066 MB / 410.7 MB Notification: Performance of Templates: time 0.06347/0.4177, allocations: 54.07 MB / 0.6505 GB, free: 12.27 MB / 474.7 MB " [Timeout remaining time 660] 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","",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.416761277243495]