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.002195/0.002201, allocations: 186.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001182/0.001181, allocations: 98.86 kB / 270.9 MB, free: 13.28 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.2842/0.2842, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006228/0.0006231, allocations: 12 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1206, allocations: 58.85 MB / 490.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.6594/0.78, allocations: 158.2 MB / 0.6332 GB, free: 12.51 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.03298/0.8131, allocations: 15.32 MB / 0.6482 GB, free: 13.16 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.8148, allocations: 43.62 kB / 0.6482 GB, free: 13.12 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.8171, allocations: 405.8 kB / 0.6486 GB, free: 12.72 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01074/0.8279, allocations: 2.488 MB / 0.651 GB, free: 10.23 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.8382, allocations: 2.627 MB / 0.6536 GB, free: 7.598 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004234/0.8425, allocations: 1.749 MB / 0.6553 GB, free: 5.848 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.8441, allocations: 0.6389 MB / 0.6559 GB, free: 5.191 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.8478, allocations: 1.075 MB / 0.657 GB, free: 4.113 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/0.8505, allocations: 0.9113 MB / 0.6579 GB, free: 3.199 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004454/0.851, allocations: 52 kB / 0.6579 GB, free: 3.148 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008334/0.8594, allocations: 2.695 MB / 0.6605 GB, free: 460 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009201/0.8604, allocations: 343 kB / 0.6609 GB, free: 116 kB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000603/0.861, allocations: 245.2 kB / 0.6611 GB, free: 15.86 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006754/0.8678, allocations: 2.475 MB / 0.6635 GB, free: 13.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.8678, allocations: 0 / 0.6635 GB, free: 13.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.8678, allocations: 0 / 0.6635 GB, free: 13.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.507e-05/0.8679, allocations: 0 / 0.6635 GB, free: 13.39 MB / 474.7 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.006232/0.8741, allocations: 1.699 MB / 0.6652 GB, free: 11.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.8742, allocations: 8.031 kB / 0.6652 GB, free: 11.63 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.8762, allocations: 218.4 kB / 0.6654 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.8786, allocations: 0.7505 MB / 0.6661 GB, free: 10.62 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.97e-05/0.8787, allocations: 61.97 kB / 0.6662 GB, free: 10.56 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.879, allocations: 75.89 kB / 0.6663 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/0.8828, allocations: 1.225 MB / 0.6675 GB, free: 9.207 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/0.8829, allocations: 4 kB / 0.6675 GB, free: 9.203 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.8831, allocations: 39.91 kB / 0.6675 GB, free: 9.164 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/0.8833, allocations: 77.95 kB / 0.6676 GB, free: 9.086 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004308/0.8876, allocations: 1.245 MB / 0.6688 GB, free: 7.844 MB / 474.7 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.01424/0.9019, allocations: 4.836 MB / 0.6735 GB, free: 2.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.9044, allocations: 0.7637 MB / 0.6743 GB, free: 1.965 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/0.905, allocations: 329.7 kB / 0.6746 GB, free: 1.586 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.9051, allocations: 43.08 kB / 0.6746 GB, free: 1.535 MB / 474.7 MB Notification: Performance of pre-optimization done (n=68): time 3.707e-06/0.9051, allocations: 0 / 0.6746 GB, free: 1.535 MB / 474.7 MB Notification: Performance of matching and sorting (n=73): time 0.01474/0.9198, allocations: 2.802 MB / 0.6773 GB, free: 14.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.92, allocations: 214.3 kB / 0.6775 GB, free: 14.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.922, allocations: 0.9348 MB / 0.6785 GB, free: 13.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002597/0.9224, allocations: 41.7 kB / 0.6785 GB, free: 13.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/0.9229, allocations: 481.8 kB / 0.679 GB, free: 12.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004341/0.9233, allocations: 260.3 kB / 0.6792 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.9235, allocations: 20 kB / 0.6792 GB, free: 12.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.9237, allocations: 354.7 kB / 0.6796 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.9252, allocations: 417.8 kB / 0.68 GB, free: 11.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.927, allocations: 0.6648 MB / 0.6806 GB, free: 11.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.9289, allocations: 0.5105 MB / 0.6811 GB, free: 10.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.929, allocations: 11.95 kB / 0.6811 GB, free: 10.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004953/0.934, allocations: 1.38 MB / 0.6825 GB, free: 9.199 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001103/0.9351, allocations: 2.438 MB / 0.6849 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.129e-05/0.9352, allocations: 8 kB / 0.6849 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00629/0.9415, allocations: 0.7305 MB / 0.6856 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.9429, allocations: 180.5 kB / 0.6857 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.9458, allocations: 1.282 MB / 0.687 GB, free: 4.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.9476, allocations: 71.92 kB / 0.6871 GB, free: 4.277 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002951/0.9479, allocations: 91.98 kB / 0.6872 GB, free: 4.188 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.948, allocations: 7.938 kB / 0.6872 GB, free: 4.18 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004248/0.9522, allocations: 1.211 MB / 0.6883 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.9523, allocations: 4.062 kB / 0.6883 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.955, allocations: 352.6 kB / 0.6887 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.9567, allocations: 211.6 kB / 0.6889 GB, free: 2.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.9586, allocations: 0.9466 MB / 0.6898 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.96, allocations: 75.94 kB / 0.6899 GB, free: 1.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00027/0.9603, allocations: 87.98 kB / 0.69 GB, free: 1.27 MB / 490.7 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.001042/0.9613, allocations: 376.4 kB / 0.6903 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/0.9617, allocations: 110.7 kB / 0.6904 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005471/0.9672, allocations: 1.378 MB / 0.6918 GB, free: 15.39 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.9673, allocations: 12 kB / 0.6918 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.9673, allocations: 0 / 0.6918 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.9673, allocations: 7.938 kB / 0.6918 GB, free: 15.37 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006562/0.9739, allocations: 2.133 MB / 0.6939 GB, free: 13.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.974, allocations: 4 kB / 0.6939 GB, free: 13.16 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/0.9756, allocations: 179.8 kB / 0.6941 GB, free: 12.98 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.9758, allocations: 29.03 kB / 0.6941 GB, free: 12.95 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/0.976, allocations: 27.98 kB / 0.6941 GB, free: 12.93 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.9774, allocations: 1.299 MB / 0.6954 GB, free: 11.49 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.9775, allocations: 0 / 0.6954 GB, free: 11.49 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/0.9828, allocations: 1.687 MB / 0.697 GB, free: 9.727 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005674/0.9834, allocations: 191.8 kB / 0.6972 GB, free: 9.52 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003876/0.9838, allocations: 16 kB / 0.6972 GB, free: 9.504 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.9852, allocations: 56.02 kB / 0.6973 GB, free: 9.449 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000278/0.9855, allocations: 68.44 kB / 0.6973 GB, free: 9.383 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/0.9857, allocations: 67.97 kB / 0.6974 GB, free: 9.316 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001464/0.9872, allocations: 0.6496 MB / 0.698 GB, free: 8.656 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9872, allocations: 7.938 kB / 0.698 GB, free: 8.648 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.004407/0.9916, allocations: 1.078 MB / 0.6991 GB, free: 7.57 MB / 0.4949 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 () * 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.004215/0.9959, allocations: 0.9859 MB / 0.7001 GB, free: 6.574 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.005936/1.002, allocations: 1.619 MB / 0.7016 GB, free: 4.961 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.002, allocations: 0 / 0.7016 GB, free: 4.961 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/1.004, allocations: 0.5694 MB / 0.7022 GB, free: 4.379 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00498/1.009, allocations: 0.5798 MB / 0.7028 GB, free: 3.801 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/1.015, allocations: 2.362 MB / 0.7051 GB, free: 1.387 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009854/1.016, allocations: 1.106 MB / 0.7062 GB, free: 252 kB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.018, allocations: 187.4 kB / 0.7063 GB, free: 64 kB / 0.4949 GB Notification: Performance of SimCode: time 1.483e-06/1.018, allocations: 0 / 0.7063 GB, free: 64 kB / 0.4949 GB Notification: Performance of Templates: time 0.3828/1.4, allocations: 30.17 MB / 0.7358 GB, free: 168.6 MB / 0.4949 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