Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.001314/0.001314, allocations: 105.9 kB / 16.27 MB, free: 6.41 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.001272/0.001272, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.38/1.38, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2114/0.2114, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 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.001571/0.001571, allocations: 71.7 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1063, allocations: 57.78 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.009684/0.116, allocations: 11.24 MB / 451.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.1295, allocations: 14.27 MB / 466.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1297, allocations: 8 kB / 466.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.13, allocations: 67.55 kB / 466.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007444/0.1375, allocations: 3.109 MB / 469.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.1379, allocations: 151.6 kB / 469.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004718/0.1426, allocations: 3.901 MB / 473.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.701e-05/0.1426, allocations: 24.38 kB / 473.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1428, allocations: 135.6 kB / 473.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008184/0.151, allocations: 7.129 MB / 480.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.1511, allocations: 8 kB / 480.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004432/0.1555, allocations: 2.092 MB / 482.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.983e-05/0.1556, allocations: 43.83 kB / 482.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.1558, allocations: 123.4 kB / 482.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.1592, allocations: 1.532 MB / 484.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1593, allocations: 7.938 kB / 484.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1593, allocations: 0 / 484.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1593, allocations: 4 kB / 484.5 MB, free: 10.84 MB / 366.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.002145/0.1614, allocations: 0.9243 MB / 485.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1615, allocations: 11.89 kB / 485.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.951e-05/0.1616, allocations: 62.73 kB / 485.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.1621, allocations: 88.58 kB / 485.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1624, allocations: 244 kB / 485.8 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.1625, allocations: 16.94 kB / 485.8 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.1625, allocations: 28.38 kB / 485.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009431/0.1635, allocations: 485.4 kB / 486.3 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.1635, allocations: 3.938 kB / 486.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.1635, allocations: 12 kB / 486.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1636, allocations: 8 kB / 486.3 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1647, allocations: 0.6773 MB / 487 MB, free: 8.164 MB / 366.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.007524/0.1722, allocations: 4.307 MB / 491.3 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.1728, allocations: 184 kB / 491.5 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.1729, allocations: 52.84 kB / 491.5 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02848/0.2014, allocations: 16.4 MB / 0.496 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007619/0.2022, allocations: 321.7 kB / 0.4963 GB, free: 240 kB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 5.39e-06/0.2022, allocations: 3.938 kB / 0.4963 GB, free: 236 kB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001543/0.2037, allocations: 434.3 kB / 0.4968 GB, free: 15.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.204, allocations: 483 kB / 0.4972 GB, free: 15.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.2042, allocations: 195.2 kB / 0.4974 GB, free: 15.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.2043, allocations: 33.69 kB / 0.4974 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.2044, allocations: 179.6 kB / 0.4976 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.2045, allocations: 102.6 kB / 0.4977 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.2046, allocations: 97.92 kB / 0.4978 GB, free: 14.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2047, allocations: 334.8 kB / 0.4981 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.2049, allocations: 60.84 kB / 0.4982 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.2051, allocations: 314.7 kB / 0.4985 GB, free: 13.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.2056, allocations: 433.2 kB / 0.4989 GB, free: 13.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.2056, allocations: 8 kB / 0.4989 GB, free: 13.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006894/0.2063, allocations: 385 kB / 0.4993 GB, free: 12.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.2064, allocations: 8 kB / 0.4993 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.2064, allocations: 11.98 kB / 0.4993 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.2064, allocations: 12 kB / 0.4993 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.2068, allocations: 108.5 kB / 0.4994 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.439e-05/0.2068, allocations: 19.94 kB / 0.4994 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.2071, allocations: 51.47 kB / 0.4995 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.2072, allocations: 31.98 kB / 0.4995 GB, free: 12.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.2074, allocations: 157.5 kB / 0.4996 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2075, allocations: 31.8 kB / 0.4997 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009973/0.2085, allocations: 0.7832 MB / 0.5004 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.2085, allocations: 8 kB / 0.5004 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2085, allocations: 0 / 0.5004 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.2085, allocations: 7.938 kB / 0.5005 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.2097, allocations: 1.214 MB / 0.5016 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.2097, allocations: 4 kB / 0.5016 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.2098, allocations: 35.92 kB / 0.5017 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.2099, allocations: 7.938 kB / 0.5017 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.2099, allocations: 7.984 kB / 0.5017 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.2099, allocations: 8.094 kB / 0.5017 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2099, allocations: 0 / 0.5017 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.2103, allocations: 372.4 kB / 0.5021 GB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.2104, allocations: 100.8 kB / 0.5022 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.304e-05/0.2105, allocations: 47.38 kB / 0.5022 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.2108, allocations: 15.98 kB / 0.5022 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.2108, allocations: 19.92 kB / 0.5022 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.2108, allocations: 12 kB / 0.5022 GB, free: 9.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003198/0.2112, allocations: 294.9 kB / 0.5025 GB, free: 9.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2112, allocations: 0 / 0.5025 GB, free: 9.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001241/0.2124, allocations: 423.5 kB / 0.5029 GB, free: 8.848 MB / 398.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/0.2145, allocations: 1.442 MB / 0.5043 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004342/0.2149, allocations: 236.3 kB / 0.5046 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2149, allocations: 0 / 0.5046 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2151, allocations: 81.47 kB / 0.5046 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/0.2158, allocations: 119.5 kB / 0.5048 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.643/1.859, allocations: 0.582 GB / 1.087 GB, free: 188.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.86, allocations: 0.808 MB / 1.088 GB, free: 187.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005457/1.86, allocations: 166.4 kB / 1.088 GB, free: 187.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/1.86, allocations: 150.4 kB / 1.088 GB, free: 187.5 MB / 0.4981 GB Notification: Performance of SimCode: time 7.91e-07/1.86, allocations: 0 / 1.088 GB, free: 187.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04549/1.906, allocations: 18.29 MB / 1.106 GB, free: 178.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/10.34, allocations: 11.92 kB / 1.106 GB, free: 178.5 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches