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.007083/0.007083, allocations: 100.8 kB / 15.87 MB, free: 6.316 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.001414/0.001414, allocations: 193.4 kB / 16.79 MB, free: 6.242 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.482/1.482, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.3658/0.3658, allocations: 43.49 MB / 313.5 MB, free: 8.25 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.001457/0.001457, allocations: 71.89 kB / 382 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1196, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3066/0.4262, allocations: 46.34 MB / 486.2 MB, free: 23.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005775/0.4321, allocations: 4.538 MB / 490.7 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009417/0.433, allocations: 29.22 kB / 490.7 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009262/0.434, allocations: 267.5 kB / 491 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.4357, allocations: 0.805 MB / 491.8 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.4379, allocations: 0.8038 MB / 492.6 MB, free: 18.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.4407, allocations: 2.659 MB / 495.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006503/0.4413, allocations: 399.6 kB / 495.7 MB, free: 18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1088/0.5501, allocations: 43.33 MB / 0.5264 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01833/0.5685, allocations: 7.974 MB / 0.5341 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.5688, allocations: 36 kB / 0.5342 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02583/0.5946, allocations: 10.62 MB / 0.5446 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008003/0.5955, allocations: 235.3 kB / 0.5448 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008533/0.5964, allocations: 366.2 kB / 0.5451 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.5982, allocations: 1.048 MB / 0.5462 GB, free: 4.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.5983, allocations: 3.938 kB / 0.5462 GB, free: 4.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.5983, allocations: 7.922 kB / 0.5462 GB, free: 4.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.5983, allocations: 0 / 0.5462 GB, free: 4.195 MB / 414.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.002456/0.6008, allocations: 1.04 MB / 0.5472 GB, free: 3.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.6008, allocations: 15.97 kB / 0.5472 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003441/0.6011, allocations: 95.98 kB / 0.5473 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007357/0.6019, allocations: 0.5015 MB / 0.5478 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.602, allocations: 101 kB / 0.5479 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.503e-05/0.6021, allocations: 56.83 kB / 0.5479 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.6035, allocations: 0.8213 MB / 0.5487 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.6035, allocations: 7.938 kB / 0.5487 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.6036, allocations: 24 kB / 0.5488 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.257e-05/0.6037, allocations: 36.98 kB / 0.5488 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.6047, allocations: 0.6361 MB / 0.5494 GB, free: 0.6875 MB / 414.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.004898/0.6096, allocations: 4.225 MB / 0.5535 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008579/0.6105, allocations: 415.9 kB / 0.5539 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.6108, allocations: 205.4 kB / 0.5541 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005005/0.6114, allocations: 0.499 MB / 0.5546 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.6114, allocations: 46.88 kB / 0.5547 GB, free: 10.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/0.6114, allocations: 0 / 0.5547 GB, free: 10.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003306/0.6147, allocations: 1.522 MB / 0.5561 GB, free: 9.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.491e-05/0.6148, allocations: 136.5 kB / 0.5563 GB, free: 9.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.6155, allocations: 0.5616 MB / 0.5568 GB, free: 8.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.6156, allocations: 33.7 kB / 0.5569 GB, free: 8.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.6158, allocations: 362.9 kB / 0.5572 GB, free: 8.184 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.616, allocations: 157.8 kB / 0.5574 GB, free: 8.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.6162, allocations: 142.5 kB / 0.5575 GB, free: 7.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.6164, allocations: 374.8 kB / 0.5579 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.6168, allocations: 225.9 kB / 0.5581 GB, free: 7.285 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006255/0.6174, allocations: 0.524 MB / 0.5586 GB, free: 6.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.6185, allocations: 0.7757 MB / 0.5593 GB, free: 5.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.6185, allocations: 7.938 kB / 0.5593 GB, free: 5.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001791/0.6203, allocations: 0.9335 MB / 0.5603 GB, free: 4.773 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.6203, allocations: 12.25 kB / 0.5603 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.6203, allocations: 8 kB / 0.5603 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.6215, allocations: 272.5 kB / 0.5605 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.622, allocations: 127.8 kB / 0.5607 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.6231, allocations: 0.866 MB / 0.5615 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.6237, allocations: 47.86 kB / 0.5615 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.6238, allocations: 39.05 kB / 0.5616 GB, free: 3.387 MB / 430.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.0004257/0.6242, allocations: 255.9 kB / 0.5618 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.6243, allocations: 67.16 kB / 0.5619 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.6257, allocations: 0.7191 MB / 0.5626 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.6257, allocations: 4 kB / 0.5626 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.6257, allocations: 0 / 0.5626 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.6257, allocations: 4 kB / 0.5626 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.628, allocations: 1.403 MB / 0.564 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.628, allocations: 4 kB / 0.564 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009698/0.629, allocations: 188 kB / 0.5642 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/0.6292, allocations: 64.77 kB / 0.5642 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.6293, allocations: 15.98 kB / 0.5642 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002397/0.6317, allocations: 2.781 MB / 0.5669 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.6317, allocations: 0 / 0.5669 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.6334, allocations: 0.9918 MB / 0.5679 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/0.6338, allocations: 200.2 kB / 0.5681 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.6339, allocations: 20.08 kB / 0.5681 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.6343, allocations: 31.98 kB / 0.5682 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.6345, allocations: 43.88 kB / 0.5682 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.6345, allocations: 19.98 kB / 0.5682 GB, free: 12.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005614/0.6351, allocations: 423 kB / 0.5686 GB, free: 11.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6351, allocations: 0 / 0.5686 GB, free: 11.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008967/0.636, allocations: 216 kB / 0.5688 GB, free: 11.54 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.0005694/0.6366, allocations: 217.8 kB / 0.569 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.6379, allocations: 0.6148 MB / 0.5696 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6379, allocations: 1.625 kB / 0.5696 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.6392, allocations: 482.6 kB / 0.5701 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.6409, allocations: 358.8 kB / 0.5704 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.6434, allocations: 1.633 MB / 0.572 GB, free: 8.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005952/0.644, allocations: 0.9385 MB / 0.573 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008198/0.6448, allocations: 212.7 kB / 0.5732 GB, free: 7.031 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.645, allocations: 63.42 kB / 0.5732 GB, free: 6.969 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.645, allocations: 0 / 0.5732 GB, free: 6.969 MB / 446.1 MB Notification: Performance of Templates: time 0.0264/0.6714, allocations: 14.51 MB / 0.5874 GB, free: 8.504 MB / 462.1 MB 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","../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