Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.001418/0.001418, allocations: 175.5 kB / 16.72 MB, free: 4.957 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.304/1.304, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007324/0.0007324, allocations: 93.39 kB / 271.2 MB, free: 8.238 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.2938/0.2938, allocations: 43.57 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 12 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09575, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.003988/0.09979, allocations: 4.069 MB / 495 MB, free: 6.699 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.1031, allocations: 3.705 MB / 498.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.034e-05/0.1032, allocations: 0 / 498.7 MB, free: 2.984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.1034, allocations: 47.7 kB / 498.7 MB, free: 2.938 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.1048, allocations: 0.6179 MB / 499.4 MB, free: 2.316 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.1051, allocations: 131.8 kB / 499.5 MB, free: 2.188 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004403/0.1056, allocations: 386.1 kB / 499.9 MB, free: 1.809 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.1056, allocations: 13.67 kB / 499.9 MB, free: 1.793 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.1058, allocations: 139.5 kB / 0.4883 GB, free: 1.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.106, allocations: 147.5 kB / 0.4884 GB, free: 1.512 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.106, allocations: 15.92 kB / 0.4884 GB, free: 1.496 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007683/0.1068, allocations: 419.3 kB / 0.4888 GB, free: 1.086 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.77e-05/0.1069, allocations: 43.81 kB / 0.4889 GB, free: 1.043 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.107, allocations: 129.3 kB / 0.489 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.1074, allocations: 327.5 kB / 0.4893 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1074, allocations: 0 / 0.4893 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1074, allocations: 0 / 0.4893 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.1075, allocations: 0 / 0.4893 GB, free: 0.5898 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.1616/0.2691, allocations: 0.5484 MB / 0.4899 GB, free: 43.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.2692, allocations: 9.844 kB / 0.4899 GB, free: 43.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.2693, allocations: 58.3 kB / 0.4899 GB, free: 43.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.2695, allocations: 29.08 kB / 0.49 GB, free: 43.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.2697, allocations: 220.9 kB / 0.4902 GB, free: 43.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.2698, allocations: 128.1 kB / 0.4903 GB, free: 43.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.2699, allocations: 20.47 kB / 0.4903 GB, free: 43.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.2703, allocations: 331.5 kB / 0.4906 GB, free: 43.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2703, allocations: 1.125 kB / 0.4906 GB, free: 43.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.2704, allocations: 10.86 kB / 0.4906 GB, free: 43.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.2704, allocations: 6.156 kB / 0.4906 GB, free: 43.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007856/0.2712, allocations: 0.7365 MB / 0.4914 GB, free: 43.15 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.001107/0.2723, allocations: 1.305 MB / 0.4926 GB, free: 42.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.2726, allocations: 158.9 kB / 0.4928 GB, free: 42.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.2728, allocations: 87.8 kB / 0.4929 GB, free: 42.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001822/0.2746, allocations: 2.817 MB / 0.4956 GB, free: 39.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.2747, allocations: 36.45 kB / 0.4957 GB, free: 39.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.754e-06/0.2747, allocations: 0 / 0.4957 GB, free: 39.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002522/0.2749, allocations: 118.1 kB / 0.4958 GB, free: 39.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.2749, allocations: 58.22 kB / 0.4958 GB, free: 39.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2751, allocations: 220 kB / 0.496 GB, free: 38.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2751, allocations: 35.41 kB / 0.4961 GB, free: 38.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.2752, allocations: 217.8 kB / 0.4963 GB, free: 38.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.2753, allocations: 43.38 kB / 0.4963 GB, free: 38.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.087e-05/0.2753, allocations: 7.844 kB / 0.4963 GB, free: 38.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.2753, allocations: 326.8 kB / 0.4966 GB, free: 38.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.2754, allocations: 45.11 kB / 0.4967 GB, free: 38.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.2756, allocations: 341.3 kB / 0.497 GB, free: 38.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.2759, allocations: 450.1 kB / 0.4974 GB, free: 37.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.2759, allocations: 3.031 kB / 0.4974 GB, free: 37.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004892/0.2764, allocations: 378.8 kB / 0.4978 GB, free: 37.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.2764, allocations: 10.84 kB / 0.4978 GB, free: 37.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.2765, allocations: 10.47 kB / 0.4978 GB, free: 37.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.2765, allocations: 13.5 kB / 0.4978 GB, free: 37.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.2767, allocations: 97.28 kB / 0.4979 GB, free: 37.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.2767, allocations: 26 kB / 0.4979 GB, free: 37.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.277, allocations: 52.16 kB / 0.498 GB, free: 37.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.277, allocations: 32.22 kB / 0.498 GB, free: 37.45 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.072e-05/0.2771, allocations: 153.4 kB / 0.4982 GB, free: 37.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4e-05/0.2772, allocations: 26.5 kB / 0.4982 GB, free: 37.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.2774, allocations: 154.3 kB / 0.4983 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.2774, allocations: 1.062 kB / 0.4983 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2774, allocations: 4.734 kB / 0.4983 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2774, allocations: 1.156 kB / 0.4983 GB, free: 37.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.2778, allocations: 403.5 kB / 0.4987 GB, free: 36.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2778, allocations: 4.875 kB / 0.4987 GB, free: 36.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.2779, allocations: 16.56 kB / 0.4988 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2779, allocations: 1.797 kB / 0.4988 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2779, allocations: 2.781 kB / 0.4988 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2779, allocations: 2.531 kB / 0.4988 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2779, allocations: 0 / 0.4988 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.2781, allocations: 206.8 kB / 0.499 GB, free: 36.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.2781, allocations: 114 kB / 0.4991 GB, free: 36.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.2782, allocations: 1.547 kB / 0.4991 GB, free: 36.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.2783, allocations: 5.438 kB / 0.4991 GB, free: 36.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.2783, allocations: 8.75 kB / 0.4991 GB, free: 36.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.2784, allocations: 4.969 kB / 0.4991 GB, free: 36.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.2785, allocations: 152.7 kB / 0.4992 GB, free: 36.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2785, allocations: 5.438 kB / 0.4992 GB, free: 36.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004521/0.2789, allocations: 90.03 kB / 0.4993 GB, free: 36.53 MB / 378.7 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 (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.0004546/0.2794, allocations: 0.8073 MB / 0.5001 GB, free: 35.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.2796, allocations: 166.3 kB / 0.5003 GB, free: 35.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2797, allocations: 0 / 0.5003 GB, free: 35.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.2797, allocations: 24.86 kB / 0.5003 GB, free: 35.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.2801, allocations: 35.92 kB / 0.5003 GB, free: 35.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.2818, allocations: 1.483 MB / 0.5018 GB, free: 34.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.282, allocations: 0.7231 MB / 0.5025 GB, free: 34.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.282, allocations: 66.3 kB / 0.5025 GB, free: 34.08 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2821, allocations: 0 / 0.5025 GB, free: 34.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.769/3.051, allocations: 3.647 MB / 0.5061 GB, free: 33.74 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches