Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 194.7 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007623/0.0007624, allocations: 99.56 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3715/0.3715, allocations: 44.83 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 12 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3821, allocations: 62.96 MB / 0.5165 GB, free: 36.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.501, allocations: 0.5063 GB / 1.023 GB, free: 99.49 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/1.501, allocations: 87.95 kB / 1.023 GB, free: 99.41 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.47/2.971, allocations: 383.7 MB / 1.398 GB, free: 83.82 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.004e-06/2.971, allocations: 0 / 1.398 GB, free: 83.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001801/2.972, allocations: 32.91 kB / 1.398 GB, free: 83.82 MB / 0.5417 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.007775/2.979, allocations: 1.878 MB / 1.4 GB, free: 83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/2.979, allocations: 11.19 kB / 1.4 GB, free: 83 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/2.981, allocations: 211 kB / 1.4 GB, free: 82.95 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/2.984, allocations: 0.9016 MB / 1.401 GB, free: 82.65 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/2.984, allocations: 57.84 kB / 1.401 GB, free: 82.65 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004273/2.985, allocations: 75.38 kB / 1.401 GB, free: 82.65 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/2.988, allocations: 1.257 MB / 1.402 GB, free: 82.43 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.423e-05/2.988, allocations: 3.75 kB / 1.402 GB, free: 82.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/2.988, allocations: 38 kB / 1.402 GB, free: 82.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/2.988, allocations: 87.53 kB / 1.402 GB, free: 82.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/2.991, allocations: 1.234 MB / 1.403 GB, free: 82.42 MB / 0.5417 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.009045/3, allocations: 4.867 MB / 1.408 GB, free: 80.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/3.001, allocations: 0.7192 MB / 1.409 GB, free: 80.14 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/3.002, allocations: 382.3 kB / 1.409 GB, free: 80.13 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/3.003, allocations: 359.9 kB / 1.409 GB, free: 79.76 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/3.003, allocations: 45.56 kB / 1.409 GB, free: 79.72 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 3.256e-06/3.003, allocations: 0 / 1.409 GB, free: 79.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.00852/3.011, allocations: 2.819 MB / 1.412 GB, free: 79.12 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/3.011, allocations: 222.6 kB / 1.412 GB, free: 78.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/3.013, allocations: 0.9404 MB / 1.413 GB, free: 78.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/3.013, allocations: 38.55 kB / 1.413 GB, free: 78.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/3.013, allocations: 476.6 kB / 1.414 GB, free: 78.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/3.014, allocations: 258.3 kB / 1.414 GB, free: 78.33 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/3.014, allocations: 16.56 kB / 1.414 GB, free: 78.33 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001048/3.014, allocations: 347.5 kB / 1.414 GB, free: 78.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008067/3.015, allocations: 413.7 kB / 1.415 GB, free: 78.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/3.016, allocations: 0.6489 MB / 1.415 GB, free: 77.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/3.017, allocations: 1.02 MB / 1.416 GB, free: 77.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/3.017, allocations: 4.125 kB / 1.416 GB, free: 77.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002731/3.02, allocations: 1.416 MB / 1.418 GB, free: 77.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/3.02, allocations: 259.2 kB / 1.418 GB, free: 77.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/3.02, allocations: 6.594 kB / 1.418 GB, free: 77.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003411/3.024, allocations: 0.6995 MB / 1.419 GB, free: 77.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000705/3.024, allocations: 186.4 kB / 1.419 GB, free: 77.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/3.026, allocations: 1.282 MB / 1.42 GB, free: 76.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/3.027, allocations: 79.08 kB / 1.42 GB, free: 76.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/3.028, allocations: 93.08 kB / 1.42 GB, free: 76.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/3.028, allocations: 3.844 kB / 1.42 GB, free: 76.59 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002309/3.03, allocations: 1.175 MB / 1.422 GB, free: 76.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/3.03, allocations: 10.92 kB / 1.422 GB, free: 76.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/3.032, allocations: 357.2 kB / 1.422 GB, free: 76.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/3.032, allocations: 209.6 kB / 1.422 GB, free: 76.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/3.033, allocations: 0.9694 MB / 1.423 GB, free: 76.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/3.035, allocations: 69.16 kB / 1.423 GB, free: 76.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/3.035, allocations: 89.11 kB / 1.423 GB, free: 76.01 MB / 0.5417 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.0008318/3.036, allocations: 368.9 kB / 1.424 GB, free: 75.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/3.036, allocations: 111.8 kB / 1.424 GB, free: 75.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003954/3.04, allocations: 1.888 MB / 1.426 GB, free: 75.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/3.04, allocations: 10.34 kB / 1.426 GB, free: 75.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/3.04, allocations: 3.609 kB / 1.426 GB, free: 75.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/3.04, allocations: 3.469 kB / 1.426 GB, free: 75.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/3.045, allocations: 2.467 MB / 1.428 GB, free: 74.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/3.045, allocations: 7.344 kB / 1.428 GB, free: 74.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/3.046, allocations: 185.6 kB / 1.428 GB, free: 74.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/3.046, allocations: 27.8 kB / 1.428 GB, free: 74.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-05/3.046, allocations: 36.42 kB / 1.428 GB, free: 74.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008044/3.047, allocations: 1.286 MB / 1.429 GB, free: 73.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/3.047, allocations: 7.344 kB / 1.429 GB, free: 73.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/3.05, allocations: 1.636 MB / 1.431 GB, free: 73.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/3.05, allocations: 192.5 kB / 1.431 GB, free: 73.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/3.051, allocations: 14.09 kB / 1.431 GB, free: 73.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/3.052, allocations: 63.08 kB / 1.431 GB, free: 73.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/3.052, allocations: 77.98 kB / 1.431 GB, free: 73.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/3.052, allocations: 71.62 kB / 1.431 GB, free: 73.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001217/3.053, allocations: 0.6513 MB / 1.432 GB, free: 73.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/3.053, allocations: 5.781 kB / 1.432 GB, free: 73.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00516/3.058, allocations: 1.194 MB / 1.433 GB, free: 72.89 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.005755/3.064, allocations: 1.799 MB / 1.435 GB, free: 72.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003961/3.068, allocations: 1.595 MB / 1.437 GB, free: 72.42 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/3.068, allocations: 0 / 1.437 GB, free: 72.42 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/3.069, allocations: 0.5687 MB / 1.437 GB, free: 72.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004258/3.074, allocations: 0.6017 MB / 1.438 GB, free: 72.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/3.078, allocations: 2.413 MB / 1.44 GB, free: 71.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/3.079, allocations: 1.081 MB / 1.441 GB, free: 70.58 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/3.08, allocations: 238.3 kB / 1.441 GB, free: 70.57 MB / 0.5417 GB Notification: Performance of SimCode: time 1.292e-06/3.08, allocations: 0 / 1.441 GB, free: 70.57 MB / 0.5417 GB Notification: Performance of Templates: time 0.05515/3.135, allocations: 33.7 MB / 1.474 GB, free: 63.91 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionVolume/TestJunctionVolume.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches