Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 205.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2429/0.2429, allocations: 46.13 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 75.88 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3621, allocations: 62.46 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01966/0.3818, allocations: 13.92 MB / 0.5443 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03797/0.4198, allocations: 26.6 MB / 0.5703 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004251/0.4203, allocations: 3.938 kB / 0.5703 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.421, allocations: 99.38 kB / 0.5703 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0271/0.4481, allocations: 8.531 MB / 0.5787 GB, free: 396 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.4491, allocations: 349.6 kB / 0.579 GB, free: 52 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004882/0.454, allocations: 2.01 MB / 0.581 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.697e-05/0.4541, allocations: 20.39 kB / 0.581 GB, free: 14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005504/0.4547, allocations: 270.9 kB / 0.5813 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007483/0.4622, allocations: 3.262 MB / 0.5844 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-05/0.4623, allocations: 12 kB / 0.5845 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02361/0.4859, allocations: 10.83 MB / 0.595 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.4861, allocations: 47.77 kB / 0.5951 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.4864, allocations: 139.3 kB / 0.5952 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01892/0.5053, allocations: 6.337 MB / 0.6014 GB, free: 9.023 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5054, allocations: 0 / 0.6014 GB, free: 9.023 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5054, allocations: 0 / 0.6014 GB, free: 9.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.5054, allocations: 0 / 0.6014 GB, free: 9.023 MB / 462.1 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.005022/0.5104, allocations: 1.612 MB / 0.603 GB, free: 7.355 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5105, allocations: 8.031 kB / 0.603 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.472e-05/0.5106, allocations: 70.72 kB / 0.603 GB, free: 7.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.5123, allocations: 224.5 kB / 0.6033 GB, free: 7.051 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.5127, allocations: 275.9 kB / 0.6035 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.5128, allocations: 21.03 kB / 0.6035 GB, free: 6.723 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.5128, allocations: 35.94 kB / 0.6036 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.5153, allocations: 0.8172 MB / 0.6044 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5153, allocations: 3.938 kB / 0.6044 GB, free: 5.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.5153, allocations: 12 kB / 0.6044 GB, free: 5.812 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.5153, allocations: 11.94 kB / 0.6044 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.5179, allocations: 0.9387 MB / 0.6053 GB, free: 4.859 MB / 462.1 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.003442/0.5213, allocations: 2.585 MB / 0.6078 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.5227, allocations: 375.8 kB / 0.6082 GB, free: 1.688 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.5229, allocations: 76.81 kB / 0.6083 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8777/1.401, allocations: 241.3 MB / 0.8439 GB, free: 72.05 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/1.402, allocations: 484.3 kB / 0.8443 GB, free: 71.53 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=32): time 2.355e-06/1.402, allocations: 0 / 0.8443 GB, free: 71.53 MB / 0.5763 GB Notification: Performance of matching and sorting (n=32): time 0.002777/1.405, allocations: 0.774 MB / 0.8451 GB, free: 70.77 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.411e-05/1.405, allocations: 383.8 kB / 0.8455 GB, free: 70.3 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/1.405, allocations: 172.6 kB / 0.8456 GB, free: 70.13 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/1.405, allocations: 33.7 kB / 0.8457 GB, free: 70.09 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/1.405, allocations: 195.8 kB / 0.8458 GB, free: 69.91 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/1.405, allocations: 111.9 kB / 0.8459 GB, free: 69.82 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.405, allocations: 126.2 kB / 0.8461 GB, free: 69.69 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.759e-05/1.405, allocations: 337.1 kB / 0.8464 GB, free: 69.35 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/1.406, allocations: 85.06 kB / 0.8465 GB, free: 69.27 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/1.406, allocations: 340.5 kB / 0.8468 GB, free: 68.82 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/1.406, allocations: 482.3 kB / 0.8473 GB, free: 68.22 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.406, allocations: 4 kB / 0.8473 GB, free: 68.22 MB / 0.5763 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008828/1.407, allocations: 477.1 kB / 0.8477 GB, free: 67.75 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.407, allocations: 8 kB / 0.8477 GB, free: 67.74 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.407, allocations: 12 kB / 0.8477 GB, free: 67.73 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/1.407, allocations: 17.88 kB / 0.8477 GB, free: 67.71 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/1.408, allocations: 135.8 kB / 0.8479 GB, free: 67.58 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/1.408, allocations: 19.92 kB / 0.8479 GB, free: 67.56 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/1.408, allocations: 48.7 kB / 0.8479 GB, free: 67.52 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/1.408, allocations: 51.97 kB / 0.848 GB, free: 67.47 MB / 0.5763 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/1.408, allocations: 158.7 kB / 0.8481 GB, free: 67.31 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/1.408, allocations: 27.86 kB / 0.8482 GB, free: 67.29 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/1.41, allocations: 2.601 MB / 0.8507 GB, free: 64.72 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/1.41, allocations: 24.28 kB / 0.8507 GB, free: 64.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.41, allocations: 8 kB / 0.8507 GB, free: 64.69 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/1.41, allocations: 4 kB / 0.8507 GB, free: 64.69 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007081/1.411, allocations: 0.9377 MB / 0.8517 GB, free: 63.72 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.411, allocations: 4 kB / 0.8517 GB, free: 63.72 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/1.411, allocations: 71.88 kB / 0.8517 GB, free: 63.65 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/1.411, allocations: 7.844 kB / 0.8517 GB, free: 63.64 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/1.411, allocations: 15.92 kB / 0.8518 GB, free: 63.63 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/1.412, allocations: 7.062 kB / 0.8518 GB, free: 63.62 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.412, allocations: 4 kB / 0.8518 GB, free: 63.62 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007724/1.412, allocations: 0.7097 MB / 0.8525 GB, free: 62.86 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/1.412, allocations: 128.6 kB / 0.8526 GB, free: 62.71 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/1.412, allocations: 114.9 kB / 0.8527 GB, free: 62.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/1.413, allocations: 19.55 kB / 0.8527 GB, free: 62.59 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/1.413, allocations: 35.95 kB / 0.8527 GB, free: 62.55 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/1.413, allocations: 16 kB / 0.8528 GB, free: 62.54 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004574/1.413, allocations: 0.504 MB / 0.8533 GB, free: 62.02 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/1.413, allocations: 0 / 0.8533 GB, free: 62.02 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.003849/1.417, allocations: 1.524 MB / 0.8547 GB, free: 60.49 MB / 0.5763 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008647/1.426, allocations: 2.895 MB / 0.8576 GB, free: 57.68 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0008683/1.427, allocations: 415.9 kB / 0.858 GB, free: 57.27 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.427, allocations: 0 / 0.858 GB, free: 57.27 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/1.427, allocations: 278.1 kB / 0.8582 GB, free: 57 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008899/1.428, allocations: 126.6 kB / 0.8584 GB, free: 56.88 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.629/3.057, allocations: 0.6073 GB / 1.466 GB, free: 201.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/3.058, allocations: 0.9817 MB / 1.467 GB, free: 200.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005834/3.058, allocations: 0.5268 MB / 1.467 GB, free: 199.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/3.059, allocations: 339.3 kB / 1.467 GB, free: 199.3 MB / 0.6231 GB Notification: Performance of SimCode: time 9.91e-07/3.059, allocations: 0 / 1.467 GB, free: 199.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09311/3.152, allocations: 63.49 MB / 1.529 GB, free: 136 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/16.98, allocations: 6.172 kB / 1.529 GB, free: 136 MB / 0.6231 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches