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.001393/0.001393, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001305/0.001305, allocations: 192 kB / 18.56 MB, free: 4.434 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 / 242.3 MB, free: 15.16 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.2063/0.2063, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002343, allocations: 61.31 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1382, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01755/0.1558, allocations: 11.23 MB / 480.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.018/0.1739, allocations: 11.77 MB / 492.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004841/0.1744, allocations: 0 / 492.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.1752, allocations: 75.5 kB / 492.4 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01502/0.1902, allocations: 3.125 MB / 495.6 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/0.1909, allocations: 139.9 kB / 495.7 MB, free: 3.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007885/0.1988, allocations: 3.901 MB / 499.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.1989, allocations: 16.39 kB / 499.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002962/0.1992, allocations: 147.5 kB / 499.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0131/0.2123, allocations: 7.118 MB / 0.495 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.239e-05/0.2124, allocations: 15.94 kB / 0.495 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006912/0.2194, allocations: 2.099 MB / 0.4971 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.2195, allocations: 51.75 kB / 0.4971 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.2198, allocations: 123.4 kB / 0.4972 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005626/0.2255, allocations: 1.536 MB / 0.4987 GB, free: 4.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2255, allocations: 0 / 0.4987 GB, free: 4.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.2255, allocations: 0 / 0.4987 GB, free: 4.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.2255, allocations: 0 / 0.4987 GB, free: 4.812 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.003027/0.2286, allocations: 0.9243 MB / 0.4996 GB, free: 3.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.306e-05/0.2287, allocations: 12.03 kB / 0.4996 GB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.666e-05/0.2288, allocations: 62.72 kB / 0.4997 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009143/0.2297, allocations: 80.59 kB / 0.4998 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.2301, allocations: 247.9 kB / 0.5 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.2302, allocations: 24.94 kB / 0.5 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.2302, allocations: 24.38 kB / 0.5001 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.2316, allocations: 485.4 kB / 0.5005 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.2316, allocations: 4 kB / 0.5005 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.2317, allocations: 15.94 kB / 0.5005 GB, free: 2.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.2317, allocations: 4 kB / 0.5006 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.2333, allocations: 0.6813 MB / 0.5012 GB, free: 2.137 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.2307/0.464, allocations: 4.299 MB / 0.5054 GB, free: 49.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.4647, allocations: 169.5 kB / 0.5056 GB, free: 49.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.4648, allocations: 64.56 kB / 0.5056 GB, free: 49.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02778/0.4926, allocations: 16.4 MB / 0.5217 GB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007291/0.4934, allocations: 314.4 kB / 0.5219 GB, free: 37.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.335e-06/0.4934, allocations: 0.5938 kB / 0.522 GB, free: 37.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001441/0.4948, allocations: 445.2 kB / 0.5224 GB, free: 37.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.495, allocations: 479.8 kB / 0.5228 GB, free: 36.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.4951, allocations: 187.9 kB / 0.523 GB, free: 36.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.4951, allocations: 32.64 kB / 0.523 GB, free: 36.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.4952, allocations: 189.6 kB / 0.5232 GB, free: 36.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.4953, allocations: 95.42 kB / 0.5233 GB, free: 36.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4954, allocations: 95.11 kB / 0.5234 GB, free: 36.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.4955, allocations: 335 kB / 0.5237 GB, free: 36.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.4956, allocations: 60.59 kB / 0.5238 GB, free: 36.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.4959, allocations: 316.2 kB / 0.5241 GB, free: 35.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.4963, allocations: 424.6 kB / 0.5245 GB, free: 35.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4963, allocations: 3.5 kB / 0.5245 GB, free: 35.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000705/0.497, allocations: 398.4 kB / 0.5249 GB, free: 35.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.4971, allocations: 9.469 kB / 0.5249 GB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4971, allocations: 10.78 kB / 0.5249 GB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.881e-05/0.4972, allocations: 11.25 kB / 0.5249 GB, free: 35.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.4975, allocations: 107.8 kB / 0.525 GB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.4975, allocations: 14.88 kB / 0.525 GB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.4978, allocations: 47.97 kB / 0.5251 GB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/0.4978, allocations: 32.42 kB / 0.5251 GB, free: 35.04 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.0001367/0.498, allocations: 156.9 kB / 0.5252 GB, free: 34.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.4981, allocations: 38 kB / 0.5253 GB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009178/0.499, allocations: 0.7871 MB / 0.5261 GB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.499, allocations: 7.078 kB / 0.5261 GB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.499, allocations: 3.719 kB / 0.5261 GB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.499, allocations: 2.094 kB / 0.5261 GB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/0.5, allocations: 1.22 MB / 0.5273 GB, free: 33.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.5, allocations: 3.344 kB / 0.5273 GB, free: 33.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.5002, allocations: 37.5 kB / 0.5273 GB, free: 33.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.5002, allocations: 3.406 kB / 0.5273 GB, free: 33.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.5002, allocations: 4.594 kB / 0.5273 GB, free: 33.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.5002, allocations: 9.547 kB / 0.5273 GB, free: 33.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5002, allocations: 5.875 kB / 0.5273 GB, free: 33.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.5006, allocations: 376.3 kB / 0.5277 GB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.5007, allocations: 100.3 kB / 0.5278 GB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.5007, allocations: 41.16 kB / 0.5278 GB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.501, allocations: 13.83 kB / 0.5278 GB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.501, allocations: 23.64 kB / 0.5278 GB, free: 32.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.501, allocations: 11.78 kB / 0.5279 GB, free: 32.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002942/0.5013, allocations: 299 kB / 0.5281 GB, free: 32.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5013, allocations: 2.188 kB / 0.5281 GB, free: 32.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001527/0.5029, allocations: 424.5 kB / 0.5285 GB, free: 32.49 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.001711/0.5046, allocations: 1.443 MB / 0.53 GB, free: 31.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.505, allocations: 233.3 kB / 0.5302 GB, free: 31.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.505, allocations: 5.219 kB / 0.5302 GB, free: 31.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.5051, allocations: 84.41 kB / 0.5303 GB, free: 31.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.5059, allocations: 110.2 kB / 0.5304 GB, free: 31.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.335/1.841, allocations: 0.582 GB / 1.112 GB, free: 173.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/1.841, allocations: 0.8094 MB / 1.113 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004401/1.841, allocations: 163.6 kB / 1.113 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/1.841, allocations: 151.3 kB / 1.113 GB, free: 172.8 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/1.841, allocations: 4 kB / 1.114 GB, free: 172.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/1.875, allocations: 18.27 MB / 1.131 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.575/10.45, allocations: 20.72 kB / 1.131 GB, free: 155.4 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