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.001505/0.001505, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 76.38 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.145, allocations: 62.46 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008589/0.1537, allocations: 5.414 MB / 484.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.157, allocations: 2.671 MB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.1572, allocations: 7.938 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.1575, allocations: 31.81 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.1604, allocations: 0.9966 MB / 488.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.1608, allocations: 147 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000538/0.1613, allocations: 334.7 kB / 489 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.1614, allocations: 13.48 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.1628, allocations: 0.8498 MB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.1631, allocations: 167.5 kB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.1632, allocations: 4 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.1655, allocations: 1.404 MB / 491.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.971e-05/0.1656, allocations: 35.83 kB / 491.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1658, allocations: 79.66 kB / 491.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.167, allocations: 0.5418 MB / 492.1 MB, free: 8.902 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.167, allocations: 0 / 492.1 MB, free: 8.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.167, allocations: 0 / 492.1 MB, free: 8.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.167, allocations: 0 / 492.1 MB, free: 8.902 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.00112/0.1681, allocations: 0.5654 MB / 492.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1682, allocations: 8.875 kB / 492.6 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.1683, allocations: 50.73 kB / 492.7 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/0.1687, allocations: 44.72 kB / 492.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.169, allocations: 220 kB / 493 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.169, allocations: 16.12 kB / 493 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.1691, allocations: 19.94 kB / 493 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.1695, allocations: 244.6 kB / 493.2 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1695, allocations: 3.938 kB / 493.2 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.1696, allocations: 12 kB / 493.2 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1696, allocations: 4 kB / 493.3 MB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.17, allocations: 228.6 kB / 493.5 MB, free: 7.375 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.00149/0.1715, allocations: 1.361 MB / 494.8 MB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1718, allocations: 90.59 kB / 494.9 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.1718, allocations: 40.78 kB / 495 MB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/0.1736, allocations: 2.055 MB / 497 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/0.174, allocations: 170.9 kB / 497.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/0.174, allocations: 0 / 497.2 MB, free: 3.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009768/0.175, allocations: 355.1 kB / 497.5 MB, free: 2.699 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.1752, allocations: 266 kB / 497.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1753, allocations: 157.3 kB / 497.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.1754, allocations: 29.7 kB / 498 MB, free: 2.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.397e-05/0.1755, allocations: 147.7 kB / 498.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.237e-05/0.1755, allocations: 63.09 kB / 498.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.1756, allocations: 65.55 kB / 498.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1758, allocations: 322.8 kB / 498.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.1759, allocations: 43.97 kB / 498.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.1761, allocations: 187.5 kB / 498.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.1764, allocations: 262.7 kB / 499 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1764, allocations: 0 / 499 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004573/0.1769, allocations: 257.1 kB / 499.3 MB, free: 0.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1769, allocations: 8 kB / 499.3 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1769, allocations: 4.656 kB / 499.3 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1769, allocations: 11.94 kB / 499.3 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.1774, allocations: 107.9 kB / 499.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000413/0.1778, allocations: 0.5975 MB / 0.4883 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.178, allocations: 19.92 kB / 0.4883 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.1781, allocations: 20 kB / 0.4883 GB, free: 15.92 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.0001369/0.1782, allocations: 137.9 kB / 0.4885 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.1783, allocations: 15.81 kB / 0.4885 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.1788, allocations: 235.7 kB / 0.4887 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1788, allocations: 0 / 0.4887 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.1788, allocations: 3.938 kB / 0.4887 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.1788, allocations: 4.062 kB / 0.4887 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.1793, allocations: 440.9 kB / 0.4891 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1794, allocations: 0 / 0.4891 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.1797, allocations: 55.89 kB / 0.4892 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.1797, allocations: 3.938 kB / 0.4892 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1798, allocations: 4 kB / 0.4892 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003506/0.1801, allocations: 0.5822 MB / 0.4898 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1801, allocations: 3.938 kB / 0.4898 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1804, allocations: 146.6 kB / 0.4899 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.329e-05/0.1805, allocations: 93 kB / 0.49 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.1805, allocations: 7.938 kB / 0.49 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.1807, allocations: 20.08 kB / 0.49 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.1807, allocations: 4 kB / 0.49 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.1807, allocations: 19.92 kB / 0.49 GB, free: 13.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1809, allocations: 123.8 kB / 0.4902 GB, free: 13.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1809, allocations: 0 / 0.4902 GB, free: 13.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006175/0.1815, allocations: 139.9 kB / 0.4903 GB, free: 13.73 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.001297/0.1828, allocations: 0.8508 MB / 0.4911 GB, free: 12.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005321/0.1833, allocations: 152.8 kB / 0.4913 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1834, allocations: 0 / 0.4913 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.1836, allocations: 56.16 kB / 0.4913 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.184, allocations: 51.88 kB / 0.4914 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.1876, allocations: 2.555 MB / 0.4939 GB, free: 9.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.188, allocations: 0.7244 MB / 0.4946 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003116/0.1883, allocations: 73.72 kB / 0.4947 GB, free: 8.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1884, allocations: 59.41 kB / 0.4947 GB, free: 8.934 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1884, allocations: 0 / 0.4947 GB, free: 8.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.2118, allocations: 6.427 MB / 0.501 GB, free: 2.711 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/0.2122, allocations: 299.8 kB / 0.5013 GB, free: 2.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.363, allocations: 4 kB / 0.5013 GB, free: 2.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches