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.00173/0.00173, allocations: 107.3 kB / 17.03 MB, free: 5.66 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.001915/0.001915, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.613/1.613, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2237/0.2237, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 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.001516/0.001516, allocations: 69.33 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.09819, allocations: 57.78 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01685/0.1151, allocations: 13.82 MB / 455.8 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02892/0.144, allocations: 26.59 MB / 482.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.1443, allocations: 0 / 482.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.1447, allocations: 91.39 kB / 482.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02559/0.1703, allocations: 8.525 MB / 491 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1714, allocations: 334.9 kB / 491.3 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004859/0.1763, allocations: 1.998 MB / 493.3 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.363e-05/0.1764, allocations: 28.39 kB / 493.3 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005296/0.1769, allocations: 258.8 kB / 493.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007042/0.184, allocations: 3.268 MB / 496.9 MB, free: 15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.186e-05/0.184, allocations: 8 kB / 496.9 MB, free: 15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02373/0.2078, allocations: 11.6 MB / 0.4965 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2079, allocations: 43.81 kB / 0.4966 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.2082, allocations: 135.3 kB / 0.4967 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01908/0.2273, allocations: 6.734 MB / 0.5033 GB, free: 12.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2273, allocations: 0 / 0.5033 GB, free: 12.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2273, allocations: 0 / 0.5033 GB, free: 12.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.2273, allocations: 0 / 0.5033 GB, free: 12.46 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.005125/0.2325, allocations: 1.618 MB / 0.5049 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2325, allocations: 11.89 kB / 0.5049 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.2341, allocations: 188.5 kB / 0.5051 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.2346, allocations: 264 kB / 0.5053 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.2346, allocations: 21.03 kB / 0.5053 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.2347, allocations: 36.12 kB / 0.5054 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.2368, allocations: 0.7564 MB / 0.5061 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2368, allocations: 3.938 kB / 0.5061 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.2369, allocations: 12 kB / 0.5061 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.2369, allocations: 11.94 kB / 0.5061 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.239, allocations: 0.8176 MB / 0.5069 GB, free: 8.594 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.003265/0.2423, allocations: 2.707 MB / 0.5096 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.2435, allocations: 354.3 kB / 0.5099 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.2437, allocations: 72.83 kB / 0.51 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6071/0.8507, allocations: 142.9 MB / 0.6495 GB, free: 6.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.8522, allocations: 452.2 kB / 0.6499 GB, free: 5.547 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 3.196e-06/0.8522, allocations: 0 / 0.6499 GB, free: 5.547 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.003956/0.8562, allocations: 1.119 MB / 0.651 GB, free: 4.457 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/0.8564, allocations: 376.5 kB / 0.6514 GB, free: 4.008 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.8566, allocations: 190.6 kB / 0.6516 GB, free: 3.812 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.8566, allocations: 33.7 kB / 0.6516 GB, free: 3.773 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.8567, allocations: 177.6 kB / 0.6518 GB, free: 3.598 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.292e-05/0.8568, allocations: 121.7 kB / 0.6519 GB, free: 3.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.857, allocations: 122.1 kB / 0.652 GB, free: 3.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.8571, allocations: 334.8 kB / 0.6523 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.8573, allocations: 77.08 kB / 0.6524 GB, free: 2.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.8577, allocations: 346.1 kB / 0.6527 GB, free: 2.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.8584, allocations: 491.2 kB / 0.6532 GB, free: 1.906 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.8584, allocations: 4 kB / 0.6532 GB, free: 1.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008577/0.8593, allocations: 471.9 kB / 0.6537 GB, free: 1.438 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.8593, allocations: 8 kB / 0.6537 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.8593, allocations: 12 kB / 0.6537 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.105e-05/0.8594, allocations: 12 kB / 0.6537 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.8609, allocations: 208.3 kB / 0.6539 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009214/0.8619, allocations: 1.184 MB / 0.655 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.8622, allocations: 27.84 kB / 0.6551 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.8623, allocations: 43.97 kB / 0.6551 GB, free: 15.9 MB / 462.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.0002413/0.8625, allocations: 169.8 kB / 0.6553 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.8626, allocations: 27.75 kB / 0.6553 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.866, allocations: 2.823 MB / 0.6581 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.866, allocations: 19.97 kB / 0.6581 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.866, allocations: 4 kB / 0.6581 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.866, allocations: 4 kB / 0.6581 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.8672, allocations: 0.9685 MB / 0.659 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.8672, allocations: 4 kB / 0.659 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.8678, allocations: 104.5 kB / 0.6591 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.868, allocations: 155.9 kB / 0.6593 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.868, allocations: 15.94 kB / 0.6593 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004039/0.8684, allocations: 0.6486 MB / 0.6599 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.8685, allocations: 7.938 kB / 0.6599 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.8697, allocations: 0.9664 MB / 0.6609 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.8698, allocations: 140.2 kB / 0.661 GB, free: 9.703 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.87, allocations: 86.81 kB / 0.6611 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.8703, allocations: 15.98 kB / 0.6611 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.8704, allocations: 38.97 kB / 0.6612 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.8704, allocations: 19.94 kB / 0.6612 GB, free: 9.547 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006311/0.8711, allocations: 471 kB / 0.6616 GB, free: 9.086 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8711, allocations: 0 / 0.6616 GB, free: 9.086 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005544/0.8766, allocations: 1.609 MB / 0.6632 GB, free: 7.617 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.007995/0.8846, allocations: 1.853 MB / 0.665 GB, free: 5.926 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.8864, allocations: 0.5405 MB / 0.6655 GB, free: 5.387 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.8864, allocations: 8.062 kB / 0.6655 GB, free: 5.379 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.8869, allocations: 357.6 kB / 0.6659 GB, free: 5.031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.8877, allocations: 131.7 kB / 0.666 GB, free: 4.914 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8821/1.77, allocations: 347.6 MB / 1.005 GB, free: 93.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/1.77, allocations: 0.982 MB / 1.006 GB, free: 92.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006491/1.771, allocations: 0.5021 MB / 1.007 GB, free: 92.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/1.771, allocations: 59.41 kB / 1.007 GB, free: 92.09 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/1.771, allocations: 0 / 1.007 GB, free: 92.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.06195/1.833, allocations: 58.42 MB / 1.064 GB, free: 33.74 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 -s cvode -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/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