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.001212/0.001212, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001201/0.001201, allocations: 181 kB / 18.71 MB, free: 4.34 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.376/1.376, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2361/0.2361, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 71.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4363, allocations: 60.81 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01398/0.4504, allocations: 11.24 MB / 0.5294 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.4645, allocations: 11.78 MB / 0.5409 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.4648, allocations: 6.656 kB / 0.5409 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.4652, allocations: 73.62 kB / 0.541 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01376/0.479, allocations: 3.11 MB / 0.5441 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.4795, allocations: 151.2 kB / 0.5442 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006482/0.4859, allocations: 3.899 MB / 0.548 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.4861, allocations: 18.31 kB / 0.548 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.4863, allocations: 145.3 kB / 0.5482 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009405/0.4957, allocations: 7.129 MB / 0.5551 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.817e-05/0.4958, allocations: 8 kB / 0.5551 GB, free: 6.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006579/0.5024, allocations: 2.384 MB / 0.5575 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.5025, allocations: 43.77 kB / 0.5575 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.5028, allocations: 127.4 kB / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005907/0.5087, allocations: 1.719 MB / 0.5593 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.5088, allocations: 0 / 0.5593 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5088, allocations: 0 / 0.5593 GB, free: 2.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.5088, allocations: 4 kB / 0.5593 GB, free: 2.188 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.002386/0.5112, allocations: 0.9633 MB / 0.5602 GB, free: 1.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5112, allocations: 8.031 kB / 0.5603 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.453e-05/0.5113, allocations: 66.72 kB / 0.5603 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006065/0.5119, allocations: 80.59 kB / 0.5604 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.5123, allocations: 247.9 kB / 0.5606 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.5123, allocations: 24.88 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.5124, allocations: 28.36 kB / 0.5607 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009317/0.5133, allocations: 481.4 kB / 0.5611 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.5133, allocations: 7.922 kB / 0.5611 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.5134, allocations: 12 kB / 0.5612 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.5134, allocations: 8 kB / 0.5612 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.5145, allocations: 0.6773 MB / 0.5618 GB, free: 15.47 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.006442/0.5209, allocations: 3.128 MB / 0.5649 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006929/0.5217, allocations: 234.9 kB / 0.5651 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.5218, allocations: 69.39 kB / 0.5652 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08112/0.6029, allocations: 33.63 MB / 0.598 GB, free: 7.344 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008174/0.6038, allocations: 345.8 kB / 0.5983 GB, free: 6.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.485e-06/0.6038, allocations: 0 / 0.5983 GB, free: 6.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002807/0.6066, allocations: 0.8589 MB / 0.5992 GB, free: 6.074 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002133/0.6069, allocations: 483 kB / 0.5996 GB, free: 5.492 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.607, allocations: 162 kB / 0.5998 GB, free: 5.328 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/0.6071, allocations: 33.7 kB / 0.5998 GB, free: 5.289 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.6072, allocations: 164 kB / 0.6 GB, free: 5.125 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.6073, allocations: 130.1 kB / 0.6001 GB, free: 4.996 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.6074, allocations: 94.19 kB / 0.6002 GB, free: 4.898 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6076, allocations: 330.8 kB / 0.6005 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.6077, allocations: 65.08 kB / 0.6006 GB, free: 4.504 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.608, allocations: 310.2 kB / 0.6009 GB, free: 4.082 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00057/0.6086, allocations: 432.1 kB / 0.6013 GB, free: 3.543 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.6086, allocations: 0 / 0.6013 GB, free: 3.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007064/0.6093, allocations: 412.9 kB / 0.6017 GB, free: 3.133 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.6094, allocations: 15.94 kB / 0.6017 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.6094, allocations: 8 kB / 0.6017 GB, free: 3.109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/0.6094, allocations: 12 kB / 0.6017 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.6113, allocations: 340.1 kB / 0.602 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006887/0.612, allocations: 1.184 MB / 0.6032 GB, free: 1.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.6123, allocations: 23.91 kB / 0.6032 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.6124, allocations: 28 kB / 0.6032 GB, free: 1.484 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 (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.0001809/0.6126, allocations: 161.8 kB / 0.6034 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/0.6127, allocations: 23.81 kB / 0.6034 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.6139, allocations: 0.9417 MB / 0.6043 GB, free: 320 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.614, allocations: 11.94 kB / 0.6044 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.614, allocations: 8.219 kB / 0.6044 GB, free: 300 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.614, allocations: 3.984 kB / 0.6044 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.6155, allocations: 1.422 MB / 0.6058 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6155, allocations: 3.984 kB / 0.6058 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.6166, allocations: 151.9 kB / 0.6059 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.6166, allocations: 4 kB / 0.6059 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.6167, allocations: 8 kB / 0.6059 GB, free: 14.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003036/0.617, allocations: 0.5899 MB / 0.6065 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.617, allocations: 7.938 kB / 0.6065 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.6176, allocations: 0.5151 MB / 0.607 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.6177, allocations: 104.7 kB / 0.6071 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-05/0.6178, allocations: 55.36 kB / 0.6072 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/0.6181, allocations: 12 kB / 0.6072 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.6182, allocations: 23.97 kB / 0.6072 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.6182, allocations: 12 kB / 0.6072 GB, free: 13.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002994/0.6185, allocations: 275.1 kB / 0.6075 GB, free: 12.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6185, allocations: 0 / 0.6075 GB, free: 12.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001541/0.6201, allocations: 463.6 kB / 0.6079 GB, free: 12.44 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 (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.002686/0.6227, allocations: 1.641 MB / 0.6095 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.6243, allocations: 413.7 kB / 0.6099 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6244, allocations: 1.062 kB / 0.6099 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007844/0.6251, allocations: 227.8 kB / 0.6101 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/0.6259, allocations: 118.4 kB / 0.6102 GB, free: 9.988 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.167/1.793, allocations: 0.54 GB / 1.15 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/1.794, allocations: 0.8274 MB / 1.151 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004581/1.794, allocations: 168.8 kB / 1.151 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/1.794, allocations: 159.4 kB / 1.151 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of SimCode: time 1.523e-06/1.794, allocations: 0 / 1.151 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3468/2.141, allocations: 20.21 MB / 1.171 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/14.48, allocations: 17.02 kB / 1.171 GB, free: 213.7 MB / 0.5919 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