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.001545/0.001546, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001927/0.001927, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2025/0.2025, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 71.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3352, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0154/0.3506, allocations: 13.93 MB / 0.5441 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02958/0.3802, allocations: 26.62 MB / 0.5701 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.3806, allocations: 0 / 0.5701 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.381, allocations: 91.39 kB / 0.5702 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02396/0.405, allocations: 8.527 MB / 0.5786 GB, free: 492 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009377/0.406, allocations: 346.2 kB / 0.5789 GB, free: 148 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004149/0.4101, allocations: 2.002 MB / 0.5808 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.096e-05/0.4102, allocations: 20.41 kB / 0.5809 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.4107, allocations: 282.7 kB / 0.5811 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006744/0.4174, allocations: 3.258 MB / 0.5843 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.4175, allocations: 15.94 kB / 0.5843 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02051/0.438, allocations: 10.82 MB / 0.5949 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.4382, allocations: 51.75 kB / 0.5949 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.4384, allocations: 143.3 kB / 0.5951 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.4527, allocations: 6.316 MB / 0.6012 GB, free: 9.137 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4527, allocations: 0 / 0.6012 GB, free: 9.137 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.4527, allocations: 0 / 0.6012 GB, free: 9.137 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.4528, allocations: 0 / 0.6012 GB, free: 9.137 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.00424/0.457, allocations: 1.56 MB / 0.6028 GB, free: 7.527 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4571, allocations: 8.031 kB / 0.6028 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.603e-05/0.4571, allocations: 74.66 kB / 0.6029 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.4588, allocations: 220.4 kB / 0.6031 GB, free: 7.223 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.4592, allocations: 287.8 kB / 0.6033 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.4593, allocations: 21.03 kB / 0.6034 GB, free: 6.883 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.4593, allocations: 39.94 kB / 0.6034 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.4616, allocations: 0.8249 MB / 0.6042 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4617, allocations: 0 / 0.6042 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.4617, allocations: 12 kB / 0.6042 GB, free: 5.965 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4617, allocations: 8 kB / 0.6042 GB, free: 5.957 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.4641, allocations: 0.9386 MB / 0.6051 GB, free: 5.016 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.002975/0.4671, allocations: 2.57 MB / 0.6076 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.4685, allocations: 378.2 kB / 0.608 GB, free: 1.855 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.4687, allocations: 76.81 kB / 0.6081 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8647/1.333, allocations: 241.2 MB / 0.8436 GB, free: 72.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/1.335, allocations: 480.3 kB / 0.8441 GB, free: 71.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.404e-06/1.335, allocations: 0 / 0.8441 GB, free: 71.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.002995/1.338, allocations: 0.7797 MB / 0.8449 GB, free: 71.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/1.338, allocations: 371.8 kB / 0.8452 GB, free: 70.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.338, allocations: 180.6 kB / 0.8454 GB, free: 70.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/1.338, allocations: 37.7 kB / 0.8454 GB, free: 70.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/1.338, allocations: 188.9 kB / 0.8456 GB, free: 70.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/1.338, allocations: 105.8 kB / 0.8457 GB, free: 70.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.338, allocations: 126.1 kB / 0.8458 GB, free: 70.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.624e-05/1.338, allocations: 333.1 kB / 0.8461 GB, free: 69.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/1.339, allocations: 81.06 kB / 0.8462 GB, free: 69.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/1.339, allocations: 344.5 kB / 0.8466 GB, free: 69.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/1.339, allocations: 486.4 kB / 0.847 GB, free: 68.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.339, allocations: 4 kB / 0.847 GB, free: 68.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008078/1.34, allocations: 469.5 kB / 0.8475 GB, free: 68.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/1.34, allocations: 14.19 kB / 0.8475 GB, free: 68.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.34, allocations: 8 kB / 0.8475 GB, free: 68.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/1.34, allocations: 19.97 kB / 0.8475 GB, free: 68.06 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/1.341, allocations: 139.8 kB / 0.8476 GB, free: 67.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/1.341, allocations: 15.94 kB / 0.8477 GB, free: 67.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/1.341, allocations: 55.52 kB / 0.8477 GB, free: 67.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/1.341, allocations: 39.98 kB / 0.8477 GB, free: 67.81 MB / 0.5762 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.000137/1.341, allocations: 165.6 kB / 0.8479 GB, free: 67.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.066e-05/1.341, allocations: 23.72 kB / 0.8479 GB, free: 67.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/1.343, allocations: 2.591 MB / 0.8505 GB, free: 65.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/1.343, allocations: 19.97 kB / 0.8505 GB, free: 65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/1.343, allocations: 4 kB / 0.8505 GB, free: 65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/1.343, allocations: 7.984 kB / 0.8505 GB, free: 64.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007266/1.344, allocations: 0.9276 MB / 0.8514 GB, free: 64.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.344, allocations: 0 / 0.8514 GB, free: 64.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/1.345, allocations: 76.2 kB / 0.8515 GB, free: 63.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.345, allocations: 8 kB / 0.8515 GB, free: 63.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/1.345, allocations: 19.94 kB / 0.8515 GB, free: 63.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.345, allocations: 7.938 kB / 0.8515 GB, free: 63.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.345, allocations: 11.92 kB / 0.8515 GB, free: 63.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/1.345, allocations: 0.6927 MB / 0.8522 GB, free: 63.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/1.345, allocations: 132.4 kB / 0.8523 GB, free: 63.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.346, allocations: 111.1 kB / 0.8524 GB, free: 62.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/1.346, allocations: 15.98 kB / 0.8524 GB, free: 62.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/1.346, allocations: 23.97 kB / 0.8525 GB, free: 62.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/1.346, allocations: 19.98 kB / 0.8525 GB, free: 62.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004647/1.346, allocations: 0.504 MB / 0.853 GB, free: 62.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.51e-07/1.346, allocations: 0 / 0.853 GB, free: 62.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003591/1.35, allocations: 1.516 MB / 0.8545 GB, free: 60.9 MB / 0.5762 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.007455/1.357, allocations: 2.872 MB / 0.8573 GB, free: 58.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00084/1.358, allocations: 412.2 kB / 0.8577 GB, free: 57.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.358, allocations: 0 / 0.8577 GB, free: 57.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/1.359, allocations: 289.3 kB / 0.8579 GB, free: 57.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009296/1.36, allocations: 124.7 kB / 0.858 GB, free: 57.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.476/2.835, allocations: 0.6069 GB / 1.465 GB, free: 201.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/2.836, allocations: 0.9933 MB / 1.466 GB, free: 200.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005599/2.836, allocations: 0.5265 MB / 1.466 GB, free: 200.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/2.837, allocations: 335.3 kB / 1.467 GB, free: 199.8 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/2.837, allocations: 0 / 1.467 GB, free: 199.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08232/2.919, allocations: 63.77 MB / 1.529 GB, free: 136.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/15.84, allocations: 5.438 kB / 1.529 GB, free: 136.2 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