Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_3_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.001165/0.001165, allocations: 112.8 kB / 16.41 MB, free: 6.004 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.001222/0.001222, allocations: 191.2 kB / 17.34 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2036/0.2036, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 71.91 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1396, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01498/0.1547, allocations: 11.24 MB / 0.4984 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0168/0.1715, allocations: 14.27 MB / 0.5124 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.1718, allocations: 0 / 0.5124 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.1723, allocations: 71.5 kB / 0.5124 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009716/0.182, allocations: 3.113 MB / 0.5155 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.1825, allocations: 159.6 kB / 0.5156 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00634/0.1889, allocations: 3.897 MB / 0.5194 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.189, allocations: 20.38 kB / 0.5194 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.1893, allocations: 147.5 kB / 0.5196 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.2, allocations: 7.122 MB / 0.5265 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-05/0.2002, allocations: 8 kB / 0.5265 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007559/0.2077, allocations: 2.388 MB / 0.5289 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.2079, allocations: 47.77 kB / 0.5289 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.2083, allocations: 127.4 kB / 0.529 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3072/0.5155, allocations: 1.708 MB / 0.5307 GB, free: 20.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.5155, allocations: 0.9062 kB / 0.5307 GB, free: 20.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5155, allocations: 0 / 0.5307 GB, free: 20.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.5156, allocations: 0 / 0.5307 GB, free: 20.35 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.00262/0.5182, allocations: 0.9723 MB / 0.5317 GB, free: 19.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.5182, allocations: 12.55 kB / 0.5317 GB, free: 19.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.5183, allocations: 61.8 kB / 0.5317 GB, free: 19.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005698/0.5189, allocations: 83.33 kB / 0.5318 GB, free: 19.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.5192, allocations: 239.1 kB / 0.532 GB, free: 19.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.5193, allocations: 19.78 kB / 0.5321 GB, free: 19.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.5193, allocations: 27.72 kB / 0.5321 GB, free: 19.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.5203, allocations: 486.6 kB / 0.5325 GB, free: 19.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5204, allocations: 0 / 0.5325 GB, free: 19.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.5204, allocations: 16.41 kB / 0.5326 GB, free: 19.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.5204, allocations: 7.281 kB / 0.5326 GB, free: 19.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.5216, allocations: 0.6819 MB / 0.5332 GB, free: 19.48 MB / 414.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.00682/0.5285, allocations: 3.135 MB / 0.5363 GB, free: 17.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.5292, allocations: 214.2 kB / 0.5365 GB, free: 17.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.5293, allocations: 75.84 kB / 0.5366 GB, free: 17.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08351/0.6128, allocations: 33.64 MB / 0.5694 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008198/0.6137, allocations: 346.1 kB / 0.5698 GB, free: 14.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.295e-06/0.6137, allocations: 4 kB / 0.5698 GB, free: 14.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002697/0.6164, allocations: 0.8562 MB / 0.5706 GB, free: 14.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002787/0.6167, allocations: 480.2 kB / 0.5711 GB, free: 14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.6169, allocations: 152.8 kB / 0.5712 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.6169, allocations: 32.23 kB / 0.5712 GB, free: 13.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.6171, allocations: 170.9 kB / 0.5714 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.696e-05/0.6172, allocations: 129.6 kB / 0.5715 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.6173, allocations: 92.11 kB / 0.5716 GB, free: 13.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.6176, allocations: 328.6 kB / 0.5719 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.6177, allocations: 64.98 kB / 0.572 GB, free: 13.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.6182, allocations: 305.2 kB / 0.5723 GB, free: 12.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006917/0.6189, allocations: 438.5 kB / 0.5727 GB, free: 12.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.6189, allocations: 2.781 kB / 0.5727 GB, free: 12.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000769/0.6197, allocations: 409.2 kB / 0.5731 GB, free: 12.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.6197, allocations: 8.469 kB / 0.5731 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.6198, allocations: 10.44 kB / 0.5731 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/0.6198, allocations: 10.72 kB / 0.5731 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.6217, allocations: 340.9 kB / 0.5734 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.6228, allocations: 1.19 MB / 0.5746 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.623, allocations: 18.5 kB / 0.5746 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.6231, allocations: 29.72 kB / 0.5746 GB, free: 11.24 MB / 430.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.0002407/0.6233, allocations: 167.9 kB / 0.5748 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.6234, allocations: 26.19 kB / 0.5748 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.6249, allocations: 0.9577 MB / 0.5758 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.6249, allocations: 11.58 kB / 0.5758 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.625, allocations: 7.953 kB / 0.5758 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.625, allocations: 0 / 0.5758 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.6267, allocations: 1.419 MB / 0.5772 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.6267, allocations: 4.125 kB / 0.5772 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.6277, allocations: 147.8 kB / 0.5773 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.6277, allocations: 4 kB / 0.5773 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.6278, allocations: 11.69 kB / 0.5773 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003176/0.6281, allocations: 0.597 MB / 0.5779 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6281, allocations: 4.031 kB / 0.5779 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006647/0.6288, allocations: 0.5037 MB / 0.5784 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.6289, allocations: 108.2 kB / 0.5785 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/0.629, allocations: 55.17 kB / 0.5786 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.6292, allocations: 8.75 kB / 0.5786 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.6293, allocations: 27.75 kB / 0.5786 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.6293, allocations: 12 kB / 0.5786 GB, free: 8.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003356/0.6297, allocations: 273.3 kB / 0.5789 GB, free: 8.047 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6297, allocations: 0 / 0.5789 GB, free: 8.047 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00206/0.6317, allocations: 465.1 kB / 0.5793 GB, free: 7.633 MB / 430.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.002298/0.634, allocations: 1.649 MB / 0.5809 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.6355, allocations: 404 kB / 0.5813 GB, free: 5.852 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.6355, allocations: 4.188 kB / 0.5813 GB, free: 5.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007472/0.6363, allocations: 220.8 kB / 0.5815 GB, free: 5.703 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008154/0.6371, allocations: 122.7 kB / 0.5816 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.294/1.931, allocations: 0.54 GB / 1.122 GB, free: 71.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/1.931, allocations: 0.8219 MB / 1.122 GB, free: 70.98 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003837/1.932, allocations: 173 kB / 1.123 GB, free: 70.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/1.932, allocations: 163.9 kB / 1.123 GB, free: 70.68 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/1.932, allocations: 0 / 1.123 GB, free: 70.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/1.971, allocations: 20.37 MB / 1.143 GB, free: 50.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/14.4, allocations: 7.938 kB / 1.143 GB, free: 50.35 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches