Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.001094/0.001094, allocations: 107.4 kB / 17.2 MB, free: 6.273 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.001166/0.001166, allocations: 194 kB / 18.12 MB, free: 5.363 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.39/1.39, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2135/0.2135, allocations: 44.17 MB / 336.1 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 69.31 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1519, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01348/0.1654, allocations: 11.46 MB / 480.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.18, allocations: 12.05 MB / 492.1 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.1803, allocations: 4 kB / 492.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.1807, allocations: 59.67 kB / 492.2 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.1913, allocations: 2.629 MB / 494.8 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.1918, allocations: 142.3 kB / 495 MB, free: 4.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007175/0.1989, allocations: 4.153 MB / 499.1 MB, free: 164 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.25e-05/0.199, allocations: 12.41 kB / 499.1 MB, free: 152 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.1992, allocations: 143.5 kB / 499.3 MB, free: 8 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01211/0.2114, allocations: 7.563 MB / 0.495 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.39e-05/0.2115, allocations: 7.938 kB / 0.495 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006153/0.2176, allocations: 2.361 MB / 0.4973 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.2178, allocations: 39.77 kB / 0.4973 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.218, allocations: 127.4 kB / 0.4974 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006234/0.2242, allocations: 1.723 MB / 0.4991 GB, free: 4.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2243, allocations: 0 / 0.4991 GB, free: 4.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2243, allocations: 0 / 0.4991 GB, free: 4.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2243, allocations: 0 / 0.4991 GB, free: 4.172 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.002395/0.2267, allocations: 0.9595 MB / 0.5 GB, free: 3.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2268, allocations: 8.031 kB / 0.5001 GB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.37e-05/0.2268, allocations: 66.72 kB / 0.5001 GB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/0.2274, allocations: 80.59 kB / 0.5002 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.2277, allocations: 251.9 kB / 0.5004 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.2278, allocations: 20.94 kB / 0.5005 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.2278, allocations: 28.38 kB / 0.5005 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009672/0.2288, allocations: 489.4 kB / 0.501 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2288, allocations: 3.938 kB / 0.501 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.2288, allocations: 15.98 kB / 0.501 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2289, allocations: 8 kB / 0.501 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.23, allocations: 0.6773 MB / 0.5016 GB, free: 1.453 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.2459/0.4758, allocations: 3.128 MB / 0.5047 GB, free: 49.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007926/0.4766, allocations: 213.3 kB / 0.5049 GB, free: 49.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.4768, allocations: 77.97 kB / 0.505 GB, free: 49.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07993/0.5567, allocations: 33.63 MB / 0.5378 GB, free: 26.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007054/0.5575, allocations: 353 kB / 0.5381 GB, free: 26.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.936e-06/0.5575, allocations: 0 / 0.5381 GB, free: 26.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002405/0.5599, allocations: 0.8645 MB / 0.539 GB, free: 25.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.5601, allocations: 478.6 kB / 0.5394 GB, free: 24.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.5602, allocations: 161.8 kB / 0.5396 GB, free: 24.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.5602, allocations: 37.64 kB / 0.5396 GB, free: 24.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.5603, allocations: 156.1 kB / 0.5398 GB, free: 24.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.5604, allocations: 133.8 kB / 0.5399 GB, free: 24.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.5605, allocations: 90.23 kB / 0.54 GB, free: 24.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.5606, allocations: 330.8 kB / 0.5403 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.5607, allocations: 69.02 kB / 0.5404 GB, free: 23.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.5609, allocations: 317.9 kB / 0.5407 GB, free: 23.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.5613, allocations: 424.1 kB / 0.5411 GB, free: 22.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5613, allocations: 4 kB / 0.5411 GB, free: 22.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005546/0.5619, allocations: 411.8 kB / 0.5415 GB, free: 22.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.5619, allocations: 10.5 kB / 0.5415 GB, free: 22.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.5619, allocations: 8.906 kB / 0.5415 GB, free: 22.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.5619, allocations: 19.31 kB / 0.5415 GB, free: 22.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.5637, allocations: 350.8 kB / 0.5419 GB, free: 22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004267/0.5641, allocations: 1.176 MB / 0.543 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.5643, allocations: 23.84 kB / 0.543 GB, free: 20.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.5644, allocations: 32.17 kB / 0.5431 GB, free: 20.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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.000148/0.5645, allocations: 162.1 kB / 0.5432 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/0.5646, allocations: 23.81 kB / 0.5432 GB, free: 20.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.5656, allocations: 0.9473 MB / 0.5442 GB, free: 19.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.5657, allocations: 20.14 kB / 0.5442 GB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5657, allocations: 0 / 0.5442 GB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5657, allocations: 4 kB / 0.5442 GB, free: 19.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.5668, allocations: 1.425 MB / 0.5456 GB, free: 17.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.5668, allocations: 4 kB / 0.5456 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009647/0.5678, allocations: 151.4 kB / 0.5457 GB, free: 17.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5678, allocations: 4 kB / 0.5457 GB, free: 17.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.5678, allocations: 7.984 kB / 0.5457 GB, free: 17.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000184/0.568, allocations: 0.5899 MB / 0.5463 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.568, allocations: 0 / 0.5463 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.5685, allocations: 0.5178 MB / 0.5468 GB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.5685, allocations: 104.8 kB / 0.5469 GB, free: 16.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/0.5686, allocations: 47.44 kB / 0.547 GB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.5689, allocations: 15.98 kB / 0.547 GB, free: 16.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.5689, allocations: 23.91 kB / 0.547 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.569, allocations: 12 kB / 0.547 GB, free: 16.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002308/0.5692, allocations: 275.1 kB / 0.5473 GB, free: 16.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5692, allocations: 0 / 0.5473 GB, free: 16.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001384/0.5706, allocations: 471.4 kB / 0.5477 GB, free: 15.7 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001824/0.5724, allocations: 1.638 MB / 0.5493 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.5737, allocations: 400.4 kB / 0.5497 GB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5738, allocations: 448 / 0.5497 GB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006962/0.5745, allocations: 227.8 kB / 0.5499 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.5752, allocations: 130.6 kB / 0.5501 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.381/1.956, allocations: 0.5401 GB / 1.09 GB, free: 185.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/1.956, allocations: 0.8285 MB / 1.091 GB, free: 184.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004794/1.957, allocations: 170 kB / 1.091 GB, free: 184.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/1.957, allocations: 158.6 kB / 1.091 GB, free: 184.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.293e-06/1.957, allocations: 0 / 1.091 GB, free: 184.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/1.992, allocations: 19.75 MB / 1.111 GB, free: 172.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/1.992, allocations: 264.6 kB / 1.111 GB, free: 172.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/4.584, allocations: 2.672 kB / 1.111 GB, free: 172.4 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches