Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 46.92 MB / 360.9 MB, free: 4.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 67.89 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3481, allocations: 66.04 MB / 0.5607 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01818/0.3663, allocations: 14.03 MB / 0.5744 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03314/0.3995, allocations: 26.78 MB / 0.6006 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.3997, allocations: 4 kB / 0.6006 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.4001, allocations: 91.39 kB / 0.6006 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02375/0.4239, allocations: 8.561 MB / 0.609 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009618/0.4248, allocations: 362.4 kB / 0.6094 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004242/0.4291, allocations: 2.01 MB / 0.6113 GB, free: 480 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.433e-05/0.4291, allocations: 12.59 kB / 0.6113 GB, free: 464 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.4297, allocations: 282.8 kB / 0.6116 GB, free: 180 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006247/0.4359, allocations: 3.281 MB / 0.6148 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.436, allocations: 8 kB / 0.6148 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02265/0.4586, allocations: 10.86 MB / 0.6254 GB, free: 1.957 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.4588, allocations: 47.83 kB / 0.6255 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002694/0.459, allocations: 139.3 kB / 0.6256 GB, free: 1.773 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01787/0.4769, allocations: 6.337 MB / 0.6318 GB, free: 11.42 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4769, allocations: 0 / 0.6318 GB, free: 11.42 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4769, allocations: 4 kB / 0.6318 GB, free: 11.42 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.4769, allocations: 0 / 0.6318 GB, free: 11.42 MB / 478.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.005253/0.4822, allocations: 1.551 MB / 0.6333 GB, free: 9.832 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.4822, allocations: 8.031 kB / 0.6333 GB, free: 9.824 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.488e-05/0.4823, allocations: 70.67 kB / 0.6334 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.484, allocations: 220.5 kB / 0.6336 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.4844, allocations: 218.2 kB / 0.6338 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.4844, allocations: 24.97 kB / 0.6338 GB, free: 9.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/0.4844, allocations: 35.94 kB / 0.6339 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.4868, allocations: 0.8213 MB / 0.6347 GB, free: 8.367 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.4868, allocations: 4 kB / 0.6347 GB, free: 8.363 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.4868, allocations: 12 kB / 0.6347 GB, free: 8.352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.4869, allocations: 8 kB / 0.6347 GB, free: 8.344 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.4893, allocations: 0.9351 MB / 0.6356 GB, free: 7.41 MB / 478.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.00343/0.4927, allocations: 2.296 MB / 0.6378 GB, free: 4.969 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.4941, allocations: 386.1 kB / 0.6382 GB, free: 4.582 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.4943, allocations: 64.83 kB / 0.6383 GB, free: 4.516 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8105/1.305, allocations: 160.4 MB / 0.7949 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/1.306, allocations: 479.5 kB / 0.7953 GB, free: 116 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.503e-06/1.306, allocations: 0 / 0.7953 GB, free: 116 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.002658/1.309, allocations: 0.7812 MB / 0.7961 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/1.309, allocations: 371.7 kB / 0.7965 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/1.309, allocations: 180.3 kB / 0.7966 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/1.309, allocations: 34.05 kB / 0.7967 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/1.309, allocations: 191.5 kB / 0.7969 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/1.309, allocations: 126.2 kB / 0.797 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/1.309, allocations: 122.1 kB / 0.7971 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/1.309, allocations: 330.6 kB / 0.7974 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/1.309, allocations: 80.94 kB / 0.7975 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/1.31, allocations: 348 kB / 0.7978 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/1.31, allocations: 484.6 kB / 0.7983 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/1.31, allocations: 0 / 0.7983 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007605/1.311, allocations: 464.9 kB / 0.7987 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.311, allocations: 12 kB / 0.7987 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/1.311, allocations: 8.875 kB / 0.7987 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/1.311, allocations: 12 kB / 0.7988 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/1.311, allocations: 147.7 kB / 0.7989 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.311, allocations: 19.92 kB / 0.7989 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/1.312, allocations: 57.03 kB / 0.799 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/1.312, allocations: 39.98 kB / 0.799 GB, free: 111.9 MB / 0.5606 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.0001205/1.312, allocations: 168.4 kB / 0.7992 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/1.312, allocations: 30.06 kB / 0.7992 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/1.314, allocations: 2.753 MB / 0.8019 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/1.314, allocations: 19.98 kB / 0.8019 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.314, allocations: 4 kB / 0.8019 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.314, allocations: 3.984 kB / 0.8019 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/1.315, allocations: 0.9348 MB / 0.8028 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.315, allocations: 0 / 0.8028 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/1.315, allocations: 79.86 kB / 0.8029 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.315, allocations: 4 kB / 0.8029 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/1.315, allocations: 16.22 kB / 0.8029 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/1.315, allocations: 11.92 kB / 0.8029 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.315, allocations: 4 kB / 0.8029 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/1.316, allocations: 0.7136 MB / 0.8036 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/1.316, allocations: 55.56 kB / 0.8037 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.316, allocations: 107 kB / 0.8038 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/1.316, allocations: 15.98 kB / 0.8038 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/1.316, allocations: 35.83 kB / 0.8038 GB, free: 107 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/1.316, allocations: 16 kB / 0.8038 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004358/1.317, allocations: 0.5078 MB / 0.8043 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.317, allocations: 4 kB / 0.8043 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004253/1.321, allocations: 1.536 MB / 0.8058 GB, free: 104.9 MB / 0.5606 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.006912/1.328, allocations: 2.908 MB / 0.8087 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008091/1.329, allocations: 423.8 kB / 0.8091 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.329, allocations: 0 / 0.8091 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/1.329, allocations: 233.5 kB / 0.8093 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007937/1.33, allocations: 127.5 kB / 0.8094 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.248/2.578, allocations: 0.6073 GB / 1.417 GB, free: 50.33 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/2.578, allocations: 0.9817 MB / 1.418 GB, free: 49.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005971/2.579, allocations: 0.5254 MB / 1.418 GB, free: 48.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/2.579, allocations: 338.2 kB / 1.419 GB, free: 48.48 MB / 0.6387 GB Notification: Performance of SimCode: time 1.232e-06/2.579, allocations: 0 / 1.419 GB, free: 48.48 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3913/2.97, allocations: 64.21 MB / 1.481 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/18.98, allocations: 19.36 kB / 1.481 GB, free: 208.8 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.332135115982965]