Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 102.1 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2361/0.2361, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002794/0.002794, allocations: 71.39 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1548, allocations: 57.8 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03334/0.1882, allocations: 27.17 MB / 467.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01651/0.2048, allocations: 13.1 MB / 480.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.205, allocations: 0 / 480.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.2055, allocations: 83.48 kB / 480.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02699/0.2325, allocations: 8.569 MB / 489.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.2338, allocations: 417.4 kB / 489.8 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009487/0.2348, allocations: 494.4 kB / 490.3 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.853e-05/0.2349, allocations: 16.3 kB / 490.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004434/0.2353, allocations: 191.3 kB / 490.5 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01238/0.2477, allocations: 6.004 MB / 496.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.2479, allocations: 19.88 kB / 496.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03262/0.2805, allocations: 12.88 MB / 0.4975 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.2808, allocations: 91.67 kB / 0.4976 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003313/0.2811, allocations: 139.4 kB / 0.4977 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02922/0.3104, allocations: 6.585 MB / 0.5041 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3104, allocations: 0 / 0.5041 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.3104, allocations: 0 / 0.5041 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.3104, allocations: 0 / 0.5041 GB, free: 10.97 MB / 398.1 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.006803/0.3173, allocations: 1.521 MB / 0.5056 GB, free: 9.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.3173, allocations: 11.89 kB / 0.5056 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.3176, allocations: 35.66 kB / 0.5057 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.3181, allocations: 234.7 kB / 0.5059 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.3181, allocations: 28.55 kB / 0.5059 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.3182, allocations: 28 kB / 0.506 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3192, allocations: 0.513 MB / 0.5065 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.3193, allocations: 11.88 kB / 0.5065 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.3193, allocations: 12 kB / 0.5065 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.3194, allocations: 24.55 kB / 0.5065 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.3206, allocations: 0.9193 MB / 0.5074 GB, free: 7.52 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.3234, allocations: 1.894 MB / 0.5092 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008452/0.3243, allocations: 283.3 kB / 0.5095 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.3245, allocations: 101.5 kB / 0.5096 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02282/0.3473, allocations: 15.68 MB / 0.5249 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007088/0.3481, allocations: 248.2 kB / 0.5252 GB, free: 2.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 5.851e-06/0.3481, allocations: 0 / 0.5252 GB, free: 2.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00272/0.3508, allocations: 0.7922 MB / 0.5259 GB, free: 1.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.351, allocations: 261 kB / 0.5262 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.3513, allocations: 202.5 kB / 0.5264 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.3514, allocations: 41.69 kB / 0.5264 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.3515, allocations: 191.4 kB / 0.5266 GB, free: 0.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.3516, allocations: 122.3 kB / 0.5267 GB, free: 432 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.3518, allocations: 130 kB / 0.5268 GB, free: 296 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.3359/0.6877, allocations: 331.8 kB / 0.5272 GB, free: 90.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/0.6883, allocations: 92.05 kB / 0.5272 GB, free: 90.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008153/0.6891, allocations: 362.2 kB / 0.5276 GB, free: 90.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.6903, allocations: 0.5037 MB / 0.5281 GB, free: 90.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/0.6903, allocations: 5.875 kB / 0.5281 GB, free: 90.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00161/0.6919, allocations: 0.5004 MB / 0.5286 GB, free: 90.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.692, allocations: 13.44 kB / 0.5286 GB, free: 90.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.692, allocations: 10.03 kB / 0.5286 GB, free: 90.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.737e-05/0.6921, allocations: 12.66 kB / 0.5286 GB, free: 90.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/0.6929, allocations: 185.4 kB / 0.5288 GB, free: 90.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008594/0.6938, allocations: 1.19 MB / 0.53 GB, free: 89.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.6942, allocations: 22.72 kB / 0.53 GB, free: 89.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.6943, allocations: 49.61 kB / 0.53 GB, free: 89.01 MB / 414.1 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.0003585/0.6947, allocations: 167.7 kB / 0.5302 GB, free: 88.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.6949, allocations: 36.75 kB / 0.5302 GB, free: 88.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.696, allocations: 475.8 kB / 0.5307 GB, free: 88.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.696, allocations: 8.625 kB / 0.5307 GB, free: 88.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6961, allocations: 1.25 kB / 0.5307 GB, free: 88.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6961, allocations: 1.312 kB / 0.5307 GB, free: 88.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.6971, allocations: 0.6045 MB / 0.5313 GB, free: 88.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6971, allocations: 2.234 kB / 0.5313 GB, free: 88.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.6975, allocations: 91.19 kB / 0.5314 GB, free: 88.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.6975, allocations: 2.656 kB / 0.5314 GB, free: 88.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.6976, allocations: 12.28 kB / 0.5314 GB, free: 88.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004055/0.698, allocations: 1.172 MB / 0.5325 GB, free: 87.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.698, allocations: 1.156 kB / 0.5325 GB, free: 87.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.6986, allocations: 328.9 kB / 0.5328 GB, free: 87.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.6987, allocations: 102.6 kB / 0.5329 GB, free: 86.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.6987, allocations: 8.812 kB / 0.5329 GB, free: 86.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.6989, allocations: 13.84 kB / 0.533 GB, free: 86.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.699, allocations: 18.31 kB / 0.533 GB, free: 86.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.699, allocations: 18.75 kB / 0.533 GB, free: 86.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.6992, allocations: 167.5 kB / 0.5331 GB, free: 86.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6992, allocations: 1.688 kB / 0.5332 GB, free: 86.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006649/0.7059, allocations: 1.618 MB / 0.5347 GB, free: 86.8 MB / 414.1 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.009757/0.7157, allocations: 2.278 MB / 0.537 GB, free: 86.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.7172, allocations: 349.7 kB / 0.5373 GB, free: 86.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.7172, allocations: 0 / 0.5373 GB, free: 86.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.7177, allocations: 128.1 kB / 0.5374 GB, free: 86.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.7185, allocations: 103.8 kB / 0.5375 GB, free: 86.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1964/0.915, allocations: 140.8 MB / 0.675 GB, free: 3.926 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.9156, allocations: 0.7495 MB / 0.6757 GB, free: 3.152 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000832/0.9164, allocations: 149.4 kB / 0.6759 GB, free: 3.008 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.9167, allocations: 51.41 kB / 0.6759 GB, free: 2.957 MB / 462.1 MB Notification: Performance of SimCode: time 3.126e-06/0.9167, allocations: 0 / 0.6759 GB, free: 2.957 MB / 462.1 MB Notification: Performance of Templates: time 0.3305/1.247, allocations: 47.3 MB / 0.7221 GB, free: 164.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches