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.001346/0.001346, allocations: 81.86 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.001048/0.001048, allocations: 166.6 kB / 24.82 MB, free: 8.77 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.3015/0.3015, allocations: 34.26 MB / 296.1 MB, free: 0.6602 MB / 266.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.914e-06/1.914e-06, allocations: 0 / 378.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.256e-05, allocations: 5.688 kB / 378.5 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02406/0.02408, allocations: 23.8 MB / 402.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.03509, allocations: 9.097 MB / 411.4 MB, free: 1.309 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.03523, allocations: 7.938 kB / 411.4 MB, free: 1.301 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.03569, allocations: 75.58 kB / 411.5 MB, free: 1.227 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02255/0.05824, allocations: 8.709 MB / 420.2 MB, free: 8.484 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.05902, allocations: 358.9 kB / 420.6 MB, free: 8.133 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006412/0.05966, allocations: 0.51 MB / 421.1 MB, free: 7.621 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.144e-05/0.05972, allocations: 12.58 kB / 421.1 MB, free: 7.609 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.06003, allocations: 263.3 kB / 421.4 MB, free: 7.352 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008107/0.06814, allocations: 6.069 MB / 427.4 MB, free: 1.277 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.06818, allocations: 16 kB / 427.4 MB, free: 1.262 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0204/0.08858, allocations: 11.16 MB / 438.6 MB, free: 6.086 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.0887, allocations: 103.7 kB / 438.7 MB, free: 5.984 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.08886, allocations: 111.8 kB / 438.8 MB, free: 5.875 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2851/0.374, allocations: 7.516 MB / 446.3 MB, free: 65.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.374, allocations: 0 / 446.3 MB, free: 65.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.374, allocations: 1.094 kB / 446.3 MB, free: 65.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.374, allocations: 0 / 446.3 MB, free: 65.41 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.004304/0.3783, allocations: 1.537 MB / 447.9 MB, free: 64.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3783, allocations: 7.969 kB / 447.9 MB, free: 64.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.3785, allocations: 65.59 kB / 447.9 MB, free: 64.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3787, allocations: 182.2 kB / 448.1 MB, free: 64.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3788, allocations: 24.91 kB / 448.1 MB, free: 64.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.3788, allocations: 34.5 kB / 448.2 MB, free: 64.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.3792, allocations: 437.8 kB / 448.6 MB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3792, allocations: 0 / 448.6 MB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.3793, allocations: 13.69 kB / 448.6 MB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.3793, allocations: 25.14 kB / 448.6 MB, free: 64.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.3797, allocations: 421.2 kB / 449 MB, free: 64.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.3809, allocations: 1.791 MB / 450.8 MB, free: 63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.3813, allocations: 236.7 kB / 451.1 MB, free: 62.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.3814, allocations: 76.48 kB / 451.1 MB, free: 62.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006237/0.3876, allocations: 3.529 MB / 454.7 MB, free: 62.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.3879, allocations: 278.4 kB / 454.9 MB, free: 62.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.294e-06/0.3879, allocations: 0 / 454.9 MB, free: 62.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001316/0.3893, allocations: 0.571 MB / 455.5 MB, free: 62.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.3893, allocations: 275.7 kB / 455.8 MB, free: 61.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3895, allocations: 286.3 kB / 456.1 MB, free: 61.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.3895, allocations: 36.11 kB / 456.1 MB, free: 61.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.414e-05/0.3896, allocations: 248.1 kB / 456.3 MB, free: 61.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.3896, allocations: 142.5 kB / 456.5 MB, free: 61.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3898, allocations: 128.7 kB / 456.6 MB, free: 61.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3899, allocations: 0.511 MB / 457.1 MB, free: 60.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.3899, allocations: 48.94 kB / 457.2 MB, free: 60.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.3902, allocations: 461.9 kB / 457.6 MB, free: 60.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.3907, allocations: 0.5565 MB / 458.2 MB, free: 59.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.3907, allocations: 3.031 kB / 458.2 MB, free: 59.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007051/0.3914, allocations: 470.4 kB / 458.6 MB, free: 59.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.3914, allocations: 14.25 kB / 458.7 MB, free: 59.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.3914, allocations: 9.781 kB / 458.7 MB, free: 59.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.3914, allocations: 16.62 kB / 458.7 MB, free: 59.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.3918, allocations: 177.8 kB / 458.9 MB, free: 59.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004593/0.3922, allocations: 1.807 MB / 460.7 MB, free: 57.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.3924, allocations: 23.89 kB / 460.7 MB, free: 57.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.3925, allocations: 43.78 kB / 460.7 MB, free: 57.89 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.000123/0.3926, allocations: 205.1 kB / 460.9 MB, free: 57.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3927, allocations: 55.8 kB / 461 MB, free: 57.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005638/0.3933, allocations: 491 kB / 461.5 MB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3933, allocations: 3.188 kB / 461.5 MB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3933, allocations: 6.016 kB / 461.5 MB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3933, allocations: 0 / 461.5 MB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.3938, allocations: 0.5259 MB / 462 MB, free: 57.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3938, allocations: 6.75 kB / 462 MB, free: 57.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.394, allocations: 86.72 kB / 462.1 MB, free: 57.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.394, allocations: 6.375 kB / 462.1 MB, free: 57.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.394, allocations: 14.06 kB / 462.1 MB, free: 57.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003389/0.3944, allocations: 1.784 MB / 463.9 MB, free: 55.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3944, allocations: 6.875 kB / 463.9 MB, free: 55.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.3947, allocations: 369.4 kB / 464.3 MB, free: 55.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.3947, allocations: 27.8 kB / 464.3 MB, free: 55.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.3948, allocations: 10.41 kB / 464.3 MB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3949, allocations: 16.77 kB / 464.3 MB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3949, allocations: 22.2 kB / 464.3 MB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.3949, allocations: 12.19 kB / 464.3 MB, free: 55.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.556e-05/0.395, allocations: 194.9 kB / 464.5 MB, free: 54.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.395, allocations: 0 / 464.5 MB, free: 54.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005047/0.4001, allocations: 1.638 MB / 466.2 MB, free: 54.64 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.00477/0.4048, allocations: 2.489 MB / 468.7 MB, free: 54.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005462/0.4054, allocations: 293.7 kB / 468.9 MB, free: 54.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.4054, allocations: 10.38 kB / 469 MB, free: 54.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.4056, allocations: 109.6 kB / 469.1 MB, free: 54.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.406, allocations: 127.9 kB / 469.2 MB, free: 54.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1499/0.5559, allocations: 142 MB / 0.5969 GB, free: 2.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.58e-05/0.556, allocations: 100.1 kB / 0.597 GB, free: 2.113 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004658/0.5565, allocations: 122.6 kB / 0.5971 GB, free: 2.004 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.5567, allocations: 178.1 kB / 0.5973 GB, free: 1.832 MB / 458.7 MB Notification: Performance of SimCode: time 2.254e-06/0.5567, allocations: 0 / 0.5973 GB, free: 1.832 MB / 458.7 MB Notification: Performance of Templates: time 0.2747/0.8314, allocations: 54.01 MB / 0.65 GB, free: 123.5 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","",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.105906921904534]