Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2358/0.2358, allocations: 46.13 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 87.86 kB / 481.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3399, allocations: 62.44 MB / 0.5311 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01887/0.3588, allocations: 13.93 MB / 0.5447 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03339/0.3923, allocations: 26.61 MB / 0.5707 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.3927, allocations: 0 / 0.5707 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.3931, allocations: 99.38 kB / 0.5708 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02607/0.4192, allocations: 8.52 MB / 0.5791 GB, free: 356 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009701/0.4202, allocations: 345.3 kB / 0.5795 GB, free: 16 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004822/0.425, allocations: 1.998 MB / 0.5814 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.839e-05/0.4251, allocations: 28.33 kB / 0.5814 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.4257, allocations: 270.8 kB / 0.5817 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00758/0.4332, allocations: 3.258 MB / 0.5849 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.4333, allocations: 8 kB / 0.5849 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02394/0.4573, allocations: 11.63 MB / 0.5962 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.4574, allocations: 43.83 kB / 0.5963 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.4577, allocations: 143.3 kB / 0.5964 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01775/0.4754, allocations: 6.758 MB / 0.603 GB, free: 7.773 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4755, allocations: 4 kB / 0.603 GB, free: 7.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4755, allocations: 0 / 0.603 GB, free: 7.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.4755, allocations: 3.984 kB / 0.603 GB, free: 7.766 MB / 462.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.005161/0.4807, allocations: 1.666 MB / 0.6047 GB, free: 6.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4807, allocations: 15.97 kB / 0.6047 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001647/0.4824, allocations: 192.5 kB / 0.6049 GB, free: 5.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.4828, allocations: 260 kB / 0.6051 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.4828, allocations: 36.95 kB / 0.6051 GB, free: 5.512 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.4829, allocations: 36.12 kB / 0.6052 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.4851, allocations: 0.7447 MB / 0.6059 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4851, allocations: 4 kB / 0.6059 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/0.4852, allocations: 12 kB / 0.6059 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.4852, allocations: 11.94 kB / 0.6059 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/0.4876, allocations: 0.8215 MB / 0.6067 GB, free: 3.832 MB / 462.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.003678/0.4912, allocations: 2.703 MB / 0.6094 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.4926, allocations: 358.3 kB / 0.6097 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.4927, allocations: 68.83 kB / 0.6098 GB, free: 492 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6496/1.142, allocations: 147.9 MB / 0.7542 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/1.143, allocations: 456.6 kB / 0.7546 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.126e-06/1.144, allocations: 0 / 0.7546 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003629/1.147, allocations: 1.14 MB / 0.7557 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/1.147, allocations: 375.9 kB / 0.7561 GB, free: 170 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/1.147, allocations: 178.3 kB / 0.7562 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/1.147, allocations: 33.7 kB / 0.7563 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/1.148, allocations: 197.9 kB / 0.7565 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/1.148, allocations: 122.9 kB / 0.7566 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/1.148, allocations: 126.1 kB / 0.7567 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.56e-05/1.148, allocations: 334.8 kB / 0.757 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/1.148, allocations: 85.06 kB / 0.7571 GB, free: 169 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/1.148, allocations: 341.6 kB / 0.7574 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/1.149, allocations: 483.3 kB / 0.7579 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.149, allocations: 4 kB / 0.7579 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007212/1.149, allocations: 467.6 kB / 0.7583 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.149, allocations: 15.98 kB / 0.7583 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.149, allocations: 8 kB / 0.7584 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.149, allocations: 15.94 kB / 0.7584 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.151, allocations: 210.5 kB / 0.7586 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004013/1.151, allocations: 1.193 MB / 0.7597 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/1.152, allocations: 16 kB / 0.7598 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/1.152, allocations: 47.97 kB / 0.7598 GB, free: 165.9 MB / 0.5762 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.0001502/1.152, allocations: 168 kB / 0.76 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/1.152, allocations: 27.86 kB / 0.76 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/1.154, allocations: 2.837 MB / 0.7628 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/1.154, allocations: 19.97 kB / 0.7628 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.154, allocations: 4 kB / 0.7628 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.154, allocations: 10.7 kB / 0.7628 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/1.155, allocations: 0.9716 MB / 0.7637 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.155, allocations: 0 / 0.7637 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/1.155, allocations: 100.3 kB / 0.7638 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/1.156, allocations: 158.8 kB / 0.764 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/1.156, allocations: 8 kB / 0.764 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002753/1.156, allocations: 0.6483 MB / 0.7646 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.156, allocations: 4 kB / 0.7646 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/1.157, allocations: 0.9875 MB / 0.7656 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/1.157, allocations: 134.1 kB / 0.7657 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/1.157, allocations: 94.53 kB / 0.7658 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/1.157, allocations: 15.98 kB / 0.7658 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/1.158, allocations: 34.69 kB / 0.7659 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/1.158, allocations: 19.98 kB / 0.7659 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004372/1.158, allocations: 475 kB / 0.7663 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.41e-07/1.158, allocations: 0 / 0.7663 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00417/1.162, allocations: 1.641 MB / 0.7679 GB, free: 157.7 MB / 0.5762 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.00794/1.17, allocations: 1.887 MB / 0.7698 GB, free: 156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001522/1.172, allocations: 0.541 MB / 0.7703 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.172, allocations: 3.844 kB / 0.7703 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/1.172, allocations: 366.4 kB / 0.7707 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/1.173, allocations: 132.2 kB / 0.7708 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6792/1.852, allocations: 348.6 MB / 1.111 GB, free: 72.85 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/1.853, allocations: 0.982 MB / 1.112 GB, free: 71.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007463/1.854, allocations: 0.5038 MB / 1.113 GB, free: 71.35 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/1.854, allocations: 63.41 kB / 1.113 GB, free: 71.29 MB / 0.6075 GB Notification: Performance of SimCode: time 1.353e-06/1.854, allocations: 3.938 kB / 1.113 GB, free: 71.29 MB / 0.6075 GB Notification: Performance of Templates: time 0.0586/1.912, allocations: 58.66 MB / 1.17 GB, free: 12.65 MB / 0.6075 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches