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.001468/0.001468, allocations: 177.2 kB / 17.41 MB, free: 4.285 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.515/1.515, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007297/0.0007297, allocations: 97.34 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3352/0.3352, allocations: 43.56 MB / 363.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1115, allocations: 58.86 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.581/1.692, allocations: 0.6359 GB / 1.116 GB, free: 167.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.693, allocations: 88.53 kB / 1.116 GB, free: 167.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.406/3.099, allocations: 418 MB / 1.524 GB, free: 56.56 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/3.099, allocations: 0 / 1.524 GB, free: 56.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.291e-05/3.099, allocations: 36.42 kB / 1.524 GB, free: 56.56 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.005472/3.105, allocations: 2.035 MB / 1.526 GB, free: 55.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/3.105, allocations: 16.22 kB / 1.526 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/3.106, allocations: 221.6 kB / 1.526 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/3.108, allocations: 0.9041 MB / 1.527 GB, free: 55.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.26e-05/3.108, allocations: 54.5 kB / 1.527 GB, free: 55.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/3.108, allocations: 76.66 kB / 1.527 GB, free: 55.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/3.11, allocations: 1.261 MB / 1.529 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/3.11, allocations: 0 / 1.529 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/3.11, allocations: 29.55 kB / 1.529 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.181e-05/3.11, allocations: 85.08 kB / 1.529 GB, free: 55.28 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/3.112, allocations: 1.234 MB / 1.53 GB, free: 55.27 MB / 0.5105 GB 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.006522/3.118, allocations: 4.883 MB / 1.535 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/3.12, allocations: 0.7184 MB / 1.535 GB, free: 53 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005701/3.12, allocations: 382 kB / 1.536 GB, free: 53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/3.121, allocations: 1.304 MB / 1.537 GB, free: 51.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/3.121, allocations: 48.78 kB / 1.537 GB, free: 51.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 3.737e-06/3.121, allocations: 0 / 1.537 GB, free: 51.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73): time 0.007391/3.129, allocations: 2.805 MB / 1.54 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/3.129, allocations: 218.4 kB / 1.54 GB, free: 51.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/3.13, allocations: 0.9389 MB / 1.541 GB, free: 50.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/3.13, allocations: 42.58 kB / 1.541 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/3.13, allocations: 475.2 kB / 1.541 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/3.13, allocations: 262 kB / 1.542 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.646e-05/3.131, allocations: 21.34 kB / 1.542 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/3.131, allocations: 338.4 kB / 1.542 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006641/3.131, allocations: 416.5 kB / 1.542 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/3.132, allocations: 0.641 MB / 1.543 GB, free: 50 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/3.134, allocations: 1.023 MB / 1.544 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/3.134, allocations: 1 kB / 1.544 GB, free: 49.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002444/3.136, allocations: 1.416 MB / 1.545 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/3.136, allocations: 259.5 kB / 1.546 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/3.136, allocations: 6.094 kB / 1.546 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003248/3.14, allocations: 0.7168 MB / 1.546 GB, free: 49.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/3.14, allocations: 180.2 kB / 1.547 GB, free: 49.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/3.141, allocations: 1.274 MB / 1.548 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/3.142, allocations: 77 kB / 1.548 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/3.143, allocations: 90.38 kB / 1.548 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/3.143, allocations: 1.656 kB / 1.548 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001903/3.145, allocations: 1.173 MB / 1.549 GB, free: 48.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/3.145, allocations: 10.78 kB / 1.549 GB, free: 48.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/3.146, allocations: 359.9 kB / 1.549 GB, free: 48.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/3.147, allocations: 205.1 kB / 1.55 GB, free: 48.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008519/3.147, allocations: 0.9641 MB / 1.551 GB, free: 48.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009008/3.148, allocations: 69.77 kB / 1.551 GB, free: 48.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/3.149, allocations: 92.64 kB / 1.551 GB, free: 48.26 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 () * Number of clocked 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.000618/3.149, allocations: 365.8 kB / 1.551 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/3.149, allocations: 115.3 kB / 1.551 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/3.152, allocations: 1.354 MB / 1.553 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/3.152, allocations: 9.891 kB / 1.553 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/3.152, allocations: 1.375 kB / 1.553 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/3.152, allocations: 3.234 kB / 1.553 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/3.156, allocations: 2.122 MB / 1.555 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/3.156, allocations: 1.875 kB / 1.555 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/3.156, allocations: 177.9 kB / 1.555 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.432e-05/3.156, allocations: 31.34 kB / 1.555 GB, free: 47.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.446e-05/3.157, allocations: 33.11 kB / 1.555 GB, free: 47.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006742/3.157, allocations: 1.285 MB / 1.556 GB, free: 46.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/3.157, allocations: 2.531 kB / 1.556 GB, free: 46.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/3.16, allocations: 1.582 MB / 1.558 GB, free: 46.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004263/3.16, allocations: 195.5 kB / 1.558 GB, free: 45.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/3.161, allocations: 21.69 kB / 1.558 GB, free: 45.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007063/3.161, allocations: 60.89 kB / 1.558 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/3.161, allocations: 69.31 kB / 1.558 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/3.162, allocations: 75.06 kB / 1.558 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001232/3.163, allocations: 0.6497 MB / 1.559 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/3.163, allocations: 0 / 1.559 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004575/3.167, allocations: 1.28 MB / 1.56 GB, free: 45.59 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 () * 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.004992/3.172, allocations: 1.972 MB / 1.562 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003244/3.176, allocations: 1.586 MB / 1.563 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/3.176, allocations: 0 / 1.563 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008622/3.177, allocations: 0.5561 MB / 1.564 GB, free: 45.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/3.18, allocations: 0.5865 MB / 1.565 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/3.184, allocations: 2.364 MB / 1.567 GB, free: 44.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/3.184, allocations: 1.08 MB / 1.568 GB, free: 43.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006922/3.185, allocations: 193 kB / 1.568 GB, free: 43.37 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/3.185, allocations: 2.734 kB / 1.568 GB, free: 43.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.04801/3.233, allocations: 34.32 MB / 1.602 GB, free: 41.09 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