Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001157/0.001156, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 82.45 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1143, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008989/0.1233, allocations: 5.311 MB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003538/0.1269, allocations: 2.639 MB / 488.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1271, allocations: 4 kB / 488.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1275, allocations: 35.75 kB / 488.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.1307, allocations: 1.108 MB / 489.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.1311, allocations: 146.8 kB / 489.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004937/0.1316, allocations: 298.7 kB / 489.7 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.26e-05/0.1317, allocations: 25.47 kB / 489.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.133, allocations: 0.733 MB / 490.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.1333, allocations: 151.5 kB / 490.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.1333, allocations: 11.94 kB / 490.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.1354, allocations: 1.286 MB / 491.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.68e-05/0.1355, allocations: 39.77 kB / 491.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1356, allocations: 79.66 kB / 492 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.1369, allocations: 0.5418 MB / 492.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1369, allocations: 3.938 kB / 492.5 MB, free: 8.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1369, allocations: 4 kB / 492.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.137, allocations: 7.984 kB / 492.5 MB, free: 8.723 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001213/0.1382, allocations: 0.5536 MB / 493.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.1382, allocations: 12.03 kB / 493.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.293e-05/0.1383, allocations: 46.73 kB / 493.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005131/0.1388, allocations: 52.7 kB / 493.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1391, allocations: 208.1 kB / 493.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1391, allocations: 24.12 kB / 493.4 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.1391, allocations: 12 kB / 493.4 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.1396, allocations: 240.5 kB / 493.7 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1396, allocations: 3.938 kB / 493.7 MB, free: 7.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.1396, allocations: 19.98 kB / 493.7 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.1397, allocations: 4 kB / 493.7 MB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.1401, allocations: 233.4 kB / 493.9 MB, free: 7.203 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.00154/0.1416, allocations: 1.357 MB / 495.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1418, allocations: 90.61 kB / 495.4 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.1419, allocations: 36.84 kB / 495.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/0.1437, allocations: 2.055 MB / 497.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003009/0.144, allocations: 169.5 kB / 497.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.144, allocations: 3.938 kB / 497.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001029/0.145, allocations: 364.2 kB / 498 MB, free: 2.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.1452, allocations: 261 kB / 498.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1454, allocations: 149.7 kB / 498.4 MB, free: 2.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1454, allocations: 33.7 kB / 498.4 MB, free: 2.016 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.1455, allocations: 143.7 kB / 498.6 MB, free: 1.871 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.1455, allocations: 67.11 kB / 498.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.1456, allocations: 69.69 kB / 498.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1458, allocations: 322.8 kB / 499 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.1459, allocations: 47.91 kB / 499.1 MB, free: 1.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.146, allocations: 182.7 kB / 499.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.1463, allocations: 258.1 kB / 499.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1464, allocations: 8 kB / 499.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004319/0.1468, allocations: 257.5 kB / 499.7 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1468, allocations: 4 kB / 499.8 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1468, allocations: 8 kB / 499.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1469, allocations: 4 kB / 499.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.1473, allocations: 103.8 kB / 499.9 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005139/0.1479, allocations: 0.6057 MB / 0.4887 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.148, allocations: 11.94 kB / 0.4888 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.1481, allocations: 23.98 kB / 0.4888 GB, free: 15.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001242/0.1482, allocations: 137.8 kB / 0.4889 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.1483, allocations: 15.81 kB / 0.4889 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005224/0.1488, allocations: 231.9 kB / 0.4891 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1488, allocations: 0 / 0.4891 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1488, allocations: 7.938 kB / 0.4892 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1488, allocations: 480 / 0.4892 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.1493, allocations: 444.8 kB / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1493, allocations: 0 / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.1496, allocations: 47.91 kB / 0.4896 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1496, allocations: 12.03 kB / 0.4896 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1497, allocations: 7.922 kB / 0.4896 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002851/0.1499, allocations: 0.5821 MB / 0.4902 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.15, allocations: 0 / 0.4902 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.1502, allocations: 154.6 kB / 0.4904 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.759e-05/0.1503, allocations: 101 kB / 0.4905 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.1503, allocations: 7.938 kB / 0.4905 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1504, allocations: 4 kB / 0.4905 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.1505, allocations: 7.984 kB / 0.4905 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1505, allocations: 12 kB / 0.4905 GB, free: 13.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.1506, allocations: 123.2 kB / 0.4906 GB, free: 13.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1506, allocations: 0 / 0.4906 GB, free: 13.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.1511, allocations: 143.9 kB / 0.4907 GB, free: 13.56 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001078/0.1522, allocations: 0.853 MB / 0.4916 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004817/0.1527, allocations: 172.2 kB / 0.4917 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1527, allocations: 0 / 0.4917 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.1529, allocations: 47.91 kB / 0.4918 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.1533, allocations: 63.52 kB / 0.4918 GB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.1567, allocations: 2.504 MB / 0.4943 GB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.1571, allocations: 0.7128 MB / 0.495 GB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002957/0.1574, allocations: 73.72 kB / 0.4951 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1575, allocations: 55.42 kB / 0.4951 GB, free: 8.812 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1575, allocations: 0 / 0.4951 GB, free: 8.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.1867, allocations: 6.643 MB / 0.5016 GB, free: 2.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.56, allocations: 1.422 kB / 0.5016 GB, free: 2.355 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_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_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches