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.001223/0.001223, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001177/0.001177, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.507/1.507, 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.2226/0.2226, allocations: 43.52 MB / 313.9 MB, free: 0.5156 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.001502/0.001502, allocations: 69.17 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08868/0.09019, allocations: 57.8 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01007/0.1003, allocations: 11.23 MB / 451.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.1149, allocations: 14.27 MB / 466.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1151, allocations: 7.938 kB / 466.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.1154, allocations: 63.56 kB / 466.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007752/0.1232, allocations: 3.113 MB / 469.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.1235, allocations: 159.2 kB / 469.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00505/0.1286, allocations: 3.893 MB / 473.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.18e-05/0.1287, allocations: 24.39 kB / 473.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1289, allocations: 139.5 kB / 473.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00877/0.1376, allocations: 7.13 MB / 480.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.42e-05/0.1377, allocations: 8 kB / 480.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/0.1425, allocations: 2.092 MB / 482.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.1426, allocations: 43.83 kB / 482.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.1428, allocations: 127.4 kB / 482.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003108/0.1459, allocations: 1.532 MB / 484.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.146, allocations: 0 / 484.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.146, allocations: 4 kB / 484.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.146, allocations: 0 / 484.5 MB, free: 10.82 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.002035/0.148, allocations: 0.9282 MB / 485.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1481, allocations: 11.89 kB / 485.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.1481, allocations: 70.66 kB / 485.5 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005726/0.1487, allocations: 76.59 kB / 485.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.149, allocations: 248 kB / 485.8 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.149, allocations: 16.94 kB / 485.8 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.1491, allocations: 28.38 kB / 485.8 MB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009219/0.15, allocations: 485.4 kB / 486.3 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.15, allocations: 3.938 kB / 486.3 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.1501, allocations: 12 kB / 486.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.1501, allocations: 8 kB / 486.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.1512, allocations: 0.6812 MB / 487 MB, free: 8.145 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.007009/0.1582, allocations: 4.303 MB / 491.3 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.1587, allocations: 179.9 kB / 491.5 MB, free: 3.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.19e-05/0.1588, allocations: 56.83 kB / 491.5 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02824/0.1871, allocations: 16.41 MB / 0.496 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007959/0.1879, allocations: 309.7 kB / 0.4963 GB, free: 236 kB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.046e-06/0.188, allocations: 4 kB / 0.4963 GB, free: 232 kB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00145/0.1894, allocations: 442.3 kB / 0.4968 GB, free: 15.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/0.1896, allocations: 482.6 kB / 0.4972 GB, free: 15.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1898, allocations: 195.2 kB / 0.4974 GB, free: 15.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1898, allocations: 30.02 kB / 0.4974 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.19, allocations: 183.6 kB / 0.4976 GB, free: 14.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.488e-05/0.1901, allocations: 106.6 kB / 0.4977 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.1902, allocations: 89.94 kB / 0.4978 GB, free: 14.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1903, allocations: 330.8 kB / 0.4981 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.1904, allocations: 64.83 kB / 0.4982 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.1907, allocations: 314.7 kB / 0.4985 GB, free: 13.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.1912, allocations: 432.8 kB / 0.4989 GB, free: 13.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.1912, allocations: 4 kB / 0.4989 GB, free: 13.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006848/0.1919, allocations: 393.5 kB / 0.4993 GB, free: 12.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1919, allocations: 8.188 kB / 0.4993 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.1919, allocations: 16 kB / 0.4993 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.192, allocations: 12 kB / 0.4993 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.1923, allocations: 103.8 kB / 0.4994 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.1923, allocations: 19.92 kB / 0.4994 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.1926, allocations: 47.53 kB / 0.4995 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.1926, allocations: 32 kB / 0.4995 GB, free: 12.6 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.000127/0.1927, allocations: 157.6 kB / 0.4996 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/0.1928, allocations: 23.81 kB / 0.4997 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.1939, allocations: 0.7995 MB / 0.5005 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.1939, allocations: 4 kB / 0.5005 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1939, allocations: 0 / 0.5005 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.1939, allocations: 11.92 kB / 0.5005 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.1951, allocations: 1.208 MB / 0.5016 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.1951, allocations: 4.156 kB / 0.5017 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1952, allocations: 39.91 kB / 0.5017 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.1952, allocations: 7.938 kB / 0.5017 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1953, allocations: 8 kB / 0.5017 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1953, allocations: 4 kB / 0.5017 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.1953, allocations: 4 kB / 0.5017 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.1957, allocations: 368.4 kB / 0.5021 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.1958, allocations: 100.8 kB / 0.5022 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.308e-05/0.1959, allocations: 55.36 kB / 0.5022 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.1961, allocations: 12 kB / 0.5022 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.1962, allocations: 19.91 kB / 0.5022 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1962, allocations: 12 kB / 0.5023 GB, free: 9.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003228/0.1965, allocations: 290.9 kB / 0.5025 GB, free: 9.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1965, allocations: 0 / 0.5025 GB, free: 9.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00127/0.1978, allocations: 419.6 kB / 0.5029 GB, free: 8.836 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.002102/0.1999, allocations: 1.449 MB / 0.5043 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.2004, allocations: 237.2 kB / 0.5046 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2004, allocations: 0 / 0.5046 GB, free: 7.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.2005, allocations: 84.73 kB / 0.5047 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.2013, allocations: 114.5 kB / 0.5048 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.512/1.713, allocations: 0.582 GB / 1.087 GB, free: 163.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/1.713, allocations: 0.8092 MB / 1.088 GB, free: 163.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004907/1.714, allocations: 169.3 kB / 1.088 GB, free: 163.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/1.714, allocations: 145.5 kB / 1.088 GB, free: 163 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/1.714, allocations: 0.875 kB / 1.088 GB, free: 163 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/1.75, allocations: 18.3 MB / 1.106 GB, free: 148.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/10.21, allocations: 3.859 kB / 1.106 GB, free: 148.2 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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