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.0008071/0.0008068, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2012/0.2012, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002404, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1123, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006875/0.1192, allocations: 4.673 MB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005068/0.1244, allocations: 4.517 MB / 492.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.1246, allocations: 4 kB / 492.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.1249, allocations: 47.78 kB / 492.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.1275, allocations: 0.6024 MB / 493 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.128, allocations: 154.2 kB / 493.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008519/0.1289, allocations: 438 kB / 493.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.789e-05/0.129, allocations: 13.69 kB / 493.6 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.1293, allocations: 151.4 kB / 493.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1296, allocations: 127.5 kB / 493.9 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.1296, allocations: 8 kB / 493.9 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.1308, allocations: 367.5 kB / 494.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.1309, allocations: 47.75 kB / 494.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.1311, allocations: 129.2 kB / 494.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009956/0.1321, allocations: 423.2 kB / 494.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1321, allocations: 7.984 kB / 494.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1321, allocations: 3.938 kB / 494.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1322, allocations: 0 / 494.8 MB, free: 8.344 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.001309/0.1335, allocations: 0.5306 MB / 495.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.1336, allocations: 12.88 kB / 495.4 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.1337, allocations: 58.73 kB / 495.4 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.1339, allocations: 32.73 kB / 495.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.1342, allocations: 228 kB / 495.7 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.1344, allocations: 123.9 kB / 495.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.1345, allocations: 28.12 kB / 495.8 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.1352, allocations: 331.6 kB / 496.2 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1352, allocations: 0 / 496.2 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.1353, allocations: 8 kB / 496.2 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.1353, allocations: 8 kB / 496.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.1365, allocations: 0.7352 MB / 496.9 MB, free: 6.121 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.001689/0.1382, allocations: 1.249 MB / 498.2 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003981/0.1386, allocations: 142.9 kB / 498.3 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.1388, allocations: 80.81 kB / 498.4 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002974/0.1418, allocations: 2.663 MB / 0.4893 GB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.1418, allocations: 34.56 kB / 0.4893 GB, free: 1.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.023e-06/0.1418, allocations: 3.938 kB / 0.4893 GB, free: 1.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009235/0.1428, allocations: 224.7 kB / 0.4896 GB, free: 1.086 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.1428, allocations: 55.41 kB / 0.4896 GB, free: 1.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.1431, allocations: 222.5 kB / 0.4898 GB, free: 0.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1431, allocations: 25.7 kB / 0.4898 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.1433, allocations: 206.8 kB / 0.49 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.1434, allocations: 51.34 kB / 0.4901 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.1435, allocations: 41.7 kB / 0.4901 GB, free: 468 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1436, allocations: 330.8 kB / 0.4905 GB, free: 128 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.1438, allocations: 48.84 kB / 0.4905 GB, free: 80 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.1442, allocations: 312.3 kB / 0.4908 GB, free: 15.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.1448, allocations: 411.5 kB / 0.4912 GB, free: 15.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.1448, allocations: 4 kB / 0.4912 GB, free: 15.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008161/0.1456, allocations: 369 kB / 0.4915 GB, free: 14.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.1457, allocations: 12 kB / 0.4916 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.1457, allocations: 8 kB / 0.4916 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/0.1457, allocations: 16.72 kB / 0.4916 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/0.1463, allocations: 111.8 kB / 0.4917 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-05/0.1463, allocations: 15.94 kB / 0.4917 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.1467, allocations: 27.89 kB / 0.4917 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.1467, allocations: 28 kB / 0.4918 GB, free: 14.53 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.000179/0.1469, allocations: 149.5 kB / 0.4919 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.147, allocations: 19.81 kB / 0.4919 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.1475, allocations: 158.4 kB / 0.4921 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.1475, allocations: 3.938 kB / 0.4921 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1475, allocations: 0 / 0.4921 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1475, allocations: 3.984 kB / 0.4921 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/0.1482, allocations: 435.2 kB / 0.4925 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1482, allocations: 3.938 kB / 0.4925 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.1485, allocations: 35.97 kB / 0.4925 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1485, allocations: 3.938 kB / 0.4925 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.1485, allocations: 4 kB / 0.4925 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1485, allocations: 0 / 0.4925 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1485, allocations: 0 / 0.4925 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.1488, allocations: 220.1 kB / 0.4927 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.149, allocations: 108.8 kB / 0.4928 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.149, allocations: 7.938 kB / 0.4929 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.1493, allocations: 11.98 kB / 0.4929 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1494, allocations: 11.97 kB / 0.4929 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.1494, allocations: 4 kB / 0.4929 GB, free: 13.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.1496, allocations: 160.5 kB / 0.493 GB, free: 13.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1496, allocations: 0 / 0.493 GB, free: 13.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000697/0.1503, allocations: 88 kB / 0.4931 GB, free: 13.02 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.0009235/0.1512, allocations: 0.8222 MB / 0.4939 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004318/0.1517, allocations: 185.2 kB / 0.4941 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1517, allocations: 0 / 0.4941 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.1518, allocations: 40.48 kB / 0.4941 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006288/0.1524, allocations: 52.41 kB / 0.4942 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.1564, allocations: 2.812 MB / 0.4969 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1566, allocations: 0.7326 MB / 0.4976 GB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.1569, allocations: 54.83 kB / 0.4977 GB, free: 7.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.157, allocations: 71.41 kB / 0.4978 GB, free: 7.867 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.157, allocations: 0 / 0.4978 GB, free: 7.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.1726, allocations: 5.302 MB / 0.5029 GB, free: 2.738 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.1728, allocations: 223.3 kB / 0.5032 GB, free: 2.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.152, allocations: 0 / 0.5032 GB, free: 2.48 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