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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001615, allocations: 100.5 kB / 16.26 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.001422/0.001422, allocations: 190.1 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.623/1.623, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2256/0.2256, allocations: 43.53 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.001493/0.001493, allocations: 72.69 kB / 382.7 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1326, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01944/0.1521, allocations: 13.81 MB / 454.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03772/0.1899, allocations: 26.59 MB / 480.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.1902, allocations: 0 / 480.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.1907, allocations: 95.33 kB / 481 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0282/0.2189, allocations: 8.522 MB / 489.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009935/0.2199, allocations: 346.8 kB / 489.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004813/0.2248, allocations: 1.99 MB / 491.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.2249, allocations: 24.41 kB / 491.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.2254, allocations: 262.8 kB / 492.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006915/0.2323, allocations: 3.262 MB / 495.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.2324, allocations: 8 kB / 495.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02487/0.2573, allocations: 11.32 MB / 0.4949 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.2575, allocations: 47.81 kB / 0.4949 GB, free: 4.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.2579, allocations: 139.3 kB / 0.495 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02397/0.2818, allocations: 6.741 MB / 0.5016 GB, free: 13.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.2819, allocations: 0 / 0.5016 GB, free: 13.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.2819, allocations: 0 / 0.5016 GB, free: 13.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.2819, allocations: 4 kB / 0.5016 GB, free: 13.48 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.006054/0.288, allocations: 1.611 MB / 0.5032 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.2881, allocations: 15.89 kB / 0.5032 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.2897, allocations: 188.5 kB / 0.5034 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.29, allocations: 264 kB / 0.5036 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.2901, allocations: 25.03 kB / 0.5037 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.2901, allocations: 32.12 kB / 0.5037 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.2924, allocations: 0.7564 MB / 0.5044 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2924, allocations: 0 / 0.5044 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.2924, allocations: 20 kB / 0.5045 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.2925, allocations: 8 kB / 0.5045 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.2946, allocations: 0.8215 MB / 0.5053 GB, free: 9.609 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.003679/0.2983, allocations: 2.707 MB / 0.5079 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.2997, allocations: 353.7 kB / 0.5083 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.2999, allocations: 76.83 kB / 0.5083 GB, free: 6.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6253/0.9251, allocations: 141.2 MB / 0.6462 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001513/0.9267, allocations: 441.6 kB / 0.6466 GB, free: 8.406 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 3.808e-06/0.9267, allocations: 4 kB / 0.6466 GB, free: 8.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.00406/0.9308, allocations: 1.126 MB / 0.6477 GB, free: 7.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/0.931, allocations: 373.2 kB / 0.648 GB, free: 6.859 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.9312, allocations: 186.7 kB / 0.6482 GB, free: 6.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.9313, allocations: 37.69 kB / 0.6483 GB, free: 6.625 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.9314, allocations: 183.5 kB / 0.6484 GB, free: 6.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.9316, allocations: 118.2 kB / 0.6485 GB, free: 6.332 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.9317, allocations: 126 kB / 0.6487 GB, free: 6.207 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.9319, allocations: 330.8 kB / 0.649 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.9321, allocations: 81.06 kB / 0.6491 GB, free: 5.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.9326, allocations: 346.5 kB / 0.6494 GB, free: 5.332 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007141/0.9333, allocations: 490.8 kB / 0.6499 GB, free: 4.746 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.9333, allocations: 0 / 0.6499 GB, free: 4.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009349/0.9343, allocations: 467.9 kB / 0.6503 GB, free: 4.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.9343, allocations: 12.22 kB / 0.6503 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.9343, allocations: 12 kB / 0.6503 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/0.9344, allocations: 12 kB / 0.6503 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.9359, allocations: 215.6 kB / 0.6505 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008873/0.9368, allocations: 1.18 MB / 0.6517 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.9372, allocations: 27.97 kB / 0.6517 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.9373, allocations: 47.97 kB / 0.6518 GB, free: 2.738 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.0002918/0.9376, allocations: 164.2 kB / 0.6519 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.9377, allocations: 31.73 kB / 0.652 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/0.9408, allocations: 2.831 MB / 0.6547 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/0.9409, allocations: 23.97 kB / 0.6547 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.9409, allocations: 7.938 kB / 0.6548 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.9409, allocations: 4 kB / 0.6548 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.9423, allocations: 0.9675 MB / 0.6557 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.9423, allocations: 6.578 kB / 0.6557 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/0.9429, allocations: 96.55 kB / 0.6558 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/0.9432, allocations: 165.7 kB / 0.656 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.9432, allocations: 11.94 kB / 0.656 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004318/0.9437, allocations: 0.6459 MB / 0.6566 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9437, allocations: 4 kB / 0.6566 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.945, allocations: 0.9713 MB / 0.6576 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.9451, allocations: 136.3 kB / 0.6577 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.9453, allocations: 94.73 kB / 0.6578 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.9455, allocations: 20 kB / 0.6578 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.9456, allocations: 31.89 kB / 0.6578 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.9457, allocations: 15.94 kB / 0.6578 GB, free: 12.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006018/0.9463, allocations: 475 kB / 0.6583 GB, free: 11.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9463, allocations: 0 / 0.6583 GB, free: 11.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005173/0.9515, allocations: 1.604 MB / 0.6599 GB, free: 10.44 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.008445/0.9599, allocations: 1.86 MB / 0.6617 GB, free: 8.762 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002082/0.962, allocations: 0.557 MB / 0.6622 GB, free: 8.207 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.9621, allocations: 3.984 kB / 0.6622 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000499/0.9626, allocations: 357.5 kB / 0.6626 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009296/0.9635, allocations: 134.3 kB / 0.6627 GB, free: 7.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8983/1.862, allocations: 347.6 MB / 1.002 GB, free: 96.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/1.862, allocations: 0.9802 MB / 1.003 GB, free: 95.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008292/1.863, allocations: 0.5034 MB / 1.004 GB, free: 94.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/1.863, allocations: 55.41 kB / 1.004 GB, free: 94.84 MB / 0.4981 GB Notification: Performance of SimCode: time 1.462e-06/1.863, allocations: 4 kB / 1.004 GB, free: 94.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.06221/1.926, allocations: 58.65 MB / 1.061 GB, free: 36.22 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/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/jenkins/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