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.0008973/0.0008973, allocations: 93.72 kB / 17.35 MB, free: 6.371 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.0008794/0.0008793, allocations: 173 kB / 18.25 MB, free: 5.527 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.348/1.348, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1998/0.1998, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01363/0.1311, allocations: 10.98 MB / 483.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.144, allocations: 11.84 MB / 495.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.1443, allocations: 0 / 495.2 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.1447, allocations: 63.62 kB / 495.2 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008996/0.1537, allocations: 2.632 MB / 497.9 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.1541, allocations: 138.8 kB / 498 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006387/0.1605, allocations: 4.149 MB / 0.4904 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.1606, allocations: 24.39 kB / 0.4904 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.1609, allocations: 131.5 kB / 0.4905 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/0.1717, allocations: 7.563 MB / 0.4979 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.1718, allocations: 8 kB / 0.4979 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006046/0.1778, allocations: 2.361 MB / 0.5002 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.178, allocations: 51.8 kB / 0.5003 GB, free: 5.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.1782, allocations: 153.1 kB / 0.5004 GB, free: 5.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00547/0.1837, allocations: 1.703 MB / 0.5021 GB, free: 3.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1837, allocations: 0 / 0.5021 GB, free: 3.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1838, allocations: 4 kB / 0.5021 GB, free: 3.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1838, allocations: 0 / 0.5021 GB, free: 3.32 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.002572/0.1863, allocations: 0.9048 MB / 0.503 GB, free: 2.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1864, allocations: 12.03 kB / 0.503 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.1865, allocations: 58.73 kB / 0.503 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/0.1871, allocations: 84.58 kB / 0.5031 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1875, allocations: 251.9 kB / 0.5034 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1875, allocations: 20.94 kB / 0.5034 GB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.1875, allocations: 24.38 kB / 0.5034 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1886, allocations: 489.4 kB / 0.5039 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1886, allocations: 0 / 0.5039 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.1886, allocations: 12 kB / 0.5039 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1886, allocations: 8 kB / 0.5039 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.1897, allocations: 0.6773 MB / 0.5046 GB, free: 0.668 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.2353/0.4251, allocations: 3.11 MB / 0.5076 GB, free: 48.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.4258, allocations: 211.7 kB / 0.5078 GB, free: 48.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.4259, allocations: 79.28 kB / 0.5079 GB, free: 48.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07505/0.501, allocations: 33.48 MB / 0.5406 GB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/0.5017, allocations: 346.7 kB / 0.5409 GB, free: 24.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.935e-06/0.5017, allocations: 4 kB / 0.5409 GB, free: 24.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002373/0.5041, allocations: 0.8654 MB / 0.5418 GB, free: 23.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.486e-05/0.5042, allocations: 482.3 kB / 0.5422 GB, free: 23.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.5043, allocations: 158.2 kB / 0.5424 GB, free: 23.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.5043, allocations: 33.7 kB / 0.5424 GB, free: 23.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.5044, allocations: 156 kB / 0.5425 GB, free: 22.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.766e-05/0.5045, allocations: 139.7 kB / 0.5427 GB, free: 22.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.5045, allocations: 37.7 kB / 0.5427 GB, free: 22.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.868e-05/0.5046, allocations: 334.8 kB / 0.543 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.5047, allocations: 65.08 kB / 0.5431 GB, free: 22.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.5049, allocations: 310.2 kB / 0.5434 GB, free: 21.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.5052, allocations: 431.4 kB / 0.5438 GB, free: 21.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5052, allocations: 11.94 kB / 0.5438 GB, free: 21.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005601/0.5058, allocations: 397.9 kB / 0.5442 GB, free: 21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5058, allocations: 8 kB / 0.5442 GB, free: 21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.5059, allocations: 11.44 kB / 0.5442 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.5059, allocations: 16.69 kB / 0.5442 GB, free: 20.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.5075, allocations: 268.5 kB / 0.5445 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003868/0.5079, allocations: 1.176 MB / 0.5456 GB, free: 19.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.5082, allocations: 27.91 kB / 0.5457 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.5082, allocations: 28 kB / 0.5457 GB, free: 19.43 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.0001309/0.5084, allocations: 166 kB / 0.5458 GB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.5084, allocations: 27.72 kB / 0.5459 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.5095, allocations: 0.9415 MB / 0.5468 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.5095, allocations: 11.94 kB / 0.5468 GB, free: 18.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.5095, allocations: 4 kB / 0.5468 GB, free: 18.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5095, allocations: 3.984 kB / 0.5468 GB, free: 18.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.5107, allocations: 1.421 MB / 0.5482 GB, free: 16.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5107, allocations: 0 / 0.5482 GB, free: 16.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009603/0.5116, allocations: 155.8 kB / 0.5483 GB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.5117, allocations: 7.938 kB / 0.5484 GB, free: 16.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.5117, allocations: 12 kB / 0.5484 GB, free: 16.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000164/0.5119, allocations: 0.5859 MB / 0.5489 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5119, allocations: 7.938 kB / 0.5489 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.5123, allocations: 0.514 MB / 0.5494 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.5124, allocations: 212.1 kB / 0.5496 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.5125, allocations: 8.875 kB / 0.5497 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.5127, allocations: 19.98 kB / 0.5497 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.5128, allocations: 26.58 kB / 0.5497 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.5128, allocations: 23.98 kB / 0.5497 GB, free: 15.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.513, allocations: 271.1 kB / 0.55 GB, free: 14.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.513, allocations: 0 / 0.55 GB, free: 14.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00138/0.5144, allocations: 462.2 kB / 0.5504 GB, free: 14.34 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.002231/0.5167, allocations: 1.647 MB / 0.552 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.518, allocations: 394.1 kB / 0.5524 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.518, allocations: 4 kB / 0.5524 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.5188, allocations: 229.6 kB / 0.5526 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000926/0.5197, allocations: 121.8 kB / 0.5527 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.316/1.835, allocations: 0.5382 GB / 1.091 GB, free: 186 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/1.835, allocations: 0.8259 MB / 1.092 GB, free: 185.3 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0004605/1.836, allocations: 170.8 kB / 1.092 GB, free: 185.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/1.836, allocations: 156 kB / 1.092 GB, free: 185.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.673e-06/1.836, allocations: 3.938 kB / 1.092 GB, free: 185.1 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/1.869, allocations: 19.66 MB / 1.111 GB, free: 174 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/1.869, allocations: 255.6 kB / 1.111 GB, free: 173.7 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/4.324, allocations: 4.062 kB / 1.111 GB, free: 173.7 MB / 0.5138 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