Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",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.0009527/0.0009527, 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.29/1.29, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.000813/0.0008131, allocations: 90.34 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.2853/0.2853, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003481, allocations: 16 kB / 432.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1051, allocations: 58.84 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.1857/0.2909, allocations: 12.82 MB / 0.4919 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02156/0.3125, allocations: 24.6 MB / 0.516 GB, free: 23.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.3128, allocations: 3.938 kB / 0.516 GB, free: 23.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.3132, allocations: 73.19 kB / 0.516 GB, free: 23.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01945/0.3326, allocations: 6.607 MB / 0.5225 GB, free: 20.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008326/0.3335, allocations: 303.5 kB / 0.5228 GB, free: 20.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004114/0.3376, allocations: 3.201 MB / 0.5259 GB, free: 20.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.933e-05/0.3377, allocations: 16.81 kB / 0.5259 GB, free: 20.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.3381, allocations: 249.9 kB / 0.5262 GB, free: 20.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006543/0.3446, allocations: 5.667 MB / 0.5317 GB, free: 19.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.3447, allocations: 5.906 kB / 0.5317 GB, free: 19.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02068/0.3654, allocations: 11.15 MB / 0.5426 GB, free: 16.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3655, allocations: 44.72 kB / 0.5426 GB, free: 16.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.3658, allocations: 157.8 kB / 0.5428 GB, free: 16.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009654/0.3754, allocations: 4.532 MB / 0.5472 GB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3755, allocations: 4.75 kB / 0.5472 GB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3755, allocations: 0 / 0.5472 GB, free: 14.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3755, allocations: 0 / 0.5472 GB, free: 14.82 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.006067/0.3816, allocations: 1.538 MB / 0.5487 GB, free: 13.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3816, allocations: 10.69 kB / 0.5487 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.3817, allocations: 68.03 kB / 0.5488 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.383, allocations: 192 kB / 0.549 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.3833, allocations: 268 kB / 0.5492 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.3833, allocations: 24.91 kB / 0.5492 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.068e-05/0.3834, allocations: 36.69 kB / 0.5493 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.3851, allocations: 0.7495 MB / 0.55 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3851, allocations: 5.531 kB / 0.55 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.3852, allocations: 15.34 kB / 0.55 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3852, allocations: 8.25 kB / 0.55 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.3869, allocations: 0.8169 MB / 0.5508 GB, free: 12.4 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.002862/0.3898, allocations: 2.711 MB / 0.5535 GB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/0.3908, allocations: 342.3 kB / 0.5538 GB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.401e-05/0.3909, allocations: 78.88 kB / 0.5539 GB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5424/0.9333, allocations: 142.5 MB / 0.693 GB, free: 159.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.9344, allocations: 443.4 kB / 0.6934 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 2.394e-06/0.9345, allocations: 0 / 0.6934 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.003256/0.9377, allocations: 1.109 MB / 0.6945 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.9378, allocations: 375.2 kB / 0.6949 GB, free: 158.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.938, allocations: 189.4 kB / 0.695 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.938, allocations: 32.14 kB / 0.6951 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.9381, allocations: 186.8 kB / 0.6953 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.9381, allocations: 116.1 kB / 0.6954 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.9382, allocations: 6.375 kB / 0.6954 GB, free: 158.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.9382, allocations: 336.6 kB / 0.6957 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.9384, allocations: 75.98 kB / 0.6958 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.9386, allocations: 343.2 kB / 0.6961 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.939, allocations: 476.9 kB / 0.6966 GB, free: 157.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.939, allocations: 3.094 kB / 0.6966 GB, free: 157.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006845/0.9397, allocations: 476.2 kB / 0.697 GB, free: 157 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.9397, allocations: 9.469 kB / 0.697 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.9397, allocations: 13.41 kB / 0.697 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.9398, allocations: 12.69 kB / 0.697 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.9411, allocations: 211.4 kB / 0.6972 GB, free: 157 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003388/0.9415, allocations: 1.185 MB / 0.6984 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.9418, allocations: 29.22 kB / 0.6984 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.9418, allocations: 42.67 kB / 0.6985 GB, free: 155.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.942, allocations: 159.6 kB / 0.6986 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.942, allocations: 26.12 kB / 0.6986 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.9445, allocations: 2.889 MB / 0.7015 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.9445, allocations: 17.53 kB / 0.7015 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9445, allocations: 3.75 kB / 0.7015 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.9445, allocations: 13.78 kB / 0.7015 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008162/0.9453, allocations: 0.9654 MB / 0.7024 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.9454, allocations: 3.25 kB / 0.7024 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.9459, allocations: 103.9 kB / 0.7025 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/0.9461, allocations: 165.3 kB / 0.7027 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.9461, allocations: 10.44 kB / 0.7027 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002509/0.9464, allocations: 0.6512 MB / 0.7033 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9464, allocations: 3.375 kB / 0.7034 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008515/0.9473, allocations: 0.9669 MB / 0.7043 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.9475, allocations: 352.3 kB / 0.7046 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.9476, allocations: 6.938 kB / 0.7046 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.9479, allocations: 23.38 kB / 0.7047 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.9479, allocations: 35.33 kB / 0.7047 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.948, allocations: 16.11 kB / 0.7047 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004096/0.9484, allocations: 471.1 kB / 0.7052 GB, free: 153 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9484, allocations: 0 / 0.7052 GB, free: 153 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005176/0.9536, allocations: 1.617 MB / 0.7067 GB, free: 152.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01072/0.9643, allocations: 3.121 MB / 0.7098 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.9658, allocations: 0.5296 MB / 0.7103 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9658, allocations: 3.188 kB / 0.7103 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.9662, allocations: 356.4 kB / 0.7106 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.9673, allocations: 132.5 kB / 0.7108 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7754/1.743, allocations: 349.6 MB / 1.052 GB, free: 159.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/1.743, allocations: 0.9865 MB / 1.053 GB, free: 159 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/1.743, allocations: 312.4 kB / 1.053 GB, free: 159 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/1.744, allocations: 0 / 1.053 GB, free: 159 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.023/7.766, allocations: 38.65 MB / 1.091 GB, free: 146.2 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches