Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 107.9 kB / 16.41 MB, free: 6.008 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.001564/0.001564, allocations: 189.9 kB / 17.34 MB, free: 5.621 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.491/1.491, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2291/0.2291, allocations: 43.52 MB / 314.1 MB, free: 468 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.001756/0.001756, allocations: 63.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1596, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.4405/0.6002, allocations: 43.94 MB / 0.5308 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008052/0.6083, allocations: 4.362 MB / 0.5351 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007063/0.609, allocations: 25.19 kB / 0.5351 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.6102, allocations: 319.3 kB / 0.5354 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.613, allocations: 0.8651 MB / 0.5362 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.6161, allocations: 0.9083 MB / 0.5371 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002815/0.619, allocations: 1.79 MB / 0.5389 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009249/0.6199, allocations: 455.5 kB / 0.5393 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1167/0.7366, allocations: 44.52 MB / 0.5828 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01998/0.7567, allocations: 7.953 MB / 0.5906 GB, free: 6.531 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003019/0.757, allocations: 60 kB / 0.5906 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02738/0.7844, allocations: 10.67 MB / 0.601 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006921/0.7851, allocations: 265.2 kB / 0.6013 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008371/0.786, allocations: 388.5 kB / 0.6017 GB, free: 11.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002/0.788, allocations: 1.083 MB / 0.6027 GB, free: 10.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.788, allocations: 0 / 0.6027 GB, free: 10.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.788, allocations: 7.844 kB / 0.6027 GB, free: 10.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.788, allocations: 0 / 0.6027 GB, free: 10.09 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002432/0.7905, allocations: 1.044 MB / 0.6037 GB, free: 9.008 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.7905, allocations: 15.89 kB / 0.6038 GB, free: 8.992 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.7909, allocations: 92.08 kB / 0.6038 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009501/0.7919, allocations: 0.5307 MB / 0.6044 GB, free: 8.344 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.792, allocations: 103.1 kB / 0.6045 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.7922, allocations: 51.73 kB / 0.6045 GB, free: 8.188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.7937, allocations: 0.8188 MB / 0.6053 GB, free: 7.309 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-05/0.7938, allocations: 7.938 kB / 0.6053 GB, free: 7.301 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.219e-05/0.7939, allocations: 22.66 kB / 0.6053 GB, free: 7.281 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/0.7939, allocations: 40.97 kB / 0.6054 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.795, allocations: 0.6478 MB / 0.606 GB, free: 6.598 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.00512/0.8002, allocations: 4.218 MB / 0.6101 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/0.8011, allocations: 427.8 kB / 0.6105 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.8015, allocations: 209.4 kB / 0.6107 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005314/0.802, allocations: 0.4911 MB / 0.6112 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.8021, allocations: 38.89 kB / 0.6113 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 4.398e-06/0.8021, allocations: 0 / 0.6113 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003229/0.8053, allocations: 1.53 MB / 0.6128 GB, free: 15.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.8054, allocations: 132.5 kB / 0.6129 GB, free: 15.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006638/0.8061, allocations: 0.577 MB / 0.6134 GB, free: 14.51 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.8061, allocations: 33.7 kB / 0.6135 GB, free: 14.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.8064, allocations: 353.7 kB / 0.6138 GB, free: 14.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.8065, allocations: 161 kB / 0.614 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.8068, allocations: 140.1 kB / 0.6141 GB, free: 13.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.8069, allocations: 378.7 kB / 0.6145 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.8073, allocations: 221.9 kB / 0.6147 GB, free: 13.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/0.8079, allocations: 0.5317 MB / 0.6152 GB, free: 12.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.809, allocations: 0.7755 MB / 0.6159 GB, free: 11.67 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.809, allocations: 0 / 0.6159 GB, free: 11.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001765/0.8108, allocations: 0.9447 MB / 0.6169 GB, free: 10.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.8108, allocations: 8 kB / 0.6169 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.8109, allocations: 12 kB / 0.6169 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.812, allocations: 262.1 kB / 0.6171 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.8125, allocations: 127.8 kB / 0.6173 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.8136, allocations: 0.8706 MB / 0.6181 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.8141, allocations: 28 kB / 0.6181 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.8142, allocations: 35.98 kB / 0.6182 GB, free: 9.355 MB / 478.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: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003431/0.8145, allocations: 248 kB / 0.6184 GB, free: 9.105 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.8146, allocations: 63.25 kB / 0.6185 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.816, allocations: 0.7116 MB / 0.6192 GB, free: 8.32 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.816, allocations: 8 kB / 0.6192 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.816, allocations: 0 / 0.6192 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.8161, allocations: 3.984 kB / 0.6192 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.8182, allocations: 1.399 MB / 0.6205 GB, free: 6.836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8182, allocations: 3.938 kB / 0.6205 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/0.8192, allocations: 191.8 kB / 0.6207 GB, free: 6.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.8195, allocations: 61 kB / 0.6208 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.8195, allocations: 12 kB / 0.6208 GB, free: 6.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002675/0.8222, allocations: 2.986 MB / 0.6237 GB, free: 3.316 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8222, allocations: 8.547 kB / 0.6237 GB, free: 3.309 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.8238, allocations: 1.002 MB / 0.6247 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.8241, allocations: 204.2 kB / 0.6249 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.8242, allocations: 16.06 kB / 0.6249 GB, free: 2.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.8246, allocations: 23.92 kB / 0.6249 GB, free: 2.012 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.8247, allocations: 35.89 kB / 0.625 GB, free: 1.977 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.8247, allocations: 20.81 kB / 0.625 GB, free: 1.957 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005442/0.8253, allocations: 423 kB / 0.6254 GB, free: 1.543 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8253, allocations: 0 / 0.6254 GB, free: 1.543 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008205/0.8261, allocations: 200 kB / 0.6256 GB, free: 1.348 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000586/0.8267, allocations: 242.5 kB / 0.6258 GB, free: 1.113 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.828, allocations: 0.6001 MB / 0.6264 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.828, allocations: 0 / 0.6264 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.8292, allocations: 487.4 kB / 0.6269 GB, free: 28 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.8307, allocations: 371.7 kB / 0.6272 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.8331, allocations: 1.392 MB / 0.6286 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.8337, allocations: 0.9462 MB / 0.6295 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006666/0.8344, allocations: 202.5 kB / 0.6297 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.8345, allocations: 59.44 kB / 0.6298 GB, free: 13.01 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.8345, allocations: 3.938 kB / 0.6298 GB, free: 13.01 MB / 494.1 MB Notification: Performance of Templates: time 0.03013/0.8647, allocations: 15.3 MB / 0.6447 GB, free: 13.75 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches