Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001033/0.001034, allocations: 90.92 kB / 17.35 MB, free: 6.027 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.001441/0.001442, allocations: 172.8 kB / 18.25 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2049/0.2049, allocations: 44.24 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003241, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1208, allocations: 61.93 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3127/0.4335, allocations: 45.33 MB / 0.5055 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00751/0.4411, allocations: 4.473 MB / 0.5098 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.4422, allocations: 25.44 kB / 0.5099 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000991/0.4432, allocations: 274 kB / 0.5101 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.4459, allocations: 0.8091 MB / 0.5109 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.449, allocations: 0.8017 MB / 0.5117 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004146/0.4531, allocations: 2.664 MB / 0.5143 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008963/0.454, allocations: 397.3 kB / 0.5147 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09787/0.5519, allocations: 43.35 MB / 0.557 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01775/0.5697, allocations: 7.967 MB / 0.5648 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002603/0.5701, allocations: 32 kB / 0.5648 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02271/0.5928, allocations: 10.63 MB / 0.5752 GB, free: 388 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007296/0.5935, allocations: 236.9 kB / 0.5754 GB, free: 184 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008458/0.5944, allocations: 386.9 kB / 0.5758 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.596, allocations: 1.037 MB / 0.5768 GB, free: 14.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5961, allocations: 0 / 0.5768 GB, free: 14.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.5961, allocations: 0 / 0.5768 GB, free: 14.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.5961, allocations: 0 / 0.5768 GB, free: 14.89 MB / 430.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.002133/0.5982, allocations: 0.9179 MB / 0.5777 GB, free: 13.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5983, allocations: 11.97 kB / 0.5777 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.5986, allocations: 99.98 kB / 0.5778 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000726/0.5994, allocations: 0.4951 MB / 0.5783 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.5995, allocations: 106.2 kB / 0.5784 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.5996, allocations: 55.8 kB / 0.5784 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.6009, allocations: 0.8211 MB / 0.5792 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.6009, allocations: 5.312 kB / 0.5793 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/0.601, allocations: 26.89 kB / 0.5793 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.6011, allocations: 44.92 kB / 0.5793 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.6023, allocations: 0.64 MB / 0.5799 GB, free: 11.54 MB / 430.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.004712/0.607, allocations: 4.216 MB / 0.5841 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/0.608, allocations: 419.8 kB / 0.5845 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.6083, allocations: 210.2 kB / 0.5847 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.6088, allocations: 0.4979 MB / 0.5851 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.6088, allocations: 38.89 kB / 0.5852 GB, free: 5.797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.6088, allocations: 0 / 0.5852 GB, free: 5.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003126/0.612, allocations: 1.537 MB / 0.5867 GB, free: 4.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.6121, allocations: 136.5 kB / 0.5868 GB, free: 4.039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.6127, allocations: 0.5655 MB / 0.5874 GB, free: 3.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.6128, allocations: 33.7 kB / 0.5874 GB, free: 3.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.6131, allocations: 357.8 kB / 0.5877 GB, free: 3.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.6132, allocations: 164.6 kB / 0.5879 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.6133, allocations: 61.69 kB / 0.588 GB, free: 2.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6135, allocations: 380.8 kB / 0.5883 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.6139, allocations: 225.9 kB / 0.5885 GB, free: 2.254 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.6145, allocations: 0.5165 MB / 0.589 GB, free: 1.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.6155, allocations: 0.7795 MB / 0.5898 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6155, allocations: 4 kB / 0.5898 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001843/0.6174, allocations: 0.9378 MB / 0.5907 GB, free: 15.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.6174, allocations: 10.03 kB / 0.5907 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.6174, allocations: 8 kB / 0.5907 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.6186, allocations: 282.1 kB / 0.591 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.619, allocations: 119.8 kB / 0.5911 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000993/0.62, allocations: 0.8653 MB / 0.592 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.6206, allocations: 47.98 kB / 0.592 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.6207, allocations: 39.98 kB / 0.5921 GB, free: 14.36 MB / 446.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.0003432/0.621, allocations: 242.1 kB / 0.5923 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.6211, allocations: 67.16 kB / 0.5923 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.6225, allocations: 0.7236 MB / 0.5931 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.6225, allocations: 4 kB / 0.5931 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6225, allocations: 7.438 kB / 0.5931 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.6225, allocations: 3.984 kB / 0.5931 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.6247, allocations: 1.399 MB / 0.5944 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.6247, allocations: 7.938 kB / 0.5944 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.6257, allocations: 191.7 kB / 0.5946 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/0.626, allocations: 69.03 kB / 0.5947 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.6261, allocations: 15.98 kB / 0.5947 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.6284, allocations: 2.785 MB / 0.5974 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.6284, allocations: 3.938 kB / 0.5974 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.63, allocations: 1.003 MB / 0.5984 GB, free: 7.457 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.6303, allocations: 204.3 kB / 0.5986 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-05/0.6304, allocations: 10.69 kB / 0.5986 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/0.6308, allocations: 35.95 kB / 0.5986 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.6309, allocations: 39.88 kB / 0.5987 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.631, allocations: 19.98 kB / 0.5987 GB, free: 7.137 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005079/0.6315, allocations: 427 kB / 0.5991 GB, free: 6.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6315, allocations: 0 / 0.5991 GB, free: 6.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007601/0.6323, allocations: 212 kB / 0.5993 GB, free: 6.516 MB / 446.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.000468/0.6327, allocations: 229.5 kB / 0.5995 GB, free: 6.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.6339, allocations: 0.6008 MB / 0.6001 GB, free: 5.703 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6339, allocations: 0 / 0.6001 GB, free: 5.703 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.6351, allocations: 495.4 kB / 0.6006 GB, free: 5.211 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.6371, allocations: 354.5 kB / 0.6009 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.6395, allocations: 1.716 MB / 0.6026 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.64, allocations: 0.9385 MB / 0.6035 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007524/0.6408, allocations: 215.2 kB / 0.6037 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.641, allocations: 59.42 kB / 0.6038 GB, free: 1.895 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.641, allocations: 0 / 0.6038 GB, free: 1.895 MB / 446.1 MB Notification: Performance of Templates: time 0.0249/0.6659, allocations: 14.43 MB / 0.6179 GB, free: 3.688 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches