Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ReferenceAir_ph,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001249/0.001249, allocations: 191 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2048/0.2048, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 61.91 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1069, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01178/0.1187, allocations: 11.23 MB / 481.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.1301, allocations: 11.79 MB / 493.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1302, allocations: 4 kB / 493.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1306, allocations: 67.5 kB / 493.8 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008285/0.1389, allocations: 3.109 MB / 496.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.1393, allocations: 164.9 kB / 497.1 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005036/0.1443, allocations: 3.893 MB / 0.4892 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.227e-05/0.1444, allocations: 20.39 kB / 0.4892 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.1445, allocations: 139.5 kB / 0.4894 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008991/0.1535, allocations: 7.126 MB / 0.4963 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.1536, allocations: 8 kB / 0.4963 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00586/0.1595, allocations: 2.135 MB / 0.4984 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1596, allocations: 43.77 kB / 0.4985 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.1599, allocations: 123.5 kB / 0.4986 GB, free: 5.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005246/0.1651, allocations: 1.548 MB / 0.5001 GB, free: 4.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1652, allocations: 0 / 0.5001 GB, free: 4.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1652, allocations: 0 / 0.5001 GB, free: 4.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1652, allocations: 4 kB / 0.5001 GB, free: 4.133 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002247/0.1674, allocations: 0.9127 MB / 0.501 GB, free: 3.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1675, allocations: 12.03 kB / 0.501 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/0.1681, allocations: 84.58 kB / 0.5011 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.1685, allocations: 247.9 kB / 0.5013 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1685, allocations: 16.94 kB / 0.5013 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.1686, allocations: 32.38 kB / 0.5014 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009282/0.1695, allocations: 489.5 kB / 0.5018 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.1695, allocations: 0 / 0.5018 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.1696, allocations: 12 kB / 0.5018 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1696, allocations: 8 kB / 0.5019 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.1707, allocations: 0.6851 MB / 0.5025 GB, free: 1.531 MB / 382.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.2187/0.3894, allocations: 4.286 MB / 0.5067 GB, free: 49.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.3901, allocations: 171.8 kB / 0.5069 GB, free: 49.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.3902, allocations: 62.59 kB / 0.5069 GB, free: 49.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02634/0.4165, allocations: 16.41 MB / 0.523 GB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006484/0.4172, allocations: 311.7 kB / 0.5232 GB, free: 37.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.334e-06/0.4172, allocations: 3.75 kB / 0.5233 GB, free: 37.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001361/0.4186, allocations: 446.3 kB / 0.5237 GB, free: 36.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.4187, allocations: 474.2 kB / 0.5241 GB, free: 36.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.4189, allocations: 181.9 kB / 0.5243 GB, free: 36.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.4189, allocations: 36.16 kB / 0.5243 GB, free: 36.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.419, allocations: 188.4 kB / 0.5245 GB, free: 36.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.419, allocations: 98.42 kB / 0.5246 GB, free: 35.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.4192, allocations: 95.17 kB / 0.5247 GB, free: 35.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.4192, allocations: 335.1 kB / 0.525 GB, free: 35.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.4194, allocations: 61.41 kB / 0.5251 GB, free: 35.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.4196, allocations: 314.5 kB / 0.5254 GB, free: 35.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.42, allocations: 426.5 kB / 0.5258 GB, free: 34.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.42, allocations: 2.812 kB / 0.5258 GB, free: 34.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006122/0.4206, allocations: 396.7 kB / 0.5262 GB, free: 34.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4206, allocations: 9.219 kB / 0.5262 GB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.4207, allocations: 11.16 kB / 0.5262 GB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.4207, allocations: 14.86 kB / 0.5262 GB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.421, allocations: 103.4 kB / 0.5263 GB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.421, allocations: 15.59 kB / 0.5263 GB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.4213, allocations: 48.09 kB / 0.5264 GB, free: 34.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.4213, allocations: 31.55 kB / 0.5264 GB, free: 34.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.4214, allocations: 160.9 kB / 0.5265 GB, free: 34.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.4215, allocations: 30.86 kB / 0.5266 GB, free: 34.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008631/0.4224, allocations: 0.7791 MB / 0.5273 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4224, allocations: 4.594 kB / 0.5273 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.4224, allocations: 2.094 kB / 0.5273 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4224, allocations: 2.156 kB / 0.5273 GB, free: 33.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008772/0.4233, allocations: 1.221 MB / 0.5285 GB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4233, allocations: 2.344 kB / 0.5285 GB, free: 32.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.4235, allocations: 32.77 kB / 0.5286 GB, free: 32.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.4235, allocations: 3.875 kB / 0.5286 GB, free: 32.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.4235, allocations: 8.469 kB / 0.5286 GB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4235, allocations: 7.266 kB / 0.5286 GB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4235, allocations: 11.31 kB / 0.5286 GB, free: 32.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.4238, allocations: 375.2 kB / 0.529 GB, free: 32.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.4239, allocations: 97.95 kB / 0.5291 GB, free: 32.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.424, allocations: 47.92 kB / 0.5291 GB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.4242, allocations: 9.828 kB / 0.5291 GB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.4242, allocations: 27.55 kB / 0.5291 GB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.4242, allocations: 9.062 kB / 0.5291 GB, free: 32.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002514/0.4245, allocations: 294.4 kB / 0.5294 GB, free: 32.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4245, allocations: 1.375 kB / 0.5294 GB, free: 32.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001164/0.4257, allocations: 428.3 kB / 0.5298 GB, free: 31.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.4268, allocations: 0.6287 MB / 0.5304 GB, free: 31.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.4271, allocations: 233.5 kB / 0.5307 GB, free: 31.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4271, allocations: 256 / 0.5307 GB, free: 31.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.57e-05/0.4272, allocations: 84.94 kB / 0.5307 GB, free: 31.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.4279, allocations: 119.7 kB / 0.5309 GB, free: 31.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.297/1.725, allocations: 0.579 GB / 1.11 GB, free: 176.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/1.725, allocations: 0.8127 MB / 1.111 GB, free: 176.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003874/1.726, allocations: 155.2 kB / 1.111 GB, free: 176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/1.726, allocations: 33.84 kB / 1.111 GB, free: 176 MB / 0.5137 GB Notification: Performance of SimCode: time 1.312e-06/1.726, allocations: 0 / 1.111 GB, free: 176 MB / 0.5137 GB Notification: Performance of Templates: time 0.01647/1.742, allocations: 14.27 MB / 1.125 GB, free: 163.6 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches