Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.001291/0.001291, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001377/0.001377, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2288/0.2288, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002375, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4145, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01632/0.4308, allocations: 11.22 MB / 0.5294 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.445, allocations: 11.78 MB / 0.5409 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.4454, allocations: 1.219 kB / 0.5409 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.4459, allocations: 74.7 kB / 0.541 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.4586, allocations: 3.109 MB / 0.544 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.4591, allocations: 164.2 kB / 0.5442 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007134/0.4663, allocations: 3.895 MB / 0.548 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.4664, allocations: 13.81 kB / 0.548 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.4669, allocations: 145.2 kB / 0.5482 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01151/0.4784, allocations: 7.132 MB / 0.5551 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/0.4785, allocations: 8 kB / 0.5551 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006972/0.4855, allocations: 2.107 MB / 0.5572 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.4857, allocations: 43.77 kB / 0.5572 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.4861, allocations: 131.4 kB / 0.5574 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005968/0.4921, allocations: 1.536 MB / 0.5589 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.4921, allocations: 0 / 0.5589 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4921, allocations: 0 / 0.5589 GB, free: 2.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.4921, allocations: 4 kB / 0.5589 GB, free: 2.652 MB / 414.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.002725/0.4949, allocations: 0.9127 MB / 0.5597 GB, free: 1.691 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.4949, allocations: 8.031 kB / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.727e-05/0.495, allocations: 70.72 kB / 0.5598 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006157/0.4956, allocations: 76.59 kB / 0.5599 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.4961, allocations: 251.9 kB / 0.5601 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.4961, allocations: 16.94 kB / 0.5602 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.4962, allocations: 28.38 kB / 0.5602 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.4972, allocations: 485.4 kB / 0.5606 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.4972, allocations: 0 / 0.5606 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.4972, allocations: 15.98 kB / 0.5607 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.4973, allocations: 11.98 kB / 0.5607 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.4984, allocations: 0.6774 MB / 0.5613 GB, free: 15.98 MB / 430.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.006588/0.505, allocations: 3.107 MB / 0.5644 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006577/0.5056, allocations: 215.3 kB / 0.5646 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.5058, allocations: 81.39 kB / 0.5646 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08027/0.586, allocations: 30.75 MB / 0.5947 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009002/0.587, allocations: 342 kB / 0.595 GB, free: 10.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.576e-06/0.587, allocations: 4 kB / 0.595 GB, free: 10.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003297/0.5903, allocations: 0.9683 MB / 0.596 GB, free: 9.871 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002795/0.5906, allocations: 482.5 kB / 0.5964 GB, free: 9.289 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.5908, allocations: 158.3 kB / 0.5966 GB, free: 9.125 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.5909, allocations: 33.64 kB / 0.5966 GB, free: 9.086 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.591, allocations: 168.1 kB / 0.5968 GB, free: 8.918 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.5912, allocations: 134.1 kB / 0.5969 GB, free: 8.785 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.5913, allocations: 90.14 kB / 0.597 GB, free: 8.691 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5914, allocations: 326.8 kB / 0.5973 GB, free: 8.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.5916, allocations: 77.08 kB / 0.5974 GB, free: 8.289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.5919, allocations: 322.1 kB / 0.5977 GB, free: 7.855 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.5925, allocations: 456 kB / 0.5981 GB, free: 7.293 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.5925, allocations: 4 kB / 0.5981 GB, free: 7.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007884/0.5933, allocations: 435.3 kB / 0.5985 GB, free: 6.852 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.5934, allocations: 8 kB / 0.5985 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.5934, allocations: 16.11 kB / 0.5985 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.5953, allocations: 321.3 kB / 0.5988 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.5956, allocations: 115.8 kB / 0.599 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006949/0.5964, allocations: 1.215 MB / 0.6001 GB, free: 5.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.5966, allocations: 16 kB / 0.6002 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.5967, allocations: 39.92 kB / 0.6002 GB, free: 5.078 MB / 462.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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.5968, allocations: 157.8 kB / 0.6003 GB, free: 4.914 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5969, allocations: 35.7 kB / 0.6004 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.5983, allocations: 1.037 MB / 0.6014 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.5983, allocations: 20.16 kB / 0.6014 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.5983, allocations: 0 / 0.6014 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.5983, allocations: 11.92 kB / 0.6014 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.5999, allocations: 1.549 MB / 0.6029 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.6, allocations: 4 kB / 0.6029 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.6001, allocations: 44.02 kB / 0.603 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.6014, allocations: 241.5 kB / 0.6032 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.6014, allocations: 4.094 kB / 0.6032 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007172/0.6021, allocations: 1.269 MB / 0.6045 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.6021, allocations: 4.031 kB / 0.6045 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007846/0.6029, allocations: 0.6067 MB / 0.6051 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.6031, allocations: 108.7 kB / 0.6052 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.809e-05/0.6031, allocations: 43.44 kB / 0.6052 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.6034, allocations: 19.97 kB / 0.6052 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.6035, allocations: 27.91 kB / 0.6052 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.6035, allocations: 16 kB / 0.6053 GB, free: 15.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003327/0.6038, allocations: 271.1 kB / 0.6055 GB, free: 15.31 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6038, allocations: 0 / 0.6055 GB, free: 15.31 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001443/0.6053, allocations: 443.6 kB / 0.6059 GB, free: 14.88 MB / 478.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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002599/0.6079, allocations: 1.7 MB / 0.6076 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007073/0.6086, allocations: 371.8 kB / 0.608 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.6086, allocations: 0 / 0.608 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.6089, allocations: 238.2 kB / 0.6082 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008399/0.6098, allocations: 126.3 kB / 0.6083 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.196/1.806, allocations: 0.4949 GB / 1.103 GB, free: 59.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/1.806, allocations: 0.8259 MB / 1.104 GB, free: 58.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003714/1.807, allocations: 165.6 kB / 1.104 GB, free: 58.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/1.807, allocations: 159.4 kB / 1.104 GB, free: 58.19 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/1.807, allocations: 4 kB / 1.104 GB, free: 58.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03681/1.844, allocations: 20.21 MB / 1.124 GB, free: 38.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/14.2, allocations: 11.31 kB / 1.124 GB, free: 38.21 MB / 0.5919 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches