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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 106.7 kB / 17.33 MB, free: 6 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.001019/0.00102, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.358/1.358, allocations: 222.9 MB / 241.9 MB, free: 15.41 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.2132/0.2132, allocations: 44.16 MB / 336.2 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 64.98 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1383, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01439/0.1528, allocations: 11.23 MB / 480.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.1651, allocations: 11.72 MB / 491.8 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.1653, allocations: 4 kB / 491.8 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.1658, allocations: 55.69 kB / 491.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.1761, allocations: 2.774 MB / 494.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.1766, allocations: 146.3 kB / 494.8 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006039/0.1826, allocations: 4.196 MB / 498.9 MB, free: 420 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.1827, allocations: 16.41 kB / 499 MB, free: 404 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.1829, allocations: 147.4 kB / 499.1 MB, free: 256 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.1937, allocations: 7.719 MB / 0.4949 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.731e-05/0.1937, allocations: 8 kB / 0.495 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005357/0.1991, allocations: 2.131 MB / 0.497 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.1992, allocations: 43.77 kB / 0.4971 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.1994, allocations: 139.4 kB / 0.4972 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.2027, allocations: 1.544 MB / 0.4987 GB, free: 4.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2028, allocations: 0 / 0.4987 GB, free: 4.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.2028, allocations: 0 / 0.4987 GB, free: 4.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.2028, allocations: 3.938 kB / 0.4987 GB, free: 4.648 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.002161/0.205, allocations: 0.9244 MB / 0.4996 GB, free: 3.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.205, allocations: 8.031 kB / 0.4996 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.714e-05/0.2051, allocations: 66.66 kB / 0.4997 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005929/0.2057, allocations: 84.59 kB / 0.4998 GB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.206, allocations: 244 kB / 0.5 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.206, allocations: 24.94 kB / 0.5 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.2061, allocations: 24.38 kB / 0.5001 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009764/0.2071, allocations: 489.4 kB / 0.5005 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2071, allocations: 3.938 kB / 0.5005 GB, free: 2.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.2071, allocations: 12 kB / 0.5005 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2072, allocations: 4 kB / 0.5005 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2082, allocations: 0.6851 MB / 0.5012 GB, free: 1.969 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.2208/0.429, allocations: 4.303 MB / 0.5054 GB, free: 49.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.4297, allocations: 167.2 kB / 0.5056 GB, free: 49.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.4299, allocations: 60.47 kB / 0.5056 GB, free: 49.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03035/0.4602, allocations: 16.4 MB / 0.5216 GB, free: 37.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008945/0.4612, allocations: 319.6 kB / 0.522 GB, free: 37.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.4612, allocations: 7.906 kB / 0.522 GB, free: 37.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001501/0.4627, allocations: 436.5 kB / 0.5224 GB, free: 37.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.4628, allocations: 483 kB / 0.5228 GB, free: 36.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.463, allocations: 183.1 kB / 0.523 GB, free: 36.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.463, allocations: 32.39 kB / 0.523 GB, free: 36.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.4631, allocations: 187.3 kB / 0.5232 GB, free: 36.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.4632, allocations: 98.53 kB / 0.5233 GB, free: 36.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.4633, allocations: 95.23 kB / 0.5234 GB, free: 36.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.4634, allocations: 338.9 kB / 0.5237 GB, free: 35.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4635, allocations: 61.12 kB / 0.5238 GB, free: 35.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.4638, allocations: 311.9 kB / 0.5241 GB, free: 35.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.4643, allocations: 425.2 kB / 0.5245 GB, free: 34.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.4643, allocations: 3.031 kB / 0.5245 GB, free: 34.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006846/0.465, allocations: 395.5 kB / 0.5249 GB, free: 34.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.465, allocations: 9.219 kB / 0.5249 GB, free: 34.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.465, allocations: 12.45 kB / 0.5249 GB, free: 34.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.761e-05/0.4651, allocations: 12.06 kB / 0.5249 GB, free: 34.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.4654, allocations: 103.2 kB / 0.525 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.4655, allocations: 15.97 kB / 0.525 GB, free: 34.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.4657, allocations: 56.11 kB / 0.5251 GB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.4658, allocations: 28.94 kB / 0.5251 GB, free: 34.68 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.0001356/0.466, allocations: 157.1 kB / 0.5252 GB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.466, allocations: 34.3 kB / 0.5253 GB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009934/0.467, allocations: 0.7867 MB / 0.526 GB, free: 33.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.4671, allocations: 7.344 kB / 0.5261 GB, free: 33.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4671, allocations: 2.219 kB / 0.5261 GB, free: 33.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4671, allocations: 2.469 kB / 0.5261 GB, free: 33.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.4681, allocations: 1.216 MB / 0.5272 GB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.4682, allocations: 2.219 kB / 0.5272 GB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.4683, allocations: 36.33 kB / 0.5273 GB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.4683, allocations: 3.656 kB / 0.5273 GB, free: 32.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.4683, allocations: 15.94 kB / 0.5273 GB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.4683, allocations: 11.8 kB / 0.5273 GB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.4683, allocations: 7.969 kB / 0.5273 GB, free: 32.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.4687, allocations: 377.5 kB / 0.5277 GB, free: 32.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.4688, allocations: 101.5 kB / 0.5278 GB, free: 32.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/0.4689, allocations: 50.39 kB / 0.5278 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.4691, allocations: 13.39 kB / 0.5278 GB, free: 32.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.4692, allocations: 24.45 kB / 0.5279 GB, free: 32.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.4692, allocations: 7.719 kB / 0.5279 GB, free: 32.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003027/0.4695, allocations: 295.1 kB / 0.5281 GB, free: 32.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4695, allocations: 0.8438 kB / 0.5281 GB, free: 32.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001428/0.4709, allocations: 421.3 kB / 0.5286 GB, free: 32.14 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.001868/0.4728, allocations: 1.442 MB / 0.53 GB, free: 31.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.4733, allocations: 240.8 kB / 0.5302 GB, free: 31.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4733, allocations: 0 / 0.5302 GB, free: 31.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.4734, allocations: 87.2 kB / 0.5303 GB, free: 31.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007342/0.4742, allocations: 102.6 kB / 0.5304 GB, free: 30.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.473/1.947, allocations: 0.5822 GB / 1.113 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/1.947, allocations: 0.8088 MB / 1.113 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000451/1.948, allocations: 166.8 kB / 1.113 GB, free: 172.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/1.948, allocations: 148.6 kB / 1.114 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of SimCode: time 8.32e-07/1.948, allocations: 0 / 1.114 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/1.975, allocations: 18.19 MB / 1.131 GB, free: 155.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/1.975, allocations: 232.8 kB / 1.132 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/4.57, allocations: 2.672 kB / 1.132 GB, free: 154.8 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > 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