Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001067/0.001067, allocations: 192.7 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.5 MB / 243.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008588/0.000859, allocations: 96.41 kB / 295.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3312/0.3312, allocations: 44.82 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002819, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.288, allocations: 62.95 MB / 0.516 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01037/0.2984, allocations: 12.87 MB / 0.5285 GB, free: 28.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0196/0.3181, allocations: 24.62 MB / 0.5526 GB, free: 10.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.3184, allocations: 0 / 0.5526 GB, free: 10.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.3187, allocations: 83.75 kB / 0.5526 GB, free: 10.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01924/0.3379, allocations: 6.612 MB / 0.5591 GB, free: 7.406 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.3388, allocations: 308 kB / 0.5594 GB, free: 7.203 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005264/0.3441, allocations: 3.198 MB / 0.5625 GB, free: 6.398 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.52e-05/0.3442, allocations: 24.89 kB / 0.5625 GB, free: 6.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000441/0.3446, allocations: 250.4 kB / 0.5628 GB, free: 6.254 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00791/0.3525, allocations: 5.675 MB / 0.5683 GB, free: 3.773 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.3526, allocations: 8 kB / 0.5683 GB, free: 3.766 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02018/0.3728, allocations: 10.44 MB / 0.5785 GB, free: 9.316 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.985e-05/0.373, allocations: 47.75 kB / 0.5786 GB, free: 9.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.3732, allocations: 161.1 kB / 0.5787 GB, free: 9.105 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008515/0.3817, allocations: 4.249 MB / 0.5829 GB, free: 4.848 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3818, allocations: 0 / 0.5829 GB, free: 4.848 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3818, allocations: 4 kB / 0.5829 GB, free: 4.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3818, allocations: 4 kB / 0.5829 GB, free: 4.84 MB / 394.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.00442/0.3862, allocations: 1.494 MB / 0.5843 GB, free: 3.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3863, allocations: 8.031 kB / 0.5843 GB, free: 3.289 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.253e-05/0.3864, allocations: 70.72 kB / 0.5844 GB, free: 3.211 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/0.3879, allocations: 224.4 kB / 0.5846 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.3882, allocations: 272 kB / 0.5849 GB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.3882, allocations: 21.03 kB / 0.5849 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.3883, allocations: 35.94 kB / 0.5849 GB, free: 2.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.3905, allocations: 0.8289 MB / 0.5858 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3905, allocations: 3.938 kB / 0.5858 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.3905, allocations: 12 kB / 0.5858 GB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3905, allocations: 11.98 kB / 0.5858 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.3929, allocations: 0.9465 MB / 0.5867 GB, free: 0.7812 MB / 394.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.002976/0.3958, allocations: 2.577 MB / 0.5892 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.3971, allocations: 382.2 kB / 0.5896 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.3972, allocations: 76.81 kB / 0.5897 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7543/1.152, allocations: 240.9 MB / 0.8249 GB, free: 28.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/1.153, allocations: 473 kB / 0.8253 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 4.227e-06/1.153, allocations: 0 / 0.8253 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.002688/1.156, allocations: 0.7788 MB / 0.8261 GB, free: 27.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/1.156, allocations: 376 kB / 0.8265 GB, free: 27.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/1.156, allocations: 182.7 kB / 0.8266 GB, free: 27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/1.156, allocations: 33.7 kB / 0.8267 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/1.156, allocations: 182.2 kB / 0.8268 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/1.156, allocations: 114.1 kB / 0.827 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/1.156, allocations: 4 kB / 0.827 GB, free: 26.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/1.156, allocations: 340.3 kB / 0.8273 GB, free: 26.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/1.156, allocations: 77 kB / 0.8274 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/1.157, allocations: 344.7 kB / 0.8277 GB, free: 25.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/1.157, allocations: 474.6 kB / 0.8281 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.157, allocations: 4 kB / 0.8281 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007718/1.158, allocations: 471.1 kB / 0.8286 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.158, allocations: 10.66 kB / 0.8286 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.158, allocations: 8 kB / 0.8286 GB, free: 24.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.158, allocations: 12 kB / 0.8286 GB, free: 24.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/1.158, allocations: 147.7 kB / 0.8288 GB, free: 24.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.158, allocations: 19.92 kB / 0.8288 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/1.159, allocations: 55.56 kB / 0.8288 GB, free: 24.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/1.159, allocations: 43.98 kB / 0.8289 GB, free: 24.45 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.0001483/1.159, allocations: 157.6 kB / 0.829 GB, free: 24.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/1.159, allocations: 30.56 kB / 0.8291 GB, free: 24.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/1.161, allocations: 2.669 MB / 0.8317 GB, free: 21.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/1.161, allocations: 15.98 kB / 0.8317 GB, free: 21.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.161, allocations: 4 kB / 0.8317 GB, free: 21.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/1.161, allocations: 7.984 kB / 0.8317 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008266/1.162, allocations: 0.9185 MB / 0.8326 GB, free: 20.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.162, allocations: 11.94 kB / 0.8326 GB, free: 20.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/1.162, allocations: 86.17 kB / 0.8327 GB, free: 20.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/1.162, allocations: 4 kB / 0.8327 GB, free: 20.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/1.162, allocations: 8 kB / 0.8327 GB, free: 20.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/1.163, allocations: 7.984 kB / 0.8327 GB, free: 20.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.163, allocations: 4 kB / 0.8327 GB, free: 20.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/1.163, allocations: 0.6854 MB / 0.8334 GB, free: 19.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/1.163, allocations: 386.6 kB / 0.8337 GB, free: 19.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/1.164, allocations: 15.94 kB / 0.8338 GB, free: 19.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/1.164, allocations: 19.98 kB / 0.8338 GB, free: 19.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/1.164, allocations: 39.83 kB / 0.8338 GB, free: 19.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/1.164, allocations: 16 kB / 0.8338 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004455/1.164, allocations: 0.4962 MB / 0.8343 GB, free: 18.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.164, allocations: 0 / 0.8343 GB, free: 18.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00353/1.168, allocations: 1.52 MB / 0.8358 GB, free: 17.28 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.007507/1.176, allocations: 2.87 MB / 0.8386 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007342/1.176, allocations: 416.3 kB / 0.839 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.176, allocations: 0 / 0.839 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/1.177, allocations: 273.5 kB / 0.8393 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/1.178, allocations: 144.5 kB / 0.8394 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.402/2.58, allocations: 0.6038 GB / 1.443 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/2.581, allocations: 0.9819 MB / 1.444 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/2.581, allocations: 331.2 kB / 1.445 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/2.581, allocations: 0 / 1.445 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.675/8.256, allocations: 34.07 MB / 1.478 GB, free: 171 MB / 0.5261 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches