Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008524/0.0008524, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007897/0.0007897, allocations: 89.48 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3562/0.3562, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003948, allocations: 16 kB / 432.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 58.84 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005368/0.1216, allocations: 4.446 MB / 495.4 MB, free: 6.332 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00465/0.1263, allocations: 4.189 MB / 499.5 MB, free: 2.133 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.1265, allocations: 4 kB / 499.5 MB, free: 2.129 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1269, allocations: 35.8 kB / 499.6 MB, free: 2.094 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.1287, allocations: 0.575 MB / 0.4884 GB, free: 1.516 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.1291, allocations: 159.7 kB / 0.4886 GB, free: 1.359 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.1298, allocations: 386.1 kB / 0.489 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.661e-05/0.1299, allocations: 9.688 kB / 0.489 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.1302, allocations: 155.3 kB / 0.4891 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.1305, allocations: 127.5 kB / 0.4892 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.1305, allocations: 12 kB / 0.4892 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009117/0.1314, allocations: 335.5 kB / 0.4896 GB, free: 360 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.1316, allocations: 39.81 kB / 0.4896 GB, free: 320 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1317, allocations: 137.2 kB / 0.4897 GB, free: 176 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2093/0.3411, allocations: 281.2 kB / 0.49 GB, free: 36.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3411, allocations: 0.6562 kB / 0.49 GB, free: 36.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3411, allocations: 1.344 kB / 0.49 GB, free: 36.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3411, allocations: 3.609 kB / 0.49 GB, free: 36.84 MB / 378.7 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.0008549/0.342, allocations: 0.5251 MB / 0.4905 GB, free: 36.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.342, allocations: 8.625 kB / 0.4905 GB, free: 36.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.665e-05/0.3421, allocations: 61.59 kB / 0.4906 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.3422, allocations: 30.33 kB / 0.4906 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.3425, allocations: 232.4 kB / 0.4908 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.3426, allocations: 123.5 kB / 0.491 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.3426, allocations: 22.91 kB / 0.491 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.3431, allocations: 325 kB / 0.4913 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3431, allocations: 1.281 kB / 0.4913 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.3432, allocations: 14.94 kB / 0.4913 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.3432, allocations: 6.531 kB / 0.4913 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008689/0.3441, allocations: 0.7358 MB / 0.492 GB, free: 35.99 MB / 378.7 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.001124/0.3452, allocations: 1.242 MB / 0.4932 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.3455, allocations: 153.6 kB / 0.4934 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.3457, allocations: 77.31 kB / 0.4935 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001808/0.3475, allocations: 2.666 MB / 0.4961 GB, free: 32.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3475, allocations: 36.3 kB / 0.4961 GB, free: 32.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.3475, allocations: 0 / 0.4961 GB, free: 32.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000671/0.3482, allocations: 211.9 kB / 0.4963 GB, free: 32.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.3483, allocations: 59.03 kB / 0.4964 GB, free: 32.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.3485, allocations: 207.4 kB / 0.4966 GB, free: 31.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3485, allocations: 29.14 kB / 0.4966 GB, free: 31.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.3486, allocations: 217.7 kB / 0.4968 GB, free: 31.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.3486, allocations: 52.67 kB / 0.4968 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.3486, allocations: 9.375 kB / 0.4969 GB, free: 31.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.797e-05/0.3487, allocations: 326.1 kB / 0.4972 GB, free: 31.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.3488, allocations: 50.09 kB / 0.4972 GB, free: 31.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.349, allocations: 322.7 kB / 0.4975 GB, free: 31.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.3493, allocations: 427.5 kB / 0.4979 GB, free: 30.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3493, allocations: 3.281 kB / 0.4979 GB, free: 30.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005193/0.3499, allocations: 364.2 kB / 0.4983 GB, free: 30.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3499, allocations: 12.69 kB / 0.4983 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.3499, allocations: 15.5 kB / 0.4983 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.3499, allocations: 12.91 kB / 0.4983 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.3503, allocations: 111.5 kB / 0.4984 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.3503, allocations: 19.98 kB / 0.4984 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.3505, allocations: 17.81 kB / 0.4985 GB, free: 30.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.3506, allocations: 29.72 kB / 0.4985 GB, free: 30.62 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.3507, allocations: 152.3 kB / 0.4986 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.3507, allocations: 20.45 kB / 0.4987 GB, free: 30.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.3511, allocations: 157.1 kB / 0.4988 GB, free: 30.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3511, allocations: 6.734 kB / 0.4988 GB, free: 30.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3511, allocations: 1.094 kB / 0.4988 GB, free: 30.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3511, allocations: 3.688 kB / 0.4988 GB, free: 30.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.3516, allocations: 433 kB / 0.4992 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3516, allocations: 1.688 kB / 0.4992 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.3518, allocations: 32 kB / 0.4993 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3518, allocations: 0.875 kB / 0.4993 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3518, allocations: 10.92 kB / 0.4993 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3518, allocations: 4.688 kB / 0.4993 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3518, allocations: 3.875 kB / 0.4993 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.352, allocations: 212.1 kB / 0.4995 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.3521, allocations: 116.6 kB / 0.4996 GB, free: 29.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.3521, allocations: 8.25 kB / 0.4996 GB, free: 29.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.3523, allocations: 10.38 kB / 0.4996 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.3524, allocations: 13.06 kB / 0.4996 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3524, allocations: 9 kB / 0.4996 GB, free: 29.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.3525, allocations: 147.9 kB / 0.4998 GB, free: 29.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3525, allocations: 0 / 0.4998 GB, free: 29.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004795/0.353, allocations: 95.16 kB / 0.4999 GB, free: 29.78 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005796/0.3536, allocations: 0.8202 MB / 0.5007 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003051/0.3539, allocations: 180 kB / 0.5008 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3539, allocations: 1.531 kB / 0.5008 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.471e-05/0.354, allocations: 34.17 kB / 0.5009 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.3544, allocations: 53.05 kB / 0.5009 GB, free: 29.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.3563, allocations: 1.429 MB / 0.5023 GB, free: 28.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.3565, allocations: 0.7289 MB / 0.503 GB, free: 27.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3566, allocations: 68.09 kB / 0.5031 GB, free: 27.46 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3566, allocations: 0 / 0.5031 GB, free: 27.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.92/3.276, allocations: 3.752 MB / 0.5068 GB, free: 27.11 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches