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.0008953/0.0008953, allocations: 177.6 kB / 8.004 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008718/0.0008718, allocations: 98.41 kB / 261.8 MB, free: 1.609 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.2047/0.2047, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.689e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1257, allocations: 58.85 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.354/1.48, allocations: 0.5983 GB / 1.064 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.48, allocations: 88.73 kB / 1.064 GB, free: 19.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.229/2.71, allocations: 345.5 MB / 1.402 GB, free: 71.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/2.71, allocations: 0 / 1.402 GB, free: 71.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000116/2.71, allocations: 27.91 kB / 1.402 GB, free: 71.1 MB / 0.4948 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.004859/2.715, allocations: 1.564 MB / 1.403 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/2.715, allocations: 8.031 kB / 1.403 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/2.716, allocations: 194.6 kB / 1.403 GB, free: 69.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/2.718, allocations: 0.8064 MB / 1.404 GB, free: 68.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/2.718, allocations: 31.94 kB / 1.404 GB, free: 68.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/2.718, allocations: 36 kB / 1.404 GB, free: 68.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/2.72, allocations: 0.9793 MB / 1.405 GB, free: 67.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/2.721, allocations: 1.037 MB / 1.406 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/2.721, allocations: 0 / 1.406 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/2.722, allocations: 6 kB / 1.406 GB, free: 66.33 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.841e-05/2.722, allocations: 77.2 kB / 1.406 GB, free: 66.26 MB / 0.4948 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.006488/2.728, allocations: 4.341 MB / 1.411 GB, free: 61.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/2.729, allocations: 0.6361 MB / 1.411 GB, free: 61.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/2.73, allocations: 294.1 kB / 1.411 GB, free: 60.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/2.73, allocations: 318 kB / 1.412 GB, free: 60.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/2.73, allocations: 46.94 kB / 1.412 GB, free: 60.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006649/2.731, allocations: 99.12 kB / 1.412 GB, free: 60.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 3.427e-06/2.731, allocations: 0 / 1.412 GB, free: 60.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.002146/2.733, allocations: 0.9363 MB / 1.413 GB, free: 59.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/2.733, allocations: 214.1 kB / 1.413 GB, free: 59.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/2.734, allocations: 0.6524 MB / 1.414 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/2.734, allocations: 25.7 kB / 1.414 GB, free: 58.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/2.734, allocations: 482.6 kB / 1.414 GB, free: 57.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/2.734, allocations: 177.4 kB / 1.414 GB, free: 57.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/2.734, allocations: 0 / 1.414 GB, free: 57.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/2.734, allocations: 389 kB / 1.415 GB, free: 57.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/2.735, allocations: 365.4 kB / 1.415 GB, free: 57.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/2.735, allocations: 0.5373 MB / 1.416 GB, free: 56.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007694/2.743, allocations: 1.858 MB / 1.417 GB, free: 54.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/2.743, allocations: 11.89 kB / 1.417 GB, free: 54.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.009484/2.752, allocations: 2.594 MB / 1.42 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003418/2.753, allocations: 1.745 MB / 1.422 GB, free: 50.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/2.753, allocations: 4 kB / 1.422 GB, free: 50.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/2.756, allocations: 0.6162 MB / 1.422 GB, free: 49.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/2.756, allocations: 159.7 kB / 1.422 GB, free: 49.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/2.758, allocations: 1.343 MB / 1.424 GB, free: 48.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/2.759, allocations: 46.92 kB / 1.424 GB, free: 48.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/2.76, allocations: 67.98 kB / 1.424 GB, free: 47.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/2.76, allocations: 4 kB / 1.424 GB, free: 47.95 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008926/2.769, allocations: 2.332 MB / 1.426 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/2.769, allocations: 6.25 kB / 1.426 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006712/2.769, allocations: 157.8 kB / 1.426 GB, free: 45.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/2.77, allocations: 199.7 kB / 1.426 GB, free: 45.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/2.772, allocations: 2.069 MB / 1.428 GB, free: 43.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009458/2.773, allocations: 54.36 kB / 1.429 GB, free: 43.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/2.773, allocations: 67.98 kB / 1.429 GB, free: 43.01 MB / 0.4948 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.0002872/2.774, allocations: 119.1 kB / 1.429 GB, free: 42.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/2.774, allocations: 86.97 kB / 1.429 GB, free: 42.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/2.776, allocations: 1.057 MB / 1.43 GB, free: 41.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/2.776, allocations: 5.469 kB / 1.43 GB, free: 41.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/2.776, allocations: 4 kB / 1.43 GB, free: 41.72 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/2.776, allocations: 3.984 kB / 1.43 GB, free: 41.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/2.779, allocations: 1.725 MB / 1.432 GB, free: 39.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/2.779, allocations: 0 / 1.432 GB, free: 39.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/2.779, allocations: 47.97 kB / 1.432 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/2.781, allocations: 482.2 kB / 1.432 GB, free: 39.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/2.781, allocations: 11.94 kB / 1.432 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/2.783, allocations: 1.28 MB / 1.433 GB, free: 38.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/2.783, allocations: 0 / 1.433 GB, free: 38.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/2.784, allocations: 1.025 MB / 1.434 GB, free: 37.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/2.785, allocations: 180 kB / 1.434 GB, free: 36.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/2.785, allocations: 0 / 1.434 GB, free: 36.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/2.786, allocations: 42.11 kB / 1.435 GB, free: 36.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/2.786, allocations: 44.33 kB / 1.435 GB, free: 36.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/2.786, allocations: 33.7 kB / 1.435 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005342/2.786, allocations: 499.1 kB / 1.435 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.786, allocations: 0 / 1.435 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003725/2.79, allocations: 1.201 MB / 1.436 GB, free: 35.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.004162/2.794, allocations: 2.003 MB / 1.438 GB, free: 33.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002106/2.796, allocations: 1.408 MB / 1.44 GB, free: 31.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/2.796, allocations: 4 kB / 1.44 GB, free: 31.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004298/2.797, allocations: 333.4 kB / 1.44 GB, free: 31.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/2.799, allocations: 437.5 kB / 1.44 GB, free: 31.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/2.8, allocations: 1.109 MB / 1.441 GB, free: 30.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/2.801, allocations: 1.07 MB / 1.442 GB, free: 28.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00165/2.802, allocations: 440.6 kB / 1.443 GB, free: 28.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/2.803, allocations: 67.42 kB / 1.443 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/2.803, allocations: 0 / 1.443 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.2956/3.098, allocations: 33.69 MB / 1.476 GB, free: 79.11 MB / 0.4948 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