Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009336/0.0009337, allocations: 96.28 kB / 15.69 MB, free: 480 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.001167/0.001167, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.31/1.31, allocations: 205.4 MB / 222.7 MB, free: 5.891 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.3215/0.3215, allocations: 43.54 MB / 314.5 MB, free: 8.613 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.0005118/0.0005118, allocations: 20 kB / 383.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1151, allocations: 58.85 MB / 442.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.3488/0.4639, allocations: 158.2 MB / 0.5869 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01877/0.4827, allocations: 15.28 MB / 0.6018 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.4839, allocations: 43.62 kB / 0.6018 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.4852, allocations: 417.8 kB / 0.6022 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00692/0.4921, allocations: 2.496 MB / 0.6047 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006432/0.4986, allocations: 2.631 MB / 0.6072 GB, free: 8.668 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003155/0.5017, allocations: 1.749 MB / 0.6089 GB, free: 6.918 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009875/0.5027, allocations: 0.6421 MB / 0.6096 GB, free: 6.262 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.5047, allocations: 1.063 MB / 0.6106 GB, free: 5.195 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.5061, allocations: 0.9152 MB / 0.6115 GB, free: 4.277 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.5062, allocations: 56 kB / 0.6116 GB, free: 4.223 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005384/0.5116, allocations: 2.699 MB / 0.6142 GB, free: 1.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004364/0.5121, allocations: 327.1 kB / 0.6145 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.5125, allocations: 253.1 kB / 0.6147 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003963/0.5164, allocations: 2.471 MB / 0.6172 GB, free: 14.47 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5165, allocations: 4 kB / 0.6172 GB, free: 14.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5165, allocations: 0 / 0.6172 GB, free: 14.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.5165, allocations: 0 / 0.6172 GB, free: 14.46 MB / 494.1 MB 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.003491/0.52, allocations: 1.695 MB / 0.6188 GB, free: 12.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.52, allocations: 8.031 kB / 0.6188 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.5211, allocations: 218.4 kB / 0.619 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.5223, allocations: 0.7544 MB / 0.6198 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.5224, allocations: 65.95 kB / 0.6198 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.5225, allocations: 71.89 kB / 0.6199 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.5244, allocations: 1.225 MB / 0.6211 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5244, allocations: 0 / 0.6211 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.5245, allocations: 39.98 kB / 0.6211 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.5246, allocations: 85.94 kB / 0.6212 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.5266, allocations: 1.23 MB / 0.6224 GB, free: 8.934 MB / 494.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.007206/0.5339, allocations: 4.859 MB / 0.6272 GB, free: 3.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.5351, allocations: 0.7636 MB / 0.6279 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/0.5354, allocations: 329.8 kB / 0.6282 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.5355, allocations: 47.02 kB / 0.6283 GB, free: 2.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=68): time 2.875e-06/0.5355, allocations: 0 / 0.6283 GB, free: 2.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=73): time 0.1908/0.7263, allocations: 2.792 MB / 0.631 GB, free: 152.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.7264, allocations: 218.7 kB / 0.6312 GB, free: 152.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.7275, allocations: 0.9324 MB / 0.6321 GB, free: 152.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.7276, allocations: 42.02 kB / 0.6322 GB, free: 152 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.7279, allocations: 483.6 kB / 0.6326 GB, free: 152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.7281, allocations: 266.7 kB / 0.6329 GB, free: 151.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.7281, allocations: 19.47 kB / 0.6329 GB, free: 151.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.7282, allocations: 341.1 kB / 0.6332 GB, free: 151.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.7289, allocations: 424.1 kB / 0.6336 GB, free: 151.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/0.7296, allocations: 0.6627 MB / 0.6343 GB, free: 151.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000749/0.7304, allocations: 0.5138 MB / 0.6348 GB, free: 151.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7304, allocations: 6.078 kB / 0.6348 GB, free: 151.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002081/0.7325, allocations: 1.442 MB / 0.6362 GB, free: 151.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003919/0.7329, allocations: 2.447 MB / 0.6386 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.7329, allocations: 6 kB / 0.6386 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003129/0.736, allocations: 0.7249 MB / 0.6393 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.7366, allocations: 183.3 kB / 0.6395 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.7378, allocations: 1.284 MB / 0.6407 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008228/0.7386, allocations: 71.84 kB / 0.6408 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.7388, allocations: 91.56 kB / 0.6409 GB, free: 148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/0.7388, allocations: 2.906 kB / 0.6409 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001851/0.7406, allocations: 1.206 MB / 0.6421 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7407, allocations: 8.906 kB / 0.6421 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.742, allocations: 364 kB / 0.6424 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/0.7426, allocations: 209.3 kB / 0.6426 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007503/0.7433, allocations: 0.9768 MB / 0.6436 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007013/0.7441, allocations: 60.17 kB / 0.6436 GB, free: 147.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.7442, allocations: 95.06 kB / 0.6437 GB, free: 147.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0004152/0.7446, allocations: 369.1 kB / 0.6441 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.7447, allocations: 110.9 kB / 0.6442 GB, free: 146.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.7472, allocations: 1.382 MB / 0.6455 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.7472, allocations: 8.531 kB / 0.6455 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7472, allocations: 1.312 kB / 0.6455 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.7472, allocations: 3.375 kB / 0.6455 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.7498, allocations: 2.136 MB / 0.6476 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7498, allocations: 6.625 kB / 0.6476 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/0.7505, allocations: 176.4 kB / 0.6478 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.957e-05/0.7505, allocations: 31.19 kB / 0.6478 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/0.7506, allocations: 37.75 kB / 0.6479 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006034/0.7512, allocations: 1.293 MB / 0.6491 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7512, allocations: 9.812 kB / 0.6491 GB, free: 144 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.7532, allocations: 1.683 MB / 0.6508 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.7534, allocations: 189.6 kB / 0.651 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.7536, allocations: 18.06 kB / 0.651 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/0.7542, allocations: 65.66 kB / 0.651 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.7544, allocations: 63.2 kB / 0.6511 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.7545, allocations: 71.78 kB / 0.6512 GB, free: 142.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007282/0.7552, allocations: 0.6498 MB / 0.6518 GB, free: 142.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7552, allocations: 0 / 0.6518 GB, free: 142.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002468/0.7577, allocations: 1.08 MB / 0.6529 GB, free: 142.5 MB / 494.1 MB 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 () * Number of clocked 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.001837/0.7595, allocations: 0.9739 MB / 0.6538 GB, free: 142.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.762, allocations: 1.619 MB / 0.6554 GB, free: 141.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.762, allocations: 2.531 kB / 0.6554 GB, free: 141.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.7628, allocations: 0.5755 MB / 0.6559 GB, free: 141.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/0.765, allocations: 0.5721 MB / 0.6565 GB, free: 141.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.7677, allocations: 2.319 MB / 0.6588 GB, free: 140.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.7682, allocations: 1.1 MB / 0.6598 GB, free: 139.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002203/0.7704, allocations: 0.6 MB / 0.6604 GB, free: 139.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.771, allocations: 167 kB / 0.6606 GB, free: 139.2 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.771, allocations: 0 / 0.6606 GB, free: 139.2 MB / 494.1 MB Notification: Performance of Templates: time 0.05096/0.8219, allocations: 36.21 MB / 0.696 GB, free: 122.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches