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.001423/0.001423, 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.001759/0.00176, 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.406/1.406, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2295/0.2295, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.44 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.134, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.008426/0.1425, allocations: 5.07 MB / 484.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005801/0.1483, allocations: 4.583 MB / 489 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.1486, allocations: 7.938 kB / 489 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.149, allocations: 43.8 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.1511, allocations: 0.6024 MB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.1515, allocations: 154.6 kB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006979/0.1522, allocations: 438 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.1523, allocations: 13.69 kB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/0.1525, allocations: 151.4 kB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1527, allocations: 127.5 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1528, allocations: 8 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.1538, allocations: 371.4 kB / 490.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.976e-05/0.1539, allocations: 47.8 kB / 491 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.1541, allocations: 111.5 kB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.1548, allocations: 427.2 kB / 491.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1548, allocations: 0 / 491.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1548, allocations: 0 / 491.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1548, allocations: 0 / 491.5 MB, free: 9.469 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.001139/0.1559, allocations: 0.5852 MB / 492.1 MB, free: 8.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.156, allocations: 16.88 kB / 492.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.183e-05/0.1561, allocations: 62.72 kB / 492.2 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.1562, allocations: 24.75 kB / 492.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1565, allocations: 228 kB / 492.4 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.1567, allocations: 123.9 kB / 492.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.1567, allocations: 24.12 kB / 492.5 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.1572, allocations: 327.6 kB / 492.9 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1573, allocations: 0 / 492.9 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.1573, allocations: 12 kB / 492.9 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.1573, allocations: 4 kB / 492.9 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.1582, allocations: 0.7391 MB / 493.6 MB, free: 7.195 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.001442/0.1596, allocations: 1.242 MB / 494.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.1599, allocations: 158.8 kB / 495 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1601, allocations: 72.83 kB / 495.1 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002414/0.1625, allocations: 2.67 MB / 497.8 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1625, allocations: 30.56 kB / 497.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 3.656e-06/0.1626, allocations: 0 / 497.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007094/0.1633, allocations: 224.7 kB / 498 MB, free: 2.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.1633, allocations: 59.41 kB / 498.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1635, allocations: 218.5 kB / 498.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1636, allocations: 29.7 kB / 498.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.1637, allocations: 210.8 kB / 498.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.1638, allocations: 47.36 kB / 498.6 MB, free: 1.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.5e-05/0.1639, allocations: 85.94 kB / 498.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.164, allocations: 326.8 kB / 499 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.351e-05/0.1641, allocations: 52.84 kB / 499 MB, free: 1.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.1644, allocations: 312.3 kB / 499.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.1649, allocations: 415.5 kB / 499.7 MB, free: 140 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1649, allocations: 4 kB / 499.7 MB, free: 136 kB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005434/0.1654, allocations: 365.8 kB / 0.4884 GB, free: 15.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1654, allocations: 8 kB / 0.4884 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1655, allocations: 12.09 kB / 0.4884 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.1655, allocations: 15.94 kB / 0.4884 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.1658, allocations: 107.8 kB / 0.4885 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.1659, allocations: 23.88 kB / 0.4885 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.1661, allocations: 23.97 kB / 0.4885 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.1662, allocations: 24 kB / 0.4886 GB, free: 15.55 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.0001364/0.1663, allocations: 153.5 kB / 0.4887 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.1664, allocations: 23.72 kB / 0.4887 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.1667, allocations: 150.5 kB / 0.4889 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.1667, allocations: 7.938 kB / 0.4889 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1667, allocations: 0 / 0.4889 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1667, allocations: 7.984 kB / 0.4889 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005351/0.1673, allocations: 431.2 kB / 0.4893 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1673, allocations: 3.938 kB / 0.4893 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.1675, allocations: 35.97 kB / 0.4893 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1675, allocations: 0 / 0.4893 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1675, allocations: 4 kB / 0.4894 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1675, allocations: 0 / 0.4894 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1675, allocations: 7.969 kB / 0.4894 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1677, allocations: 216.2 kB / 0.4896 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.1678, allocations: 108.7 kB / 0.4897 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.1679, allocations: 8 kB / 0.4897 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.1681, allocations: 11.94 kB / 0.4897 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.1681, allocations: 19.98 kB / 0.4897 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1681, allocations: 7.984 kB / 0.4897 GB, free: 14.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.1683, allocations: 148.5 kB / 0.4899 GB, free: 14.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1683, allocations: 0 / 0.4899 GB, free: 14.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.1688, allocations: 95.98 kB / 0.4899 GB, free: 14.04 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.0008322/0.1696, allocations: 0.8184 MB / 0.4907 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.1699, allocations: 173.7 kB / 0.4909 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.1699, allocations: 4.312 kB / 0.4909 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.17, allocations: 43.42 kB / 0.491 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.1705, allocations: 48.34 kB / 0.491 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.1736, allocations: 2.765 MB / 0.4937 GB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.174, allocations: 0.7403 MB / 0.4944 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002833/0.1743, allocations: 54.83 kB / 0.4945 GB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1744, allocations: 71.41 kB / 0.4945 GB, free: 8.941 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1744, allocations: 4 kB / 0.4946 GB, free: 8.938 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.1927, allocations: 5.365 MB / 0.4998 GB, free: 3.719 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003162/0.193, allocations: 219.9 kB / 0.5 GB, free: 3.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.179, allocations: 4.062 kB / 0.5 GB, free: 3.461 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