Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.00101/0.00101, allocations: 92.72 kB / 17.35 MB, free: 6.375 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.001287/0.001287, allocations: 181.8 kB / 18.26 MB, free: 5.52 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.323/1.323, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2081/0.2081, allocations: 44.24 MB / 337.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002953, allocations: 6 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 61.93 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.00558/0.1232, allocations: 4.592 MB / 477 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004744/0.128, allocations: 4.501 MB / 481.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.1282, allocations: 4 kB / 481.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.1285, allocations: 51.67 kB / 481.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.1302, allocations: 0.5907 MB / 482.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1306, allocations: 160 kB / 482.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006081/0.1312, allocations: 442.1 kB / 482.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.1313, allocations: 9.688 kB / 482.7 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.1315, allocations: 147.4 kB / 482.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.1318, allocations: 139.4 kB / 483 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.1318, allocations: 4 kB / 483 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007651/0.1326, allocations: 351.6 kB / 483.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.1327, allocations: 47.75 kB / 483.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.1328, allocations: 133.2 kB / 483.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007511/0.1336, allocations: 423.1 kB / 483.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1336, allocations: 0 / 483.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1336, allocations: 0 / 483.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1336, allocations: 0 / 483.9 MB, free: 1.605 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009081/0.1345, allocations: 0.5345 MB / 484.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1346, allocations: 12.03 kB / 484.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.998e-05/0.1347, allocations: 62.72 kB / 484.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.1348, allocations: 24.75 kB / 484.5 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1351, allocations: 224 kB / 484.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.1352, allocations: 127.9 kB / 484.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.1352, allocations: 28.12 kB / 484.9 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/0.1357, allocations: 319.6 kB / 485.2 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1357, allocations: 4 kB / 485.2 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.1358, allocations: 8 kB / 485.2 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.1358, allocations: 12 kB / 485.2 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00075/0.1366, allocations: 0.739 MB / 486 MB, free: 15.38 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.001207/0.1378, allocations: 1.253 MB / 487.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.1381, allocations: 142.8 kB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1382, allocations: 76.58 kB / 487.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001993/0.1402, allocations: 2.655 MB / 490.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1402, allocations: 34.56 kB / 490.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1402, allocations: 4 kB / 490.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005859/0.1408, allocations: 227.3 kB / 490.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.1409, allocations: 51.41 kB / 490.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1411, allocations: 215.8 kB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.1411, allocations: 29.7 kB / 490.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1412, allocations: 210.8 kB / 490.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.1412, allocations: 47.36 kB / 490.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.1413, allocations: 41.69 kB / 491 MB, free: 9.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.934e-05/0.1414, allocations: 334.8 kB / 491.3 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.1415, allocations: 52.78 kB / 491.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.1417, allocations: 322 kB / 491.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.1421, allocations: 425.2 kB / 492.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1421, allocations: 4 kB / 492.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005483/0.1427, allocations: 376.8 kB / 492.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1427, allocations: 8.938 kB / 492.4 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.1427, allocations: 12 kB / 492.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.1428, allocations: 15.94 kB / 492.5 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.1431, allocations: 111.8 kB / 492.6 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.1431, allocations: 19.92 kB / 492.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.1434, allocations: 23.91 kB / 492.6 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.1434, allocations: 24 kB / 492.6 MB, free: 7.754 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.000125/0.1435, allocations: 161.5 kB / 492.8 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.1436, allocations: 19.81 kB / 492.8 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.1439, allocations: 154.9 kB / 493 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.1439, allocations: 3.938 kB / 493 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1439, allocations: 0 / 493 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1439, allocations: 8 kB / 493 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.1444, allocations: 431.2 kB / 493.4 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1444, allocations: 3.938 kB / 493.4 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.1446, allocations: 31.98 kB / 493.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1446, allocations: 0 / 493.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1446, allocations: 4 kB / 493.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1446, allocations: 0 / 493.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1446, allocations: 4 kB / 493.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.1448, allocations: 226.9 kB / 493.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.1449, allocations: 108.8 kB / 493.8 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.145, allocations: 3.984 kB / 493.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.1452, allocations: 8 kB / 493.8 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.1452, allocations: 7.984 kB / 493.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1452, allocations: 12 kB / 493.8 MB, free: 6.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1453, allocations: 152.5 kB / 494 MB, free: 6.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1453, allocations: 0 / 494 MB, free: 6.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004565/0.1458, allocations: 95.98 kB / 494.1 MB, free: 6.238 MB / 366.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.0006464/0.1465, allocations: 0.8188 MB / 494.9 MB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.1468, allocations: 185.9 kB / 495.1 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1468, allocations: 0 / 495.1 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.318e-05/0.1468, allocations: 40.05 kB / 495.1 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.1473, allocations: 47.78 kB / 495.1 MB, free: 5.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.1499, allocations: 2.83 MB / 498 MB, free: 1.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1502, allocations: 0.7287 MB / 498.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.1505, allocations: 62.83 kB / 498.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.961e-05/0.1506, allocations: 59.42 kB / 498.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1506, allocations: 0 / 498.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.1704, allocations: 5.25 MB / 0.4923 GB, free: 12.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.1706, allocations: 224.4 kB / 0.4925 GB, free: 11.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.035, allocations: 0 / 0.4925 GB, free: 11.76 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches