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.001139/0.001139, allocations: 111.8 kB / 17.32 MB, free: 5.672 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.00114/0.00114, allocations: 193.3 kB / 18.25 MB, free: 4.977 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.384/1.384, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2174/0.2174, allocations: 44.16 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 64.03 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1374, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01414/0.1515, allocations: 11.24 MB / 480.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.165, allocations: 11.73 MB / 491.8 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.1654, allocations: 0 / 491.8 MB, free: 7.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.1659, allocations: 55.69 kB / 491.8 MB, free: 7.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.1765, allocations: 2.773 MB / 494.6 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.177, allocations: 141.7 kB / 494.8 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006034/0.183, allocations: 4.199 MB / 499 MB, free: 412 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.465e-05/0.1831, allocations: 16.41 kB / 499 MB, free: 396 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.1834, allocations: 143.5 kB / 499.1 MB, free: 252 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01045/0.1938, allocations: 7.719 MB / 0.4949 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.1939, allocations: 8 kB / 0.495 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005852/0.1997, allocations: 2.384 MB / 0.4973 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1999, allocations: 51.75 kB / 0.4973 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.2002, allocations: 123.5 kB / 0.4975 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00569/0.2059, allocations: 1.735 MB / 0.4991 GB, free: 4.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2059, allocations: 4 kB / 0.4991 GB, free: 4.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2059, allocations: 0 / 0.4991 GB, free: 4.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.2059, allocations: 0 / 0.4991 GB, free: 4.207 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.002726/0.2086, allocations: 0.9556 MB / 0.5001 GB, free: 3.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.2087, allocations: 8.031 kB / 0.5001 GB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.065e-05/0.2088, allocations: 66.72 kB / 0.5002 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006237/0.2094, allocations: 76.59 kB / 0.5002 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.2097, allocations: 251.9 kB / 0.5005 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.2098, allocations: 16.94 kB / 0.5005 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.2098, allocations: 32.38 kB / 0.5005 GB, free: 2.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.2108, allocations: 481.4 kB / 0.501 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2109, allocations: 0 / 0.501 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.2109, allocations: 16 kB / 0.501 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.2109, allocations: 11.98 kB / 0.501 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.212, allocations: 0.6773 MB / 0.5017 GB, free: 1.504 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.2402/0.4523, allocations: 3.136 MB / 0.5047 GB, free: 50.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009164/0.4532, allocations: 211.6 kB / 0.5049 GB, free: 50.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.4534, allocations: 73.84 kB / 0.505 GB, free: 50.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07928/0.5327, allocations: 33.64 MB / 0.5378 GB, free: 26.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000655/0.5334, allocations: 346.9 kB / 0.5382 GB, free: 26.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.5334, allocations: 0 / 0.5382 GB, free: 26.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002413/0.5358, allocations: 0.8583 MB / 0.539 GB, free: 25.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.5359, allocations: 479.2 kB / 0.5395 GB, free: 24.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.5361, allocations: 170 kB / 0.5396 GB, free: 24.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.5361, allocations: 36.89 kB / 0.5397 GB, free: 24.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.5362, allocations: 159.9 kB / 0.5398 GB, free: 24.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.5362, allocations: 127 kB / 0.5399 GB, free: 24.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.5363, allocations: 90.23 kB / 0.54 GB, free: 24.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/0.5364, allocations: 334.8 kB / 0.5403 GB, free: 23.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.5365, allocations: 69.09 kB / 0.5404 GB, free: 23.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.5367, allocations: 310.1 kB / 0.5407 GB, free: 23.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.537, allocations: 437.1 kB / 0.5411 GB, free: 22.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.537, allocations: 7.938 kB / 0.5411 GB, free: 22.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005459/0.5376, allocations: 401.7 kB / 0.5415 GB, free: 22.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.5376, allocations: 8 kB / 0.5415 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5376, allocations: 11.94 kB / 0.5415 GB, free: 22.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.5377, allocations: 15.94 kB / 0.5416 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.5395, allocations: 342 kB / 0.5419 GB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003966/0.5399, allocations: 1.18 MB / 0.543 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.5401, allocations: 26.53 kB / 0.5431 GB, free: 20.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.5402, allocations: 35.98 kB / 0.5431 GB, free: 20.84 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.000125/0.5403, allocations: 154.1 kB / 0.5432 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.5404, allocations: 31.8 kB / 0.5433 GB, free: 20.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.5414, allocations: 0.9456 MB / 0.5442 GB, free: 19.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.5414, allocations: 15.92 kB / 0.5442 GB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.5414, allocations: 0 / 0.5442 GB, free: 19.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.5414, allocations: 4 kB / 0.5442 GB, free: 19.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.5425, allocations: 1.429 MB / 0.5456 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.371e-06/0.5425, allocations: 4 kB / 0.5456 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.5435, allocations: 151.8 kB / 0.5458 GB, free: 17.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.5435, allocations: 7.938 kB / 0.5458 GB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.5436, allocations: 8 kB / 0.5458 GB, free: 17.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001648/0.5437, allocations: 0.5782 MB / 0.5463 GB, free: 17.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5438, allocations: 11.91 kB / 0.5463 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.5442, allocations: 0.5178 MB / 0.5469 GB, free: 16.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.5443, allocations: 104.8 kB / 0.547 GB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.5443, allocations: 43.44 kB / 0.547 GB, free: 16.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.5446, allocations: 15.98 kB / 0.547 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.5446, allocations: 31.84 kB / 0.547 GB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.5447, allocations: 12 kB / 0.547 GB, free: 16.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.5449, allocations: 275.1 kB / 0.5473 GB, free: 16.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5449, allocations: 0 / 0.5473 GB, free: 16.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00135/0.5463, allocations: 463.2 kB / 0.5478 GB, free: 15.82 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.001806/0.5481, allocations: 1.646 MB / 0.5494 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.5495, allocations: 406.3 kB / 0.5497 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.5495, allocations: 4 kB / 0.5498 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.5502, allocations: 217.5 kB / 0.55 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007576/0.551, allocations: 136.5 kB / 0.5501 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.411/1.962, allocations: 0.5402 GB / 1.09 GB, free: 185.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/1.963, allocations: 0.8349 MB / 1.091 GB, free: 185 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004274/1.963, allocations: 174 kB / 1.091 GB, free: 184.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/1.963, allocations: 159.5 kB / 1.091 GB, free: 184.8 MB / 0.5137 GB Notification: Performance of SimCode: time 7.91e-07/1.963, allocations: 3.969 kB / 1.091 GB, free: 184.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/2.002, allocations: 19.99 MB / 1.111 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/2.002, allocations: 257.2 kB / 1.111 GB, free: 172.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.59/4.593, allocations: 1.406 kB / 1.111 GB, free: 172.2 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