Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",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.0009152/0.0009151, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.279/1.279, 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.0007293/0.0007292, allocations: 90.69 kB / 271.2 MB, free: 8.246 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.299/0.299, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 15.98 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.1954/0.2993, allocations: 12.82 MB / 0.4919 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02227/0.3216, allocations: 24.6 MB / 0.516 GB, free: 24.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.3219, allocations: 2.312 kB / 0.516 GB, free: 24.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.3222, allocations: 74.81 kB / 0.516 GB, free: 24.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01858/0.3408, allocations: 6.605 MB / 0.5225 GB, free: 21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008897/0.3417, allocations: 295.6 kB / 0.5228 GB, free: 20.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004969/0.3467, allocations: 3.208 MB / 0.5259 GB, free: 20.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.918e-05/0.3468, allocations: 16.91 kB / 0.5259 GB, free: 20.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004409/0.3473, allocations: 263.8 kB / 0.5262 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007618/0.3549, allocations: 5.666 MB / 0.5317 GB, free: 19.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.355, allocations: 9.219 kB / 0.5317 GB, free: 19.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0233/0.3783, allocations: 10.41 MB / 0.5419 GB, free: 17.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.3785, allocations: 50.89 kB / 0.5419 GB, free: 17.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.3788, allocations: 160.3 kB / 0.5421 GB, free: 17.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.3894, allocations: 4.237 MB / 0.5462 GB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3894, allocations: 0 / 0.5462 GB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3894, allocations: 0 / 0.5462 GB, free: 15.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3895, allocations: 1.031 kB / 0.5462 GB, free: 15.53 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.00621/0.3957, allocations: 1.485 MB / 0.5477 GB, free: 14.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3957, allocations: 9.281 kB / 0.5477 GB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.894e-05/0.3958, allocations: 67.97 kB / 0.5477 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.3974, allocations: 234.5 kB / 0.548 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.3977, allocations: 269.7 kB / 0.5482 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.3977, allocations: 27.34 kB / 0.5483 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.3978, allocations: 29.81 kB / 0.5483 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.3999, allocations: 0.8232 MB / 0.5491 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.3999, allocations: 3.938 kB / 0.5491 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.4, allocations: 18.66 kB / 0.5491 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.4, allocations: 15.05 kB / 0.5491 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.4022, allocations: 0.9386 MB / 0.55 GB, free: 13.05 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.002732/0.405, allocations: 2.586 MB / 0.5526 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.4062, allocations: 384.1 kB / 0.5529 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.4063, allocations: 74.02 kB / 0.553 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7707/1.177, allocations: 227.1 MB / 0.7748 GB, free: 93.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/1.178, allocations: 473.8 kB / 0.7752 GB, free: 93.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/1.178, allocations: 0 / 0.7752 GB, free: 93.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.002754/1.181, allocations: 0.7757 MB / 0.776 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/1.181, allocations: 379.9 kB / 0.7763 GB, free: 91.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/1.181, allocations: 181.3 kB / 0.7765 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/1.181, allocations: 33.7 kB / 0.7765 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/1.182, allocations: 190 kB / 0.7767 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/1.182, allocations: 113.8 kB / 0.7768 GB, free: 91.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/1.182, allocations: 4 kB / 0.7768 GB, free: 91.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.418e-05/1.182, allocations: 341.6 kB / 0.7772 GB, free: 91.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/1.182, allocations: 77.06 kB / 0.7772 GB, free: 90.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/1.182, allocations: 344.7 kB / 0.7776 GB, free: 90.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/1.183, allocations: 473.2 kB / 0.778 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.183, allocations: 0 / 0.778 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000796/1.184, allocations: 474.7 kB / 0.7785 GB, free: 89.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.184, allocations: 8 kB / 0.7785 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.184, allocations: 8 kB / 0.7785 GB, free: 89.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/1.184, allocations: 12 kB / 0.7785 GB, free: 89.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/1.184, allocations: 139.8 kB / 0.7786 GB, free: 89.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/1.184, allocations: 19.88 kB / 0.7786 GB, free: 89.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/1.184, allocations: 56 kB / 0.7787 GB, free: 89.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/1.184, allocations: 47.97 kB / 0.7787 GB, free: 89.17 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.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 (58): * Single equations (assignments): 58 * Array equations: 0 * 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.0001449/1.185, allocations: 163.8 kB / 0.7789 GB, free: 89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/1.185, allocations: 27.8 kB / 0.7789 GB, free: 88.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/1.187, allocations: 2.654 MB / 0.7815 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/1.187, allocations: 19.97 kB / 0.7815 GB, free: 86.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.187, allocations: 7.938 kB / 0.7815 GB, free: 86.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/1.187, allocations: 4.5 kB / 0.7815 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008241/1.188, allocations: 0.9372 MB / 0.7825 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/1.188, allocations: 4 kB / 0.7825 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/1.188, allocations: 77.5 kB / 0.7825 GB, free: 85.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/1.188, allocations: 4.656 kB / 0.7825 GB, free: 85.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/1.188, allocations: 15.98 kB / 0.7826 GB, free: 85.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.188, allocations: 4 kB / 0.7826 GB, free: 85.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.188, allocations: 11.88 kB / 0.7826 GB, free: 85.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/1.189, allocations: 0.6893 MB / 0.7832 GB, free: 84.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/1.189, allocations: 378.8 kB / 0.7836 GB, free: 84.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.446e-05/1.189, allocations: 8 kB / 0.7836 GB, free: 84.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/1.19, allocations: 26.05 kB / 0.7836 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/1.19, allocations: 31.91 kB / 0.7837 GB, free: 83.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/1.19, allocations: 22.55 kB / 0.7837 GB, free: 83.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004492/1.19, allocations: 0.4923 MB / 0.7842 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.19, allocations: 3.938 kB / 0.7842 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006042/1.196, allocations: 1.518 MB / 0.7857 GB, free: 82.06 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: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01147/1.208, allocations: 2.861 MB / 0.7885 GB, free: 79.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007936/1.209, allocations: 412.5 kB / 0.7888 GB, free: 78.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.209, allocations: 4.125 kB / 0.7888 GB, free: 78.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/1.209, allocations: 272.7 kB / 0.7891 GB, free: 78.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/1.21, allocations: 137.4 kB / 0.7892 GB, free: 78.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.308/2.519, allocations: 0.6015 GB / 1.391 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/2.519, allocations: 0.9858 MB / 1.392 GB, free: 26.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/2.519, allocations: 323.3 kB / 1.392 GB, free: 26.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.052e-06/2.519, allocations: 0 / 1.392 GB, free: 26.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.639/8.159, allocations: 33.84 MB / 1.425 GB, free: 152.5 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches