Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002285/0.002285, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002251/0.002251, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.13 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003457/0.003457, allocations: 79.86 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3851, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0176/0.4028, allocations: 12.48 MB / 0.5428 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.4045, allocations: 1.395 MB / 0.5442 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.4045, allocations: 1.281 kB / 0.5442 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.4048, allocations: 34.05 kB / 0.5442 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007311/0.4121, allocations: 2.232 MB / 0.5464 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.001e-05/0.4122, allocations: 4 kB / 0.5464 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.4123, allocations: 37.2 kB / 0.5464 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.4123, allocations: 6.359 kB / 0.5464 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.4124, allocations: 20.19 kB / 0.5464 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.1e-05/0.4125, allocations: 15.77 kB / 0.5465 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.4125, allocations: 0 / 0.5465 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008603/0.4211, allocations: 3.841 MB / 0.5502 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.4212, allocations: 11.98 kB / 0.5502 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.4213, allocations: 15.92 kB / 0.5502 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005499/0.4268, allocations: 1.976 MB / 0.5522 GB, free: 11.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.4268, allocations: 0 / 0.5522 GB, free: 11.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.4269, allocations: 0 / 0.5522 GB, free: 11.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.4269, allocations: 4 kB / 0.5522 GB, free: 11.63 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001689/0.4286, allocations: 0.5642 MB / 0.5527 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4287, allocations: 12.03 kB / 0.5527 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.4287, allocations: 34.75 kB / 0.5528 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.4289, allocations: 16.88 kB / 0.5528 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.429, allocations: 164.4 kB / 0.5529 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.429, allocations: 384 / 0.5529 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.4291, allocations: 4.375 kB / 0.5529 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.4293, allocations: 99.22 kB / 0.553 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4294, allocations: 0 / 0.553 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.4294, allocations: 0 / 0.553 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.4294, allocations: 4 kB / 0.553 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.4296, allocations: 47.95 kB / 0.5531 GB, free: 10.58 MB / 414.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.0005029/0.4301, allocations: 360.9 kB / 0.5534 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.4303, allocations: 54.55 kB / 0.5535 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.4303, allocations: 16.94 kB / 0.5535 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02252/0.4528, allocations: 10.42 MB / 0.5637 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.4529, allocations: 30.56 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.4529, allocations: 3.938 kB / 0.5637 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005062/0.4535, allocations: 109.6 kB / 0.5638 GB, free: 14.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.4535, allocations: 59.39 kB / 0.5639 GB, free: 14.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.4536, allocations: 97.86 kB / 0.564 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4536, allocations: 29.7 kB / 0.564 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.4537, allocations: 84.09 kB / 0.5641 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.4537, allocations: 19.81 kB / 0.5641 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.4538, allocations: 21.72 kB / 0.5641 GB, free: 13.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4539, allocations: 318.8 kB / 0.5644 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.454, allocations: 15.92 kB / 0.5644 GB, free: 13.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.454, allocations: 30.58 kB / 0.5645 GB, free: 13.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.929e-05/0.4541, allocations: 42.88 kB / 0.5645 GB, free: 13.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4541, allocations: 0 / 0.5645 GB, free: 13.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001101/0.4542, allocations: 65.61 kB / 0.5646 GB, free: 13.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4542, allocations: 8.062 kB / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4543, allocations: 4 kB / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4543, allocations: 0 / 0.5646 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.882e-05/0.4544, allocations: 8 kB / 0.5646 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4544, allocations: 3.984 kB / 0.5646 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.4544, allocations: 11.89 kB / 0.5646 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4544, allocations: 3.984 kB / 0.5646 GB, free: 13.45 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.817e-05/0.4545, allocations: 121.7 kB / 0.5647 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.4546, allocations: 0 / 0.5647 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.455, allocations: 379.8 kB / 0.5651 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4551, allocations: 3.984 kB / 0.5651 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4551, allocations: 0 / 0.5651 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4551, allocations: 3.938 kB / 0.5651 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.4554, allocations: 282.2 kB / 0.5653 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4554, allocations: 0 / 0.5653 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.4554, allocations: 7.984 kB / 0.5654 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4554, allocations: 0 / 0.5654 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4555, allocations: 4 kB / 0.5654 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4555, allocations: 3.938 kB / 0.5654 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4555, allocations: 4 kB / 0.5654 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.4558, allocations: 285.7 kB / 0.5656 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.4558, allocations: 92.95 kB / 0.5657 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.4558, allocations: 0 / 0.5657 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.4559, allocations: 0 / 0.5657 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.4559, allocations: 7.984 kB / 0.5657 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.4559, allocations: 4.188 kB / 0.5657 GB, free: 12.18 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.735e-05/0.456, allocations: 87.28 kB / 0.5658 GB, free: 12.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.456, allocations: 0 / 0.5658 GB, free: 12.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001312/0.4573, allocations: 451.3 kB / 0.5663 GB, free: 11.65 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002431/0.4598, allocations: 1.281 MB / 0.5675 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.46, allocations: 91.83 kB / 0.5676 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.46, allocations: 0 / 0.5676 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.4601, allocations: 83.98 kB / 0.5677 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.4604, allocations: 15.92 kB / 0.5677 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.4616, allocations: 473.4 kB / 0.5681 GB, free: 9.648 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.462, allocations: 0.7125 MB / 0.5688 GB, free: 8.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.823e-05/0.4621, allocations: 19.97 kB / 0.5689 GB, free: 8.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.4621, allocations: 35.36 kB / 0.5689 GB, free: 8.855 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4621, allocations: 4 kB / 0.5689 GB, free: 8.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.5085, allocations: 15.63 MB / 0.5842 GB, free: 9.293 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/9.27, allocations: 8.188 kB / 0.5842 GB, free: 9.289 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_WaterIF97_dewEnthalpy.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches