Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 100.7 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 190.4 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2207/0.2207, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 65.36 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.1001, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01387/0.114, allocations: 13.82 MB / 454.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02797/0.142, allocations: 26.58 MB / 481 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.1423, allocations: 0 / 481 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.1427, allocations: 103.3 kB / 481.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02169/0.1644, allocations: 8.513 MB / 489.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009358/0.1653, allocations: 342.9 kB / 490 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004598/0.1699, allocations: 1.994 MB / 492 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.1701, allocations: 28.41 kB / 492 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005642/0.1706, allocations: 262.8 kB / 492.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007443/0.1781, allocations: 3.258 MB / 495.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.709e-05/0.1782, allocations: 8 kB / 495.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02403/0.2022, allocations: 11.32 MB / 0.495 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.2024, allocations: 39.83 kB / 0.495 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.2027, allocations: 139.3 kB / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.2193, allocations: 6.753 MB / 0.5017 GB, free: 13.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.2194, allocations: 4 kB / 0.5017 GB, free: 13.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2194, allocations: 4 kB / 0.5017 GB, free: 13.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.2194, allocations: 0 / 0.5017 GB, free: 13.38 MB / 398.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.00574/0.2252, allocations: 1.603 MB / 0.5033 GB, free: 11.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.2252, allocations: 19.88 kB / 0.5033 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.337e-05/0.2253, allocations: 66.73 kB / 0.5034 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.227, allocations: 188.5 kB / 0.5036 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.2274, allocations: 267.9 kB / 0.5038 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.2274, allocations: 25.03 kB / 0.5038 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.2275, allocations: 31.94 kB / 0.5039 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.2297, allocations: 0.7525 MB / 0.5046 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2298, allocations: 3.938 kB / 0.5046 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.2298, allocations: 16 kB / 0.5046 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.2298, allocations: 12 kB / 0.5046 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.2321, allocations: 0.8215 MB / 0.5054 GB, free: 9.43 MB / 398.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.003551/0.2356, allocations: 2.707 MB / 0.5081 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.2369, allocations: 350.3 kB / 0.5084 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.237, allocations: 68.83 kB / 0.5085 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5588/0.7958, allocations: 141.2 MB / 0.6463 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.7972, allocations: 442.1 kB / 0.6468 GB, free: 8.059 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 3.346e-06/0.7972, allocations: 0.9375 kB / 0.6468 GB, free: 8.059 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.004047/0.8013, allocations: 1.124 MB / 0.6479 GB, free: 6.965 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.8015, allocations: 378.1 kB / 0.6482 GB, free: 6.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.8017, allocations: 194.4 kB / 0.6484 GB, free: 6.316 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.8018, allocations: 37.7 kB / 0.6484 GB, free: 6.273 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.8019, allocations: 176.3 kB / 0.6486 GB, free: 6.102 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.802, allocations: 122.1 kB / 0.6487 GB, free: 5.988 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.8022, allocations: 122.1 kB / 0.6488 GB, free: 5.863 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8023, allocations: 334.8 kB / 0.6492 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.8025, allocations: 81.06 kB / 0.6492 GB, free: 5.445 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.8029, allocations: 342.1 kB / 0.6496 GB, free: 4.988 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.8035, allocations: 494.2 kB / 0.65 GB, free: 4.387 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.8035, allocations: 4 kB / 0.65 GB, free: 4.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009156/0.8045, allocations: 465.4 kB / 0.6505 GB, free: 3.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.8045, allocations: 8 kB / 0.6505 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.8045, allocations: 12.09 kB / 0.6505 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.8045, allocations: 16 kB / 0.6505 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.8061, allocations: 211.7 kB / 0.6507 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008267/0.8069, allocations: 1.184 MB / 0.6519 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.8073, allocations: 28.03 kB / 0.6519 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/0.8073, allocations: 39.98 kB / 0.6519 GB, free: 2.383 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002511/0.8076, allocations: 165.6 kB / 0.6521 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.8077, allocations: 34.28 kB / 0.6521 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/0.8111, allocations: 2.836 MB / 0.6549 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.8111, allocations: 23.97 kB / 0.6549 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.8111, allocations: 4 kB / 0.6549 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.8111, allocations: 6.219 kB / 0.6549 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.8123, allocations: 0.9625 MB / 0.6559 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.8123, allocations: 4 kB / 0.6559 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.8129, allocations: 96.27 kB / 0.656 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.8131, allocations: 159.9 kB / 0.6561 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.8132, allocations: 23.86 kB / 0.6561 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006295/0.8138, allocations: 0.6447 MB / 0.6568 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.8138, allocations: 7.938 kB / 0.6568 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.8153, allocations: 0.9674 MB / 0.6577 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.8154, allocations: 140.2 kB / 0.6579 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.8155, allocations: 88.44 kB / 0.6579 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.8158, allocations: 19.98 kB / 0.658 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.8159, allocations: 37.27 kB / 0.658 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.816, allocations: 15.94 kB / 0.658 GB, free: 12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005923/0.8165, allocations: 475 kB / 0.6585 GB, free: 11.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8166, allocations: 0 / 0.6585 GB, free: 11.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004822/0.8214, allocations: 1.605 MB / 0.66 GB, free: 10.07 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009188/0.8306, allocations: 3.128 MB / 0.6631 GB, free: 7.055 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.8325, allocations: 0.5591 MB / 0.6636 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.8325, allocations: 0 / 0.6636 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004625/0.833, allocations: 366.4 kB / 0.664 GB, free: 6.141 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008585/0.8339, allocations: 131 kB / 0.6641 GB, free: 6.023 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.753/1.587, allocations: 352.5 MB / 1.008 GB, free: 89.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/1.587, allocations: 0.9854 MB / 1.009 GB, free: 88.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000708/1.588, allocations: 0.5049 MB / 1.01 GB, free: 87.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/1.588, allocations: 323.3 kB / 1.01 GB, free: 87.48 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/1.588, allocations: 0 / 1.01 GB, free: 87.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0938/1.682, allocations: 66.35 MB / 1.075 GB, free: 21.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/17.28, allocations: 15.95 kB / 1.075 GB, free: 21.16 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches