Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",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.001128/0.001128, allocations: 103.3 kB / 16.27 MB, free: 6.398 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.001125/0.001126, allocations: 189.2 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.394/1.394, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2142/0.2142, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001423/0.001423, allocations: 69.3 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1114, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.01037/0.1219, allocations: 8.134 MB / 448.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.1244, allocations: 1.901 MB / 450.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.017e-05/0.1245, allocations: 0 / 450.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.1249, allocations: 43.7 kB / 450.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003236/0.1281, allocations: 1.256 MB / 452 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.1285, allocations: 155.4 kB / 452.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.1289, allocations: 302.6 kB / 452.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.129, allocations: 9.562 kB / 452.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.13, allocations: 0.6509 MB / 453.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.1303, allocations: 155.5 kB / 453.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.1303, allocations: 8 kB / 453.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.1325, allocations: 1.299 MB / 454.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.1325, allocations: 35.83 kB / 454.6 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1326, allocations: 75.66 kB / 454.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1337, allocations: 0.6393 MB / 455.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1337, allocations: 7.922 kB / 455.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1337, allocations: 4 kB / 455.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1337, allocations: 0 / 455.3 MB, free: 8.082 MB / 334.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.00108/0.1348, allocations: 0.5926 MB / 455.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.1349, allocations: 11.89 kB / 455.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.436e-05/0.1349, allocations: 54.73 kB / 455.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004368/0.1354, allocations: 48.7 kB / 456 MB, free: 7.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.1356, allocations: 204.2 kB / 456.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1357, allocations: 16.38 kB / 456.2 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1357, allocations: 16.38 kB / 456.2 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.1361, allocations: 248.6 kB / 456.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1361, allocations: 3.938 kB / 456.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.1362, allocations: 12 kB / 456.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1362, allocations: 4 kB / 456.5 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.1365, allocations: 228.6 kB / 456.7 MB, free: 6.535 MB / 334.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.001328/0.1378, allocations: 1.388 MB / 458.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1381, allocations: 82.61 kB / 458.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.692e-05/0.1381, allocations: 40.84 kB / 458.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/0.1402, allocations: 2.649 MB / 460.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.1405, allocations: 167.7 kB / 461 MB, free: 1.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.1405, allocations: 0 / 461 MB, free: 1.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.00095/0.1415, allocations: 363 kB / 461.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.1416, allocations: 266 kB / 461.6 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1417, allocations: 157.7 kB / 461.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1418, allocations: 29.7 kB / 461.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.1419, allocations: 139.8 kB / 462 MB, free: 484 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.1419, allocations: 71.02 kB / 462 MB, free: 412 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.142, allocations: 65.69 kB / 462.1 MB, free: 340 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1421, allocations: 322.8 kB / 462.4 MB, free: 8 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.15e-05/0.1422, allocations: 47.91 kB / 462.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.1424, allocations: 190.7 kB / 462.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.1427, allocations: 254.6 kB / 462.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1427, allocations: 0 / 462.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004104/0.1431, allocations: 261.6 kB / 463.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1432, allocations: 11.98 kB / 463.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1432, allocations: 8 kB / 463.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1432, allocations: 8 kB / 463.2 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.1437, allocations: 104.4 kB / 463.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003574/0.144, allocations: 0.5938 MB / 463.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.1442, allocations: 11.91 kB / 463.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.1442, allocations: 31.92 kB / 463.9 MB, free: 14.34 MB / 350.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.0001291/0.1444, allocations: 141.8 kB / 464.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.1444, allocations: 15.91 kB / 464.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.1449, allocations: 239.5 kB / 464.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1449, allocations: 0 / 464.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.145, allocations: 7.938 kB / 464.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.145, allocations: 0 / 464.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.1453, allocations: 221.5 kB / 464.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.1453, allocations: 4 kB / 464.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.1456, allocations: 51.98 kB / 464.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1456, allocations: 0 / 464.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1457, allocations: 7.984 kB / 464.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002933/0.146, allocations: 0.5938 MB / 465.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.146, allocations: 0 / 465.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1462, allocations: 142.6 kB / 465.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.812e-05/0.1463, allocations: 112.9 kB / 465.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.1464, allocations: 11.91 kB / 465.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.1465, allocations: 0 / 465.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.1465, allocations: 15.98 kB / 465.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.1465, allocations: 7.984 kB / 465.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1467, allocations: 123.2 kB / 465.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1467, allocations: 0 / 465.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006813/0.1474, allocations: 179.9 kB / 465.8 MB, free: 12.34 MB / 350.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.001269/0.1486, allocations: 0.923 MB / 466.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005422/0.1492, allocations: 168.3 kB / 466.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1492, allocations: 0 / 466.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.1494, allocations: 51.91 kB / 466.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1498, allocations: 49.84 kB / 467 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.1528, allocations: 2.506 MB / 469.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1531, allocations: 0.7168 MB / 470.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003313/0.1534, allocations: 81.41 kB / 470.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1535, allocations: 51.42 kB / 470.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1535, allocations: 3.938 kB / 470.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.179, allocations: 7.368 MB / 477.7 MB, free: 184 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.96, allocations: 11.81 kB / 477.7 MB, free: 172 kB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_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_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches