Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001122/0.001123, allocations: 103.8 kB / 17.63 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001345/0.001345, allocations: 206.4 kB / 18.58 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2217/0.2217, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.00141, allocations: 79.78 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1263, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.0068/0.1332, allocations: 5.027 MB / 485.2 MB, free: 132 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005057/0.1383, allocations: 4.567 MB / 489.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.1385, allocations: 0 / 489.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.1388, allocations: 63.58 kB / 489.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.1406, allocations: 0.6681 MB / 490.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.141, allocations: 150.4 kB / 490.6 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.1416, allocations: 370.1 kB / 491 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.705e-05/0.1416, allocations: 17.67 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.142, allocations: 151.5 kB / 491.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.1422, allocations: 123.5 kB / 491.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.1423, allocations: 8 kB / 491.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008877/0.1432, allocations: 347.6 kB / 491.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.477e-05/0.1432, allocations: 47.77 kB / 491.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.1434, allocations: 99.52 kB / 491.7 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008519/0.1442, allocations: 431.2 kB / 492.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1443, allocations: 0 / 492.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1443, allocations: 0 / 492.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1443, allocations: 0 / 492.2 MB, free: 9.109 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00121/0.1455, allocations: 0.5891 MB / 492.7 MB, free: 8.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1455, allocations: 8.031 kB / 492.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.018e-05/0.1456, allocations: 66.72 kB / 492.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.1458, allocations: 28.75 kB / 492.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1461, allocations: 224 kB / 493.1 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.1462, allocations: 123.9 kB / 493.2 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.1463, allocations: 24.12 kB / 493.2 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.1468, allocations: 327.6 kB / 493.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1468, allocations: 0 / 493.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.568e-05/0.1468, allocations: 12 kB / 493.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.1469, allocations: 7.938 kB / 493.5 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.1476, allocations: 0.7391 MB / 494.3 MB, free: 6.828 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.001219/0.1489, allocations: 1.246 MB / 495.5 MB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1492, allocations: 154.8 kB / 495.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.1493, allocations: 72.83 kB / 495.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002171/0.1515, allocations: 2.663 MB / 498.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1515, allocations: 34.5 kB / 498.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.1515, allocations: 7.938 kB / 498.5 MB, free: 2.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.000686/0.1522, allocations: 228.3 kB / 498.7 MB, free: 1.789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1523, allocations: 55.39 kB / 498.7 MB, free: 1.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1525, allocations: 218.6 kB / 498.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1525, allocations: 29.7 kB / 499 MB, free: 1.465 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1526, allocations: 210.8 kB / 499.2 MB, free: 1.254 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.1527, allocations: 47.36 kB / 499.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1528, allocations: 89.88 kB / 499.3 MB, free: 1.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1529, allocations: 330.8 kB / 499.6 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.153, allocations: 44.84 kB / 499.7 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.1533, allocations: 316.3 kB / 500 MB, free: 308 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.1537, allocations: 415.5 kB / 0.4887 GB, free: 15.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1537, allocations: 4 kB / 0.4887 GB, free: 15.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000579/0.1543, allocations: 365.6 kB / 0.489 GB, free: 15.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1543, allocations: 8.188 kB / 0.489 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1543, allocations: 16 kB / 0.489 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.1544, allocations: 19.92 kB / 0.4891 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.1547, allocations: 103.8 kB / 0.4892 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.1547, allocations: 19.92 kB / 0.4892 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.155, allocations: 23.98 kB / 0.4892 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.155, allocations: 27.98 kB / 0.4892 GB, free: 15.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.1551, allocations: 149.6 kB / 0.4894 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.1552, allocations: 15.81 kB / 0.4894 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.1555, allocations: 154.9 kB / 0.4895 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.1555, allocations: 11.94 kB / 0.4895 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1555, allocations: 3.984 kB / 0.4896 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1555, allocations: 0 / 0.4896 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.156, allocations: 427.2 kB / 0.49 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1561, allocations: 7.922 kB / 0.49 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.1562, allocations: 31.98 kB / 0.49 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1562, allocations: 4 kB / 0.49 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1562, allocations: 0 / 0.49 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1563, allocations: 0 / 0.49 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1563, allocations: 8.031 kB / 0.49 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.1565, allocations: 216.1 kB / 0.4902 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-05/0.1566, allocations: 104.8 kB / 0.4903 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.1566, allocations: 15.78 kB / 0.4903 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.1568, allocations: 4 kB / 0.4903 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.1568, allocations: 15.98 kB / 0.4904 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1569, allocations: 11.98 kB / 0.4904 GB, free: 13.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.157, allocations: 144.5 kB / 0.4905 GB, free: 13.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.157, allocations: 3.938 kB / 0.4905 GB, free: 13.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004774/0.1575, allocations: 99.98 kB / 0.4906 GB, free: 13.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007677/0.1583, allocations: 0.8217 MB / 0.4914 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.1586, allocations: 185.7 kB / 0.4916 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1586, allocations: 256 / 0.4916 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.676e-05/0.1587, allocations: 39.92 kB / 0.4916 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1591, allocations: 47.66 kB / 0.4917 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.1618, allocations: 2.704 MB / 0.4943 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1621, allocations: 0.7285 MB / 0.495 GB, free: 8.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002486/0.1624, allocations: 54.84 kB / 0.4951 GB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/0.1625, allocations: 67.41 kB / 0.4951 GB, free: 8.648 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1625, allocations: 0 / 0.4951 GB, free: 8.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.1858, allocations: 5.571 MB / 0.5006 GB, free: 3.203 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.49, allocations: 15.36 kB / 0.5006 GB, free: 3.199 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches