Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.00186/0.00186, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00243/0.00243, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 44.91 MB / 359.6 MB, free: 6.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 61.62 kB / 0.4944 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3338, allocations: 65.47 MB / 0.5583 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01864/0.3525, allocations: 14.05 MB / 0.572 GB, free: 9.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03425/0.3867, allocations: 26.78 MB / 0.5982 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.3869, allocations: 4 kB / 0.5982 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.3873, allocations: 95.39 kB / 0.5983 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02327/0.4106, allocations: 8.557 MB / 0.6066 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.4116, allocations: 350.5 kB / 0.6069 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004377/0.416, allocations: 2.006 MB / 0.6089 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.735e-05/0.4161, allocations: 16.53 kB / 0.6089 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006021/0.4167, allocations: 282.9 kB / 0.6092 GB, free: 3.406 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006781/0.4235, allocations: 3.274 MB / 0.6124 GB, free: 80 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.4235, allocations: 8 kB / 0.6124 GB, free: 72 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02427/0.4478, allocations: 11.66 MB / 0.6238 GB, free: 4.395 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.4479, allocations: 55.69 kB / 0.6238 GB, free: 4.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.4482, allocations: 139.3 kB / 0.624 GB, free: 4.203 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.4655, allocations: 6.778 MB / 0.6306 GB, free: 13.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4655, allocations: 0 / 0.6306 GB, free: 13.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.4655, allocations: 0 / 0.6306 GB, free: 13.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.4655, allocations: 0 / 0.6306 GB, free: 13.41 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.005062/0.4706, allocations: 1.599 MB / 0.6321 GB, free: 11.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4706, allocations: 8.031 kB / 0.6322 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.4721, allocations: 188.5 kB / 0.6323 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.4726, allocations: 214.1 kB / 0.6325 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.4726, allocations: 25.03 kB / 0.6326 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.4727, allocations: 32.12 kB / 0.6326 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.4749, allocations: 0.7565 MB / 0.6333 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4749, allocations: 0 / 0.6333 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.4749, allocations: 24 kB / 0.6334 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.4749, allocations: 8 kB / 0.6334 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.4771, allocations: 0.818 MB / 0.6342 GB, free: 9.637 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.003376/0.4805, allocations: 2.429 MB / 0.6365 GB, free: 7.055 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.4817, allocations: 342.3 kB / 0.6369 GB, free: 6.711 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.4819, allocations: 64.83 kB / 0.6369 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3571/0.839, allocations: 99.54 MB / 0.7341 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/0.8404, allocations: 454.8 kB / 0.7346 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.627e-06/0.8404, allocations: 0 / 0.7346 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.004166/0.8446, allocations: 1.138 MB / 0.7357 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002297/0.8448, allocations: 371.8 kB / 0.736 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.8451, allocations: 186.2 kB / 0.7362 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.8451, allocations: 33.7 kB / 0.7362 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.8452, allocations: 196.4 kB / 0.7364 GB, free: 448 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.8454, allocations: 123 kB / 0.7365 GB, free: 324 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.8455, allocations: 122.1 kB / 0.7367 GB, free: 196 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2574/1.103, allocations: 326.8 kB / 0.737 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/1.103, allocations: 77.27 kB / 0.737 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/1.104, allocations: 350.4 kB / 0.7374 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/1.104, allocations: 476.1 kB / 0.7378 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/1.104, allocations: 5.156 kB / 0.7378 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001057/1.105, allocations: 484.4 kB / 0.7383 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.105, allocations: 8.938 kB / 0.7383 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/1.105, allocations: 13.55 kB / 0.7383 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.841e-05/1.105, allocations: 12.25 kB / 0.7383 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/1.107, allocations: 210.4 kB / 0.7385 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004262/1.108, allocations: 1.187 MB / 0.7397 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/1.108, allocations: 25.48 kB / 0.7397 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/1.108, allocations: 48.14 kB / 0.7398 GB, free: 168.5 MB / 0.5606 GB 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.0001875/1.108, allocations: 161.8 kB / 0.7399 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/1.108, allocations: 29.62 kB / 0.7399 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/1.111, allocations: 2.992 MB / 0.7429 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.111, allocations: 20.02 kB / 0.7429 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.111, allocations: 3.938 kB / 0.7429 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.111, allocations: 6.031 kB / 0.7429 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/1.112, allocations: 0.9766 MB / 0.7439 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.112, allocations: 3.938 kB / 0.7439 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/1.112, allocations: 98.61 kB / 0.744 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/1.113, allocations: 162 kB / 0.7441 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/1.113, allocations: 8.812 kB / 0.7441 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002529/1.113, allocations: 0.6492 MB / 0.7447 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.113, allocations: 3.938 kB / 0.7448 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009179/1.114, allocations: 0.9941 MB / 0.7457 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/1.114, allocations: 55.48 kB / 0.7458 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.114, allocations: 92.38 kB / 0.7459 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/1.114, allocations: 24.61 kB / 0.7459 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/1.114, allocations: 37.75 kB / 0.7459 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/1.114, allocations: 15.61 kB / 0.7459 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004091/1.115, allocations: 471 kB / 0.7464 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.115, allocations: 0 / 0.7464 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003837/1.119, allocations: 1.634 MB / 0.748 GB, free: 165 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: 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.005874/1.124, allocations: 1.889 MB / 0.7498 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001564/1.126, allocations: 0.5427 MB / 0.7504 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.126, allocations: 2.5 kB / 0.7504 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003371/1.126, allocations: 299.7 kB / 0.7506 GB, free: 164 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008264/1.127, allocations: 132 kB / 0.7508 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6262/1.753, allocations: 348.7 MB / 1.091 GB, free: 120.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/1.754, allocations: 0.9859 MB / 1.092 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/1.754, allocations: 59.41 kB / 1.092 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of SimCode: time 1.133e-06/1.754, allocations: 0 / 1.092 GB, free: 119.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.03941/1.793, allocations: 37.87 MB / 1.129 GB, free: 81.51 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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: 12.317862816154957]