Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 202.8 kB / 16.79 MB, free: 6.84 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.576/1.576, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3664/0.3664, allocations: 43.49 MB / 313.5 MB, free: 8.289 MB / 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.001432/0.001432, allocations: 64.47 kB / 382 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1432, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2682/0.4114, allocations: 20.97 MB / 460.8 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005324/0.4168, allocations: 4.454 MB / 465.3 MB, free: 37.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006047/0.4174, allocations: 30.66 kB / 465.3 MB, free: 37.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.4183, allocations: 274.6 kB / 465.6 MB, free: 37.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.42, allocations: 0.8016 MB / 466.4 MB, free: 36.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.422, allocations: 0.8092 MB / 467.2 MB, free: 36.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002225/0.4242, allocations: 2.66 MB / 469.8 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005368/0.4248, allocations: 397.8 kB / 470.2 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.4264, allocations: 0.8084 MB / 471 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008009/0.4272, allocations: 0.6514 MB / 471.7 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.441e-05/0.4273, allocations: 36.38 kB / 471.7 MB, free: 35.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008162/0.4282, allocations: 273.2 kB / 472 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.4284, allocations: 240.1 kB / 472.2 MB, free: 35.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.4287, allocations: 369.7 kB / 472.6 MB, free: 35.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009415/0.4297, allocations: 1.054 MB / 473.6 MB, free: 34.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4297, allocations: 0 / 473.6 MB, free: 34.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.4297, allocations: 0 / 473.6 MB, free: 34.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.4297, allocations: 0 / 473.6 MB, free: 34.66 MB / 382.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.002011/0.4317, allocations: 1.042 MB / 474.7 MB, free: 33.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4318, allocations: 11.47 kB / 474.7 MB, free: 33.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003553/0.4322, allocations: 89.58 kB / 474.8 MB, free: 33.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.4328, allocations: 0.4998 MB / 475.3 MB, free: 33.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.433, allocations: 111.4 kB / 475.4 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/0.433, allocations: 41.97 kB / 475.4 MB, free: 33.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.4342, allocations: 0.8326 MB / 476.2 MB, free: 33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.4343, allocations: 0 / 476.2 MB, free: 33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/0.4343, allocations: 29.64 kB / 476.3 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/0.4344, allocations: 36.67 kB / 476.3 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009357/0.4354, allocations: 0.6492 MB / 477 MB, free: 32.75 MB / 382.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.00385/0.4392, allocations: 4.219 MB / 481.2 MB, free: 29.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008743/0.4401, allocations: 412.2 kB / 481.6 MB, free: 29.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.4404, allocations: 214.1 kB / 481.8 MB, free: 29.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004241/0.4408, allocations: 0.4983 MB / 482.3 MB, free: 28.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.4409, allocations: 38.17 kB / 482.3 MB, free: 28.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.735e-06/0.4409, allocations: 0 / 482.3 MB, free: 28.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003126/0.444, allocations: 1.52 MB / 483.8 MB, free: 27.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.4441, allocations: 141.7 kB / 484 MB, free: 27.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007979/0.4449, allocations: 0.5714 MB / 484.6 MB, free: 27.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/0.445, allocations: 37.05 kB / 484.6 MB, free: 27.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.4452, allocations: 348.8 kB / 484.9 MB, free: 26.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.4454, allocations: 165 kB / 485.1 MB, free: 26.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.4456, allocations: 139.8 kB / 485.2 MB, free: 26.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4457, allocations: 378.1 kB / 485.6 MB, free: 26.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.4461, allocations: 231.5 kB / 485.8 MB, free: 26.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/0.4466, allocations: 0.5241 MB / 486.4 MB, free: 25.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009376/0.4476, allocations: 0.7741 MB / 487.1 MB, free: 25.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4476, allocations: 3.062 kB / 487.1 MB, free: 25.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001733/0.4493, allocations: 0.9323 MB / 488.1 MB, free: 24.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.4494, allocations: 10.03 kB / 488.1 MB, free: 24.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.4494, allocations: 9.062 kB / 488.1 MB, free: 24.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.4506, allocations: 277.2 kB / 488.3 MB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.451, allocations: 123.8 kB / 488.5 MB, free: 24.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007928/0.4518, allocations: 0.8598 MB / 489.3 MB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.4525, allocations: 50.69 kB / 489.4 MB, free: 24.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.4525, allocations: 46.36 kB / 489.4 MB, free: 24.05 MB / 382.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.0003564/0.4529, allocations: 243.9 kB / 489.7 MB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.4531, allocations: 68.38 kB / 489.7 MB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.4544, allocations: 0.7201 MB / 490.5 MB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.4544, allocations: 7.531 kB / 490.5 MB, free: 23.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.4544, allocations: 0 / 490.5 MB, free: 23.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4544, allocations: 6.344 kB / 490.5 MB, free: 23.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.4567, allocations: 1.399 MB / 491.9 MB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4567, allocations: 2.281 kB / 491.9 MB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009749/0.4577, allocations: 193.3 kB / 492.1 MB, free: 22.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002687/0.458, allocations: 68.45 kB / 492.1 MB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.458, allocations: 16.89 kB / 492.1 MB, free: 22.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.4602, allocations: 2.784 MB / 494.9 MB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.4602, allocations: 6.062 kB / 494.9 MB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.4621, allocations: 0.9932 MB / 495.9 MB, free: 19.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.4625, allocations: 198.7 kB / 496.1 MB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.4627, allocations: 18.3 kB / 496.1 MB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.4632, allocations: 33.39 kB / 496.2 MB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.4634, allocations: 33.61 kB / 496.2 MB, free: 19.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.461e-05/0.4634, allocations: 20.91 kB / 496.2 MB, free: 19.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000675/0.4641, allocations: 420 kB / 496.6 MB, free: 18.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4641, allocations: 3.938 kB / 496.6 MB, free: 18.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009989/0.4651, allocations: 208.9 kB / 496.8 MB, free: 18.96 MB / 382.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.0006086/0.4657, allocations: 237.2 kB / 497.1 MB, free: 18.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001492/0.4673, allocations: 0.6017 MB / 497.7 MB, free: 18.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4673, allocations: 0 / 497.7 MB, free: 18.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.4685, allocations: 486.9 kB / 498.1 MB, free: 18.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.4705, allocations: 356.9 kB / 498.5 MB, free: 18.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.473, allocations: 1.625 MB / 0.4884 GB, free: 17.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.4736, allocations: 0.937 MB / 0.4893 GB, free: 16.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000915/0.4745, allocations: 205 kB / 0.4895 GB, free: 16.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.4747, allocations: 61.44 kB / 0.4896 GB, free: 16.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4747, allocations: 4 kB / 0.4896 GB, free: 16.53 MB / 382.1 MB Notification: Performance of Templates: time 0.0277/0.5024, allocations: 14.51 MB / 0.5037 GB, free: 12.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches