Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",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.001399/0.001399, allocations: 111 kB / 17.33 MB, free: 5.988 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.001621/0.001621, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 44.17 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 69.17 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1295, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.006746/0.1363, allocations: 5.283 MB / 474.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.1389, allocations: 2.639 MB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.139, allocations: 0 / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.1392, allocations: 31.83 kB / 476.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.1415, allocations: 1.019 MB / 477.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.1418, allocations: 141.2 kB / 477.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.1421, allocations: 290.7 kB / 478.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.1422, allocations: 13.56 kB / 478.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.1433, allocations: 0.8654 MB / 479.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1435, allocations: 159.5 kB / 479.3 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1436, allocations: 8 kB / 479.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.1454, allocations: 1.388 MB / 480.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/0.1454, allocations: 35.77 kB / 480.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.353e-05/0.1455, allocations: 79.66 kB / 480.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007179/0.1463, allocations: 0.5379 MB / 481.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1463, allocations: 4 kB / 481.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1463, allocations: 0 / 481.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1463, allocations: 0 / 481.3 MB, free: 2.125 MB / 350.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.0009275/0.1472, allocations: 0.5575 MB / 481.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1473, allocations: 12.03 kB / 481.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.1473, allocations: 46.73 kB / 481.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/0.1478, allocations: 48.72 kB / 482 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.148, allocations: 216 kB / 482.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.148, allocations: 20.12 kB / 482.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.148, allocations: 16 kB / 482.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003896/0.1484, allocations: 233.8 kB / 482.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1484, allocations: 4 kB / 482.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.1485, allocations: 12 kB / 482.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1485, allocations: 7.938 kB / 482.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.1488, allocations: 236.6 kB / 482.7 MB, free: 0.6055 MB / 350.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.001213/0.15, allocations: 1.357 MB / 484.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1502, allocations: 94.59 kB / 484.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.1503, allocations: 44.77 kB / 484.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/0.1519, allocations: 2.039 MB / 486.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.1522, allocations: 174.8 kB / 486.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.1522, allocations: 0 / 486.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008547/0.153, allocations: 360.1 kB / 486.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.1532, allocations: 265 kB / 487 MB, free: 11.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1533, allocations: 156.1 kB / 487.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.1533, allocations: 33.7 kB / 487.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.1534, allocations: 139.8 kB / 487.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.1535, allocations: 71.08 kB / 487.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.807e-05/0.1535, allocations: 65.59 kB / 487.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1536, allocations: 326.9 kB / 487.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.1537, allocations: 39.98 kB / 487.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.1539, allocations: 186.7 kB / 488 MB, free: 10.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.1542, allocations: 255.2 kB / 488.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1542, allocations: 4 kB / 488.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003933/0.1546, allocations: 261.5 kB / 488.5 MB, free: 9.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1546, allocations: 8 kB / 488.5 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1546, allocations: 4 kB / 488.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1546, allocations: 8 kB / 488.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.1551, allocations: 103.8 kB / 488.6 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003099/0.1554, allocations: 0.6017 MB / 489.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1556, allocations: 20 kB / 489.3 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.1556, allocations: 20 kB / 489.3 MB, free: 9.148 MB / 366.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.0001167/0.1557, allocations: 129.8 kB / 489.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.1558, allocations: 23.8 kB / 489.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.1563, allocations: 227.8 kB / 489.6 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1563, allocations: 4 kB / 489.7 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1563, allocations: 3.938 kB / 489.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1563, allocations: 3.984 kB / 489.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.1567, allocations: 432.9 kB / 490.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1567, allocations: 0 / 490.1 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.157, allocations: 67.97 kB / 490.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1571, allocations: 3.938 kB / 490.2 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.1571, allocations: 0 / 490.2 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002727/0.1574, allocations: 0.5822 MB / 490.7 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1574, allocations: 0 / 490.7 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.1576, allocations: 158.5 kB / 490.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.1576, allocations: 93 kB / 491 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.1577, allocations: 7.938 kB / 491 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1578, allocations: 15.98 kB / 491 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.1579, allocations: 7.984 kB / 491 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1579, allocations: 4 kB / 491 MB, free: 7.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.158, allocations: 135.8 kB / 491.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.158, allocations: 4 kB / 491.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004555/0.1585, allocations: 135.9 kB / 491.3 MB, free: 6.953 MB / 366.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.0008643/0.1593, allocations: 0.8433 MB / 492.1 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004405/0.1598, allocations: 160 kB / 492.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1598, allocations: 0 / 492.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.16, allocations: 59.83 kB / 492.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1603, allocations: 53.02 kB / 492.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.1632, allocations: 2.546 MB / 494.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1634, allocations: 0.7128 MB / 495.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.1637, allocations: 73.72 kB / 495.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.1638, allocations: 59.39 kB / 495.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of SimCode: time 1.763e-06/0.1639, allocations: 0 / 495.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.1837, allocations: 6.46 MB / 0.4905 GB, free: 11.97 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/0.184, allocations: 309.8 kB / 0.4908 GB, free: 11.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.292, allocations: 0 / 0.4908 GB, free: 11.58 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches