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.0007663/0.0007662, allocations: 96.3 kB / 17.35 MB, free: 6.371 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.0009124/0.0009125, allocations: 172.5 kB / 18.25 MB, free: 5.527 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.331/1.331, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2059/0.2059, allocations: 44.24 MB / 337.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002946, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 61.91 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.006878/0.1236, allocations: 4.952 MB / 477.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003846/0.1275, allocations: 2.636 MB / 479.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1276, allocations: 0 / 479.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.1279, allocations: 35.81 kB / 480 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.1311, allocations: 0.9802 MB / 481 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.1315, allocations: 149.6 kB / 481.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.132, allocations: 330.7 kB / 481.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.44e-05/0.1321, allocations: 9.562 kB / 481.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.1335, allocations: 0.8419 MB / 482.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.1338, allocations: 163.5 kB / 482.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.134, allocations: 8 kB / 482.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.1364, allocations: 1.365 MB / 483.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.628e-05/0.1365, allocations: 31.91 kB / 483.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.1367, allocations: 101.3 kB / 483.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.1379, allocations: 0.5379 MB / 484.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1379, allocations: 4 kB / 484.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.138, allocations: 0 / 484.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.138, allocations: 0 / 484.5 MB, free: 1.066 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.001097/0.1391, allocations: 0.5207 MB / 485 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1391, allocations: 12.03 kB / 485 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.462e-05/0.1392, allocations: 46.73 kB / 485.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004852/0.1397, allocations: 48.72 kB / 485.1 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.14, allocations: 216 kB / 485.3 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.14, allocations: 28.05 kB / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.14, allocations: 12 kB / 485.4 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.1405, allocations: 241.7 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1405, allocations: 4 kB / 485.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.1405, allocations: 12 kB / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1405, allocations: 4 kB / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.141, allocations: 232.5 kB / 485.8 MB, free: 15.58 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.001789/0.1428, allocations: 1.353 MB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.143, allocations: 98.53 kB / 487.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.019e-05/0.1431, allocations: 40.83 kB / 487.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/0.1452, allocations: 2.055 MB / 489.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.1455, allocations: 167 kB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.444e-06/0.1455, allocations: 0 / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001152/0.1467, allocations: 360 kB / 489.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002879/0.147, allocations: 265 kB / 490.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1472, allocations: 152.5 kB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.1472, allocations: 29.7 kB / 490.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.1473, allocations: 155.7 kB / 490.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.1474, allocations: 63.11 kB / 490.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.1475, allocations: 29.7 kB / 490.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.1477, allocations: 326.9 kB / 490.9 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.1477, allocations: 43.97 kB / 490.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.1479, allocations: 179.5 kB / 491.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.1483, allocations: 258.6 kB / 491.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.1483, allocations: 4 kB / 491.4 MB, free: 9.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004541/0.1487, allocations: 253.5 kB / 491.6 MB, free: 8.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1488, allocations: 10.28 kB / 491.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.1488, allocations: 11.98 kB / 491.6 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1488, allocations: 4 kB / 491.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/0.1494, allocations: 103.8 kB / 491.7 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004088/0.1498, allocations: 0.5939 MB / 492.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.15, allocations: 20.03 kB / 492.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.15, allocations: 23.98 kB / 492.4 MB, free: 8.164 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.0001371/0.1502, allocations: 129.8 kB / 492.5 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.1502, allocations: 19.81 kB / 492.5 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.1507, allocations: 231.8 kB / 492.8 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1507, allocations: 4 kB / 492.8 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1507, allocations: 3.938 kB / 492.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1507, allocations: 0 / 492.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.1512, allocations: 452.8 kB / 493.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1512, allocations: 0 / 493.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.1516, allocations: 48.06 kB / 493.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.1517, allocations: 15.92 kB / 493.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1517, allocations: 0 / 493.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004307/0.1521, allocations: 0.5822 MB / 493.9 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1521, allocations: 3.938 kB / 493.9 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.1523, allocations: 154.5 kB / 494 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.1524, allocations: 112.9 kB / 494.1 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.1525, allocations: 4 kB / 494.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1526, allocations: 11.89 kB / 494.1 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.1527, allocations: 4 kB / 494.1 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.1527, allocations: 15.98 kB / 494.2 MB, free: 6.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1528, allocations: 127.8 kB / 494.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1528, allocations: 4 kB / 494.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000556/0.1534, allocations: 135.9 kB / 494.4 MB, free: 5.949 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.00118/0.1546, allocations: 0.835 MB / 495.2 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004989/0.1551, allocations: 154.7 kB / 495.4 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.1551, allocations: 4 kB / 495.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.1553, allocations: 55.91 kB / 495.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.1558, allocations: 57.23 kB / 495.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.1595, allocations: 2.576 MB / 498.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1598, allocations: 0.7089 MB / 498.8 MB, free: 1.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.1601, allocations: 85.83 kB / 498.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.1602, allocations: 55.42 kB / 498.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1602, allocations: 0 / 498.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.1801, allocations: 6.233 MB / 0.4933 GB, free: 11.15 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002856/0.1804, allocations: 299.8 kB / 0.4936 GB, free: 10.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.144, allocations: 3.75 kB / 0.4936 GB, free: 10.77 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