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.001094/0.001094, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001272/0.001272, allocations: 192 kB / 18.56 MB, free: 4.434 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.409/1.409, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.204/0.204, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 64.7 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1755, allocations: 60.84 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.01119/0.1867, allocations: 4.956 MB / 474.3 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009414/0.1962, allocations: 4.543 MB / 478.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003223/0.1966, allocations: 0 / 478.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.1972, allocations: 55.55 kB / 478.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003803/0.2011, allocations: 0.6604 MB / 479.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007966/0.2019, allocations: 154.6 kB / 479.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.2029, allocations: 370.2 kB / 480.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.203, allocations: 9.688 kB / 480.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004919/0.2035, allocations: 151.4 kB / 480.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.2038, allocations: 131.5 kB / 480.4 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.2039, allocations: 8 kB / 480.4 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009403/0.2048, allocations: 339.6 kB / 480.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.205, allocations: 47.77 kB / 480.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.2051, allocations: 107.5 kB / 480.9 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008391/0.206, allocations: 411.2 kB / 481.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.206, allocations: 4 kB / 481.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.206, allocations: 0 / 481.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.206, allocations: 0 / 481.3 MB, free: 2.285 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.001066/0.2071, allocations: 0.5852 MB / 481.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2071, allocations: 16.03 kB / 481.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.093e-05/0.2072, allocations: 58.73 kB / 481.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.2074, allocations: 28.66 kB / 482 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.2077, allocations: 220.1 kB / 482.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.2078, allocations: 127.9 kB / 482.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.2079, allocations: 24.11 kB / 482.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.2084, allocations: 319.7 kB / 482.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.2085, allocations: 7.938 kB / 482.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.2085, allocations: 8 kB / 482.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.2086, allocations: 11.98 kB / 482.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.2097, allocations: 0.7352 MB / 483.4 MB, free: 12 kB / 350.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.001619/0.2114, allocations: 1.242 MB / 484.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.2117, allocations: 150.8 kB / 484.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.2118, allocations: 80.56 kB / 484.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002642/0.2145, allocations: 2.663 MB / 487.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.2145, allocations: 34.5 kB / 487.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.2145, allocations: 0 / 487.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.000703/0.2152, allocations: 220.4 kB / 487.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2153, allocations: 63.34 kB / 487.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.2156, allocations: 215.8 kB / 488.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.2156, allocations: 29.7 kB / 488.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.2158, allocations: 210.8 kB / 488.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.2159, allocations: 51.27 kB / 488.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.2161, allocations: 86.02 kB / 488.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.2163, allocations: 326.8 kB / 488.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.2165, allocations: 56.84 kB / 488.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.2168, allocations: 322 kB / 489.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.2176, allocations: 421.2 kB / 489.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.2176, allocations: 4 kB / 489.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009318/0.2185, allocations: 377.1 kB / 489.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.2186, allocations: 12 kB / 489.9 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.2186, allocations: 11.94 kB / 489.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.585e-05/0.2187, allocations: 19.88 kB / 489.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.2192, allocations: 108.5 kB / 490 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.938e-05/0.2193, allocations: 19.92 kB / 490.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.2197, allocations: 27.94 kB / 490.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.2198, allocations: 24 kB / 490.1 MB, free: 8.332 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.0001881/0.22, allocations: 153.6 kB / 490.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/0.2201, allocations: 15.81 kB / 490.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.2206, allocations: 154.9 kB / 490.4 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.2206, allocations: 7.938 kB / 490.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2206, allocations: 0 / 490.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2207, allocations: 0 / 490.4 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009012/0.2216, allocations: 439.2 kB / 490.9 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.2216, allocations: 3.938 kB / 490.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.2219, allocations: 31.92 kB / 490.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.2219, allocations: 4 kB / 490.9 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.2219, allocations: 0 / 490.9 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2219, allocations: 0 / 490.9 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.222, allocations: 4 kB / 490.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.2223, allocations: 219.3 kB / 491.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.2225, allocations: 108.8 kB / 491.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.2226, allocations: 3.938 kB / 491.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.2229, allocations: 11.98 kB / 491.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.223, allocations: 8 kB / 491.3 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.223, allocations: 11.98 kB / 491.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.2232, allocations: 152.4 kB / 491.4 MB, free: 6.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2233, allocations: 0 / 491.4 MB, free: 6.922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008872/0.2242, allocations: 92 kB / 491.5 MB, free: 6.832 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.001201/0.2254, allocations: 0.8184 MB / 492.3 MB, free: 5.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005342/0.2259, allocations: 188.2 kB / 492.5 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.226, allocations: 5.875 kB / 492.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2261, allocations: 31.92 kB / 492.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.2269, allocations: 56.58 kB / 492.6 MB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004799/0.2317, allocations: 2.708 MB / 495.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.2322, allocations: 0.7285 MB / 496 MB, free: 1.895 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000497/0.2327, allocations: 62.84 kB / 496.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.2329, allocations: 67.42 kB / 496.2 MB, free: 1.77 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2329, allocations: 4 kB / 496.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.2686, allocations: 5.503 MB / 0.4899 GB, free: 12.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/7.898, allocations: 8.375 kB / 0.4899 GB, free: 12.4 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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