Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001404/0.001404, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001534/0.001534, allocations: 210 kB / 24.48 MB, free: 3.938 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.451/1.451, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.214/0.214, allocations: 44.94 MB / 359.6 MB, free: 6.086 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.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [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.002357/0.002357, allocations: 69.94 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3148, allocations: 65.47 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03453/0.3494, allocations: 24.16 MB / 0.5818 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003696/0.3531, allocations: 2.675 MB / 0.5844 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.3532, allocations: 0 / 0.5844 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.3535, allocations: 51.61 kB / 0.5845 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.3555, allocations: 0.7383 MB / 0.5852 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.3559, allocations: 135.1 kB / 0.5853 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.3565, allocations: 382.1 kB / 0.5857 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.658e-05/0.3565, allocations: 5.812 kB / 0.5857 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03603/0.3925, allocations: 15.34 MB / 0.6007 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.3929, allocations: 143.5 kB / 0.6008 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.3929, allocations: 8 kB / 0.6008 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007955/0.4009, allocations: 3.367 MB / 0.6041 GB, free: 8.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.401, allocations: 47.75 kB / 0.6042 GB, free: 8.184 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.4012, allocations: 95.58 kB / 0.6043 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.4021, allocations: 462.5 kB / 0.6047 GB, free: 7.637 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.4021, allocations: 4 kB / 0.6047 GB, free: 7.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4021, allocations: 0 / 0.6047 GB, free: 7.633 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.4021, allocations: 0 / 0.6047 GB, free: 7.633 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001151/0.4033, allocations: 0.5246 MB / 0.6052 GB, free: 7.078 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4033, allocations: 12.02 kB / 0.6052 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.4035, allocations: 32.8 kB / 0.6053 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.4038, allocations: 166.2 kB / 0.6054 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/0.404, allocations: 230.7 kB / 0.6056 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.404, allocations: 24.12 kB / 0.6057 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.4047, allocations: 493 kB / 0.6061 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4047, allocations: 4 kB / 0.6061 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.4047, allocations: 8 kB / 0.6061 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.4047, allocations: 8 kB / 0.6061 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008523/0.4056, allocations: 0.7195 MB / 0.6068 GB, free: 5.266 MB / 446.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.001324/0.4069, allocations: 1.042 MB / 0.6079 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.4073, allocations: 151.8 kB / 0.608 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.4074, allocations: 81.47 kB / 0.6081 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/0.4089, allocations: 0.7192 MB / 0.6088 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4089, allocations: 46.5 kB / 0.6088 GB, free: 3.137 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.4089, allocations: 0 / 0.6088 GB, free: 3.137 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.000319/0.4093, allocations: 117.4 kB / 0.6089 GB, free: 3.016 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.4093, allocations: 59.34 kB / 0.609 GB, free: 2.945 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.4095, allocations: 242.6 kB / 0.6092 GB, free: 2.699 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.4096, allocations: 25.7 kB / 0.6093 GB, free: 2.668 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.4097, allocations: 223.5 kB / 0.6095 GB, free: 2.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.4097, allocations: 47.62 kB / 0.6095 GB, free: 2.398 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.4098, allocations: 90.02 kB / 0.6096 GB, free: 2.305 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.41, allocations: 326.8 kB / 0.6099 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.4101, allocations: 48.83 kB / 0.61 GB, free: 1.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.4104, allocations: 343.2 kB / 0.6103 GB, free: 1.449 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.4109, allocations: 444.5 kB / 0.6107 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4109, allocations: 4 kB / 0.6107 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005861/0.4115, allocations: 381.1 kB / 0.6111 GB, free: 496 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.4115, allocations: 10.97 kB / 0.6111 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.4115, allocations: 12.84 kB / 0.6111 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.4115, allocations: 12 kB / 0.6111 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.4118, allocations: 107.8 kB / 0.6112 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.4118, allocations: 23.91 kB / 0.6112 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.4121, allocations: 55.62 kB / 0.6113 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.4121, allocations: 28 kB / 0.6113 GB, free: 248 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.4122, allocations: 149.5 kB / 0.6115 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.4123, allocations: 27.84 kB / 0.6115 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.4126, allocations: 145 kB / 0.6116 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.4126, allocations: 3.938 kB / 0.6116 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4126, allocations: 4 kB / 0.6116 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4126, allocations: 0 / 0.6116 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.4131, allocations: 344.6 kB / 0.612 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4131, allocations: 0 / 0.612 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.684e-05/0.4131, allocations: 23.86 kB / 0.612 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4131, allocations: 4.094 kB / 0.612 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.4132, allocations: 8 kB / 0.612 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4132, allocations: 0 / 0.612 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.4132, allocations: 4 kB / 0.612 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.4134, allocations: 205.9 kB / 0.6122 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.4134, allocations: 19.84 kB / 0.6122 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.4135, allocations: 7.938 kB / 0.6122 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.4136, allocations: 16.05 kB / 0.6122 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.4136, allocations: 3.984 kB / 0.6122 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4136, allocations: 4 kB / 0.6122 GB, free: 15.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.4138, allocations: 160.5 kB / 0.6124 GB, free: 15.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4138, allocations: 4 kB / 0.6124 GB, free: 15.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000506/0.4143, allocations: 91.83 kB / 0.6125 GB, free: 14.95 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002794/0.4146, allocations: 163 kB / 0.6126 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003032/0.4149, allocations: 165.2 kB / 0.6128 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4149, allocations: 0 / 0.6128 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.4149, allocations: 23.92 kB / 0.6128 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.4154, allocations: 53.77 kB / 0.6129 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.4164, allocations: 0.5609 MB / 0.6134 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.4165, allocations: 116.6 kB / 0.6135 GB, free: 13.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.4165, allocations: 27.42 kB / 0.6136 GB, free: 13.78 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4165, allocations: 0 / 0.6136 GB, free: 13.78 MB / 462.1 MB Notification: Performance of Templates: time 0.00614/0.4227, allocations: 3.477 MB / 0.617 GB, free: 10.31 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.061972449999303]