Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.001245/0.001245, allocations: 103 kB / 16.27 MB, free: 5.93 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.001315/0.001315, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2178/0.2178, allocations: 43.53 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 76.39 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1145, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03243/0.147, allocations: 26.81 MB / 467.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003683/0.1508, allocations: 2.963 MB / 470.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.151, allocations: 0 / 470.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.1514, allocations: 59.58 kB / 470.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.1536, allocations: 0.711 MB / 471.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.154, allocations: 147.6 kB / 471.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007039/0.1547, allocations: 366.1 kB / 471.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.703e-05/0.1547, allocations: 9.688 kB / 471.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04698/0.2017, allocations: 15.47 MB / 487.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.2022, allocations: 151.5 kB / 487.3 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.2022, allocations: 8 kB / 487.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009254/0.2115, allocations: 3.444 MB / 490.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.2117, allocations: 43.77 kB / 490.8 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.2119, allocations: 107.5 kB / 490.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.2136, allocations: 462.9 kB / 491.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2137, allocations: 3.938 kB / 491.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2137, allocations: 0 / 491.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.2137, allocations: 4 kB / 491.3 MB, free: 3.785 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.001751/0.2154, allocations: 0.6008 MB / 491.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/0.2155, allocations: 11.89 kB / 492 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.91e-05/0.2156, allocations: 62.67 kB / 492 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.2159, allocations: 28.75 kB / 492 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.2162, allocations: 224 kB / 492.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.2164, allocations: 123.9 kB / 492.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.2165, allocations: 27.94 kB / 492.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/0.2171, allocations: 323.6 kB / 492.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2172, allocations: 0 / 492.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.2172, allocations: 15.98 kB / 492.7 MB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.2173, allocations: 8 kB / 492.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.2183, allocations: 0.739 MB / 493.5 MB, free: 1.488 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.001658/0.22, allocations: 1.3 MB / 494.8 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.2204, allocations: 175.6 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.2206, allocations: 81.48 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002978/0.2235, allocations: 2.802 MB / 497.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.2236, allocations: 30.56 kB / 497.9 MB, free: 12.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.884e-06/0.2236, allocations: 7.938 kB / 497.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003592/0.224, allocations: 121.3 kB / 498 MB, free: 12.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.224, allocations: 55.34 kB / 498.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.2243, allocations: 222.7 kB / 498.3 MB, free: 12.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.2243, allocations: 33.69 kB / 498.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.2245, allocations: 210.7 kB / 498.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.2246, allocations: 51.38 kB / 498.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.2247, allocations: 85.94 kB / 498.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2248, allocations: 330.8 kB / 499 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.641e-05/0.2249, allocations: 48.83 kB / 499 MB, free: 11.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.2252, allocations: 339.2 kB / 499.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/0.2258, allocations: 444.6 kB / 499.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.2258, allocations: 4 kB / 499.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006356/0.2264, allocations: 385 kB / 0.4884 GB, free: 9.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.2266, allocations: 8 kB / 0.4884 GB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.2266, allocations: 15.94 kB / 0.4885 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/0.2267, allocations: 20.78 kB / 0.4885 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.2269, allocations: 99.77 kB / 0.4886 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/0.2269, allocations: 23.92 kB / 0.4886 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.2272, allocations: 55.44 kB / 0.4887 GB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.2272, allocations: 28 kB / 0.4887 GB, free: 9.543 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001228/0.2273, allocations: 149.6 kB / 0.4888 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.2274, allocations: 23.73 kB / 0.4888 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.2278, allocations: 144.9 kB / 0.489 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.2278, allocations: 4 kB / 0.489 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2278, allocations: 0 / 0.489 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.2278, allocations: 0 / 0.489 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.2284, allocations: 416.8 kB / 0.4894 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2284, allocations: 0 / 0.4894 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.2285, allocations: 12 kB / 0.4894 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2285, allocations: 0 / 0.4894 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.2285, allocations: 4 kB / 0.4894 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2285, allocations: 4 kB / 0.4894 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.2285, allocations: 3.938 kB / 0.4894 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.2288, allocations: 209.8 kB / 0.4896 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/0.2289, allocations: 100.8 kB / 0.4897 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.2289, allocations: 4 kB / 0.4897 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2291, allocations: 4 kB / 0.4897 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.2291, allocations: 7.984 kB / 0.4897 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.2291, allocations: 4 kB / 0.4897 GB, free: 8.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.2292, allocations: 160.5 kB / 0.4899 GB, free: 8.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2292, allocations: 0 / 0.4899 GB, free: 8.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005529/0.2298, allocations: 91.94 kB / 0.49 GB, free: 8.098 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0006868/0.2305, allocations: 0.7965 MB / 0.4907 GB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003335/0.2308, allocations: 178.3 kB / 0.4909 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.2309, allocations: 7.938 kB / 0.4909 GB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.2309, allocations: 27.98 kB / 0.4909 GB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.2314, allocations: 44.38 kB / 0.491 GB, free: 7.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.2348, allocations: 2.79 MB / 0.4937 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.2352, allocations: 0.7245 MB / 0.4944 GB, free: 3.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002597/0.2355, allocations: 50.92 kB / 0.4945 GB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-05/0.2356, allocations: 63.41 kB / 0.4945 GB, free: 2.98 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2356, allocations: 0 / 0.4945 GB, free: 2.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.2689, allocations: 5.168 MB / 0.4996 GB, free: 13.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/7.972, allocations: 3.75 kB / 0.4996 GB, free: 13.82 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_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_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches