Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001465, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001124, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2785/0.2785, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.446e-05, allocations: 0 / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.82/1.935, allocations: 0.6029 GB / 1.076 GB, free: 31.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.936, allocations: 92.12 kB / 1.076 GB, free: 31.65 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.285/4.22, allocations: 412.2 MB / 1.478 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.525e-06/4.22, allocations: 0 / 1.478 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001539/4.221, allocations: 31.98 kB / 1.478 GB, free: 39.71 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009599/4.23, allocations: 1.894 MB / 1.48 GB, free: 37.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/4.23, allocations: 11.97 kB / 1.48 GB, free: 37.76 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/4.233, allocations: 210.5 kB / 1.48 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/4.238, allocations: 0.8675 MB / 1.481 GB, free: 36.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/4.238, allocations: 65.97 kB / 1.481 GB, free: 36.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000365/4.238, allocations: 71.89 kB / 1.481 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/4.241, allocations: 1.216 MB / 1.483 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/4.241, allocations: 4 kB / 1.483 GB, free: 35.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/4.242, allocations: 27.98 kB / 1.483 GB, free: 35.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/4.242, allocations: 85.94 kB / 1.483 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002974/4.245, allocations: 1.175 MB / 1.484 GB, free: 33.93 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01218/4.257, allocations: 4.868 MB / 1.489 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/4.259, allocations: 0.698 MB / 1.489 GB, free: 28.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008113/4.26, allocations: 350.5 kB / 1.49 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004315/4.26, allocations: 326.2 kB / 1.49 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/4.26, allocations: 43.06 kB / 1.49 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 3.276e-06/4.26, allocations: 4 kB / 1.49 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73): time 0.01146/4.272, allocations: 2.401 MB / 1.492 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/4.272, allocations: 218.3 kB / 1.493 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/4.273, allocations: 0.8171 MB / 1.493 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002686/4.274, allocations: 37.7 kB / 1.493 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/4.274, allocations: 478.1 kB / 1.494 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/4.274, allocations: 256.3 kB / 1.494 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/4.274, allocations: 16 kB / 1.494 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.933e-05/4.275, allocations: 354.8 kB / 1.494 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/4.276, allocations: 385.9 kB / 1.495 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/4.277, allocations: 0.6144 MB / 1.495 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/4.278, allocations: 485.9 kB / 1.496 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/4.278, allocations: 4 kB / 1.496 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003366/4.282, allocations: 1.285 MB / 1.497 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004308/4.282, allocations: 2.18 MB / 1.499 GB, free: 17.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/4.282, allocations: 7.984 kB / 1.499 GB, free: 17.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005598/4.288, allocations: 0.6889 MB / 1.5 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/4.289, allocations: 175.7 kB / 1.5 GB, free: 16.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/4.291, allocations: 1.279 MB / 1.501 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/4.294, allocations: 79.84 kB / 1.501 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/4.294, allocations: 87.98 kB / 1.501 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/4.294, allocations: 4 kB / 1.501 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002935/4.297, allocations: 1.109 MB / 1.503 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/4.297, allocations: 12.08 kB / 1.503 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/4.299, allocations: 328.6 kB / 1.503 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/4.301, allocations: 195.7 kB / 1.503 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/4.302, allocations: 0.9349 MB / 1.504 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/4.304, allocations: 75.98 kB / 1.504 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/4.304, allocations: 91.92 kB / 1.504 GB, free: 12.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003893/4.304, allocations: 160.7 kB / 1.504 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/4.305, allocations: 114.7 kB / 1.504 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/4.309, allocations: 1.31 MB / 1.506 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/4.309, allocations: 4 kB / 1.506 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/4.309, allocations: 8 kB / 1.506 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/4.309, allocations: 3.984 kB / 1.506 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/4.314, allocations: 2.07 MB / 1.508 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/4.314, allocations: 0 / 1.508 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/4.315, allocations: 179.8 kB / 1.508 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/4.316, allocations: 24.84 kB / 1.508 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/4.316, allocations: 31.98 kB / 1.508 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008888/4.317, allocations: 1.288 MB / 1.509 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/4.317, allocations: 0 / 1.509 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/4.32, allocations: 1.601 MB / 1.511 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/4.321, allocations: 191.8 kB / 1.511 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003234/4.321, allocations: 16 kB / 1.511 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/4.323, allocations: 67.84 kB / 1.511 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002177/4.323, allocations: 68.38 kB / 1.511 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001702/4.323, allocations: 71.97 kB / 1.511 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001221/4.324, allocations: 0.6384 MB / 1.512 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/4.324, allocations: 0 / 1.512 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005059/4.329, allocations: 1.272 MB / 1.513 GB, free: 2.812 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005848/4.335, allocations: 1.968 MB / 1.515 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3854/4.721, allocations: 1.501 MB / 1.516 GB, free: 64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/4.721, allocations: 3.328 kB / 1.516 GB, free: 64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/4.722, allocations: 0.5372 MB / 1.517 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005511/4.728, allocations: 0.5756 MB / 1.518 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/4.733, allocations: 1.551 MB / 1.519 GB, free: 63.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/4.734, allocations: 1.098 MB / 1.52 GB, free: 62.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/4.735, allocations: 188.6 kB / 1.52 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/4.735, allocations: 0 / 1.52 GB, free: 62.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.08094/4.816, allocations: 34.96 MB / 1.554 GB, free: 61.28 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionVolume/TestJunctionVolume.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches