Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 75.7 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 162.6 kB / 24.99 MB, free: 9.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9983/0.9983, allocations: 177 MB / 205.2 MB, free: 5.207 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2915/0.2915, allocations: 34.86 MB / 296.6 MB, free: 0.5234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.065e-05, allocations: 4 kB / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04227/0.0423, allocations: 44.52 MB / 423.3 MB, free: 5.711 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005271/0.04757, allocations: 4.464 MB / 427.7 MB, free: 1.23 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.04787, allocations: 31.69 kB / 427.8 MB, free: 1.199 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.04859, allocations: 306 kB / 428.1 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.05027, allocations: 0.9165 MB / 429 MB, free: 15.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.05215, allocations: 0.9386 MB / 429.9 MB, free: 15.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.05374, allocations: 1.824 MB / 431.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000495/0.05423, allocations: 429.7 kB / 432.2 MB, free: 12.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2482/0.3024, allocations: 44.56 MB / 476.7 MB, free: 46.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/0.3149, allocations: 7.908 MB / 484.7 MB, free: 44.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.3151, allocations: 59.91 kB / 484.7 MB, free: 44.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01603/0.3311, allocations: 10.59 MB / 495.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005543/0.3317, allocations: 285.6 kB / 495.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005585/0.3323, allocations: 283.7 kB / 495.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.3334, allocations: 0.8312 MB / 496.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3334, allocations: 0 / 496.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3334, allocations: 0 / 496.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.3335, allocations: 3.906 kB / 496.7 MB, free: 40.42 MB / 410.7 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.001568/0.335, allocations: 1.091 MB / 497.8 MB, free: 39.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3351, allocations: 12.62 kB / 497.8 MB, free: 39.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.3354, allocations: 154.8 kB / 497.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.336, allocations: 496 kB / 498.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.846e-05/0.3361, allocations: 154.7 kB / 498.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-05/0.3362, allocations: 53.55 kB / 498.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.3369, allocations: 0.9179 MB / 499.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.3369, allocations: 6.156 kB / 499.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/0.337, allocations: 24.98 kB / 499.6 MB, free: 38.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.337, allocations: 37.05 kB / 499.6 MB, free: 38.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.3375, allocations: 301.7 kB / 499.9 MB, free: 38.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.3399, allocations: 3.945 MB / 0.4921 GB, free: 35.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.3403, allocations: 260.3 kB / 0.4923 GB, free: 35.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.3405, allocations: 96.61 kB / 0.4924 GB, free: 34.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.3406, allocations: 56.38 kB / 0.4924 GB, free: 34.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3406, allocations: 41.3 kB / 0.4925 GB, free: 34.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.723e-06/0.3406, allocations: 0 / 0.4925 GB, free: 34.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.001599/0.3422, allocations: 1.018 MB / 0.4935 GB, free: 34.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.3423, allocations: 133.8 kB / 0.4936 GB, free: 34.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.3426, allocations: 0.5347 MB / 0.4941 GB, free: 33.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.3427, allocations: 36.92 kB / 0.4942 GB, free: 33.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.3428, allocations: 421.1 kB / 0.4946 GB, free: 33.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.753e-05/0.3429, allocations: 169.5 kB / 0.4947 GB, free: 33.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.343, allocations: 153.2 kB / 0.4949 GB, free: 33.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.3431, allocations: 0.5431 MB / 0.4954 GB, free: 32.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.3433, allocations: 92.28 kB / 0.4955 GB, free: 32.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.3436, allocations: 0.5972 MB / 0.4961 GB, free: 32.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.344, allocations: 0.6528 MB / 0.4967 GB, free: 31.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.344, allocations: 3.969 kB / 0.4967 GB, free: 31.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008778/0.3449, allocations: 0.6806 MB / 0.4974 GB, free: 31.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3449, allocations: 8.156 kB / 0.4974 GB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3449, allocations: 8.734 kB / 0.4974 GB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005654/0.3455, allocations: 215.7 kB / 0.4976 GB, free: 31.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.3457, allocations: 124.6 kB / 0.4977 GB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004275/0.3462, allocations: 0.9418 MB / 0.4986 GB, free: 30.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.3464, allocations: 27.36 kB / 0.4987 GB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.3464, allocations: 35.97 kB / 0.4987 GB, free: 30.49 MB / 410.7 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.0001331/0.3466, allocations: 216.3 kB / 0.4989 GB, free: 30.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.3466, allocations: 77.11 kB / 0.499 GB, free: 30.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006445/0.3473, allocations: 0.5104 MB / 0.4995 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.3473, allocations: 9.438 kB / 0.4995 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3473, allocations: 0 / 0.4995 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3473, allocations: 3.141 kB / 0.4995 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.3482, allocations: 1.004 MB / 0.5005 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3483, allocations: 3.531 kB / 0.5005 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.3487, allocations: 185.7 kB / 0.5007 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.3488, allocations: 58.06 kB / 0.5007 GB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.3489, allocations: 17.7 kB / 0.5007 GB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.3499, allocations: 3.615 MB / 0.5043 GB, free: 25.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3499, allocations: 0 / 0.5043 GB, free: 25.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.3506, allocations: 0.695 MB / 0.5049 GB, free: 25.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.3507, allocations: 118.5 kB / 0.505 GB, free: 25.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.3508, allocations: 17.84 kB / 0.5051 GB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.3509, allocations: 10.44 kB / 0.5051 GB, free: 25.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/0.351, allocations: 46.62 kB / 0.5051 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.351, allocations: 19.3 kB / 0.5051 GB, free: 25.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002148/0.3513, allocations: 332.4 kB / 0.5055 GB, free: 25.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3513, allocations: 0 / 0.5055 GB, free: 25.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004662/0.3517, allocations: 206.2 kB / 0.5057 GB, free: 25.08 MB / 410.7 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.0002844/0.352, allocations: 222.8 kB / 0.5059 GB, free: 24.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005839/0.3526, allocations: 396.2 kB / 0.5062 GB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3526, allocations: 2.562 kB / 0.5062 GB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006052/0.3532, allocations: 433.4 kB / 0.5067 GB, free: 24.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008464/0.3541, allocations: 333.5 kB / 0.507 GB, free: 24.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.3556, allocations: 1.18 MB / 0.5081 GB, free: 23.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.3557, allocations: 180.5 kB / 0.5083 GB, free: 23.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003621/0.3561, allocations: 185.8 kB / 0.5085 GB, free: 23.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.3562, allocations: 63.28 kB / 0.5085 GB, free: 23.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3562, allocations: 0 / 0.5085 GB, free: 23.77 MB / 410.7 MB Notification: Performance of Templates: time 0.01421/0.3704, allocations: 13.91 MB / 0.5221 GB, free: 14.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6885191169567406]