Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001323/0.001323, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.001464/0.001464, allocations: 163.5 kB / 23.95 MB, free: 4.172 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.469/1.469, allocations: 177.2 MB / 204.3 MB, free: 9.195 MB / 190.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.2204/0.2204, allocations: 34.27 MB / 294.9 MB, free: 14.6 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: 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.1.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.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.337e-05, allocations: 2.281 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.2957/0.2957, allocations: 12.71 MB / 455.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02981/0.3255, allocations: 23.37 MB / 478.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.3258, allocations: 1.531 kB / 478.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.3262, allocations: 82.78 kB / 478.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02947/0.3557, allocations: 8.637 MB / 487.5 MB, free: 7.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3568, allocations: 362.7 kB / 487.9 MB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005492/0.3623, allocations: 2.028 MB / 489.9 MB, free: 6.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.217e-05/0.3624, allocations: 15.58 kB / 489.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005796/0.363, allocations: 295.1 kB / 490.2 MB, free: 6.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007917/0.3709, allocations: 3.265 MB / 493.5 MB, free: 3.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.143e-05/0.371, allocations: 8 kB / 493.5 MB, free: 3.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02611/0.3971, allocations: 11.1 MB / 0.4928 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.3972, allocations: 51.75 kB / 0.4928 GB, free: 8.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.3976, allocations: 107.8 kB / 0.4929 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02445/0.4221, allocations: 8.575 MB / 0.5013 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4221, allocations: 0 / 0.5013 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4221, allocations: 0 / 0.5013 GB, free: 15.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.4221, allocations: 0 / 0.5013 GB, free: 15.7 MB / 414.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.004903/0.427, allocations: 1.579 MB / 0.5028 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.427, allocations: 8.031 kB / 0.5028 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001663/0.4287, allocations: 188.6 kB / 0.503 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.429, allocations: 217.3 kB / 0.5032 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.4291, allocations: 21.03 kB / 0.5032 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.4291, allocations: 32.38 kB / 0.5033 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.4315, allocations: 0.8114 MB / 0.5041 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.4315, allocations: 3.938 kB / 0.5041 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.4315, allocations: 15.94 kB / 0.5041 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.4315, allocations: 8 kB / 0.5041 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.4339, allocations: 0.8102 MB / 0.5049 GB, free: 11.89 MB / 414.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.003602/0.4375, allocations: 2.077 MB / 0.5069 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.4388, allocations: 346.3 kB / 0.5072 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.439, allocations: 66.08 kB / 0.5073 GB, free: 9.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3998/0.8388, allocations: 99.95 MB / 0.6049 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/0.8402, allocations: 434.6 kB / 0.6053 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.8402, allocations: 7.938 kB / 0.6053 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.004245/0.8445, allocations: 1.141 MB / 0.6064 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/0.8447, allocations: 377.2 kB / 0.6068 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.8449, allocations: 190.2 kB / 0.607 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.826e-05/0.8449, allocations: 37.7 kB / 0.607 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.8451, allocations: 184.1 kB / 0.6072 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.8452, allocations: 123 kB / 0.6073 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.8454, allocations: 126.1 kB / 0.6074 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.8456, allocations: 326.8 kB / 0.6077 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.8458, allocations: 80.94 kB / 0.6078 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.8462, allocations: 348.9 kB / 0.6082 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.8469, allocations: 483.4 kB / 0.6086 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.8469, allocations: 4 kB / 0.6086 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009858/0.8479, allocations: 475.6 kB / 0.6091 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.8479, allocations: 12 kB / 0.6091 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.8479, allocations: 8 kB / 0.6091 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.8479, allocations: 12 kB / 0.6091 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.8496, allocations: 212.3 kB / 0.6093 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007624/0.8504, allocations: 1.184 MB / 0.6105 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.8507, allocations: 27.89 kB / 0.6105 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.8508, allocations: 43.97 kB / 0.6105 GB, free: 14.98 MB / 0.5137 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.0002075/0.851, allocations: 166.2 kB / 0.6107 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.8511, allocations: 27.91 kB / 0.6107 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.8546, allocations: 3.061 MB / 0.6137 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.8546, allocations: 23.97 kB / 0.6137 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8546, allocations: 4 kB / 0.6137 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.8546, allocations: 3.984 kB / 0.6137 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.8557, allocations: 0.879 MB / 0.6146 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.8557, allocations: 8.312 kB / 0.6146 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005978/0.8563, allocations: 100.3 kB / 0.6147 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.8565, allocations: 164.7 kB / 0.6149 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.8565, allocations: 15.98 kB / 0.6149 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004552/0.857, allocations: 0.6419 MB / 0.6155 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.857, allocations: 4 kB / 0.6155 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.8584, allocations: 1.002 MB / 0.6165 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.8584, allocations: 55.62 kB / 0.6165 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.8586, allocations: 95.08 kB / 0.6166 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.8589, allocations: 15.98 kB / 0.6166 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.859, allocations: 35.83 kB / 0.6167 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.859, allocations: 20.86 kB / 0.6167 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006225/0.8596, allocations: 474.9 kB / 0.6171 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.8596, allocations: 0 / 0.6171 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004561/0.8642, allocations: 1.637 MB / 0.6187 GB, free: 6.426 MB / 0.5137 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.007046/0.8712, allocations: 2.125 MB / 0.6208 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001711/0.8729, allocations: 0.5473 MB / 0.6214 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.873, allocations: 0 / 0.6214 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000475/0.8734, allocations: 298.6 kB / 0.6216 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009216/0.8743, allocations: 124.2 kB / 0.6218 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9023/1.777, allocations: 348.6 MB / 0.9622 GB, free: 105.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/1.777, allocations: 392 kB / 0.9626 GB, free: 104.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006587/1.778, allocations: 0.5074 MB / 0.9631 GB, free: 104.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/1.778, allocations: 52.47 kB / 0.9631 GB, free: 104.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.152e-06/1.778, allocations: 4 kB / 0.9631 GB, free: 104.2 MB / 0.545 GB Notification: Performance of Templates: time 0.06295/1.841, allocations: 58.86 MB / 1.021 GB, free: 45.52 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 10.767761565744877]