Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009751/0.000975, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.312/1.312, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0009124/0.0009123, allocations: 89.55 kB / 267.1 MB, free: 9.262 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.3392/0.3392, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.607e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.398, allocations: 0.599 GB / 1.072 GB, free: 37.16 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/1.399, allocations: 80.8 kB / 1.072 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.222/2.621, allocations: 349 MB / 1.413 GB, free: 82.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.112e-06/2.621, allocations: 0 / 1.413 GB, free: 82.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.853e-05/2.621, allocations: 30.95 kB / 1.413 GB, free: 82.89 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004301/2.626, allocations: 1.556 MB / 1.414 GB, free: 82.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/2.626, allocations: 17.38 kB / 1.414 GB, free: 82.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009953/2.627, allocations: 197.2 kB / 1.414 GB, free: 81.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/2.628, allocations: 0.8125 MB / 1.415 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/2.628, allocations: 54.64 kB / 1.415 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/2.628, allocations: 59.53 kB / 1.415 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/2.63, allocations: 1.131 MB / 1.416 GB, free: 81.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/2.63, allocations: 3.938 kB / 1.416 GB, free: 81.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/2.63, allocations: 30.38 kB / 1.416 GB, free: 81.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.614e-05/2.63, allocations: 76.14 kB / 1.417 GB, free: 81.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/2.632, allocations: 1.119 MB / 1.418 GB, free: 81.29 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.005539/2.637, allocations: 4.356 MB / 1.422 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/2.638, allocations: 0.7502 MB / 1.423 GB, free: 78.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/2.639, allocations: 343 kB / 1.423 GB, free: 78.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002898/2.639, allocations: 323 kB / 1.423 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/2.639, allocations: 41.91 kB / 1.423 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005633/2.64, allocations: 131.5 kB / 1.423 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=61): time 2.294e-06/2.64, allocations: 1.219 kB / 1.423 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.002346/2.642, allocations: 1.084 MB / 1.425 GB, free: 77.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/2.642, allocations: 210.1 kB / 1.425 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/2.643, allocations: 0.7656 MB / 1.425 GB, free: 76.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/2.643, allocations: 41.61 kB / 1.425 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/2.643, allocations: 438.3 kB / 1.426 GB, free: 76.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/2.643, allocations: 219.6 kB / 1.426 GB, free: 76.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/2.643, allocations: 17.19 kB / 1.426 GB, free: 76.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.758e-05/2.644, allocations: 343.4 kB / 1.426 GB, free: 75.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/2.644, allocations: 352.4 kB / 1.427 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/2.645, allocations: 0.5543 MB / 1.427 GB, free: 75.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/2.645, allocations: 442.9 kB / 1.428 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/2.645, allocations: 0 / 1.428 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001749/2.647, allocations: 1.222 MB / 1.429 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003807/2.647, allocations: 1.752 MB / 1.431 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/2.647, allocations: 3.531 kB / 1.431 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004292/2.652, allocations: 0.8255 MB / 1.431 GB, free: 72.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/2.652, allocations: 151.9 kB / 1.432 GB, free: 72.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/2.653, allocations: 1.184 MB / 1.433 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008932/2.654, allocations: 66.52 kB / 1.433 GB, free: 71.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/2.655, allocations: 68.59 kB / 1.433 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/2.655, allocations: 3.688 kB / 1.433 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001815/2.656, allocations: 1.022 MB / 1.434 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/2.656, allocations: 3.531 kB / 1.434 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/2.657, allocations: 165 kB / 1.434 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/2.658, allocations: 194 kB / 1.434 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/2.66, allocations: 2.149 MB / 1.436 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/2.661, allocations: 60.92 kB / 1.436 GB, free: 69.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/2.661, allocations: 69.23 kB / 1.436 GB, free: 69.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002685/2.661, allocations: 151.9 kB / 1.437 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/2.661, allocations: 105.9 kB / 1.437 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/2.664, allocations: 1.287 MB / 1.438 GB, free: 69.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/2.664, allocations: 7.719 kB / 1.438 GB, free: 69.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/2.664, allocations: 0 / 1.438 GB, free: 69.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/2.664, allocations: 0 / 1.438 GB, free: 69.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/2.666, allocations: 1.933 MB / 1.44 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/2.666, allocations: 0 / 1.44 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/2.666, allocations: 83.95 kB / 1.44 GB, free: 68.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003083/2.669, allocations: 0.6876 MB / 1.441 GB, free: 68.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/2.67, allocations: 32.59 kB / 1.441 GB, free: 68.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/2.671, allocations: 1.171 MB / 1.442 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/2.671, allocations: 0 / 1.442 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/2.672, allocations: 1.145 MB / 1.443 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/2.672, allocations: 183.6 kB / 1.443 GB, free: 66.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/2.673, allocations: 17.66 kB / 1.443 GB, free: 66.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007958/2.673, allocations: 50.59 kB / 1.443 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/2.674, allocations: 53.66 kB / 1.443 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.091e-05/2.674, allocations: 46.75 kB / 1.443 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000937/2.675, allocations: 0.6075 MB / 1.444 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/2.675, allocations: 0 / 1.444 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003917/2.679, allocations: 1.224 MB / 1.445 GB, free: 65.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.004584/2.683, allocations: 1.815 MB / 1.447 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002419/2.686, allocations: 1.507 MB / 1.448 GB, free: 64.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/2.686, allocations: 2.562 kB / 1.448 GB, free: 64.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005589/2.686, allocations: 398.7 kB / 1.449 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/2.689, allocations: 0.5429 MB / 1.449 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/2.69, allocations: 1.209 MB / 1.45 GB, free: 63.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/2.691, allocations: 1.072 MB / 1.451 GB, free: 63.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001923/2.693, allocations: 0.5138 MB / 1.452 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/2.693, allocations: 87.62 kB / 1.452 GB, free: 62.91 MB / 0.5105 GB Notification: Performance of SimCode: time 3.5e-07/2.693, allocations: 4 kB / 1.452 GB, free: 62.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.06062/2.754, allocations: 48.54 MB / 1.499 GB, free: 15.43 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionIdeal/TestJunctionIdeal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches