Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001617/0.001618, allocations: 188.3 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.067/2.067, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001151/0.00115, allocations: 94.8 kB / 270.9 MB, free: 13.38 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.3219/0.3219, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004739, allocations: 8 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal): time 0.6239/0.7449, allocations: 156.3 MB / 0.6314 GB, free: 14.46 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02989/0.7749, allocations: 14.23 MB / 0.6453 GB, free: 216 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.7762, allocations: 39.69 kB / 0.6453 GB, free: 176 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001844/0.7781, allocations: 362.1 kB / 0.6457 GB, free: 15.82 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009076/0.7872, allocations: 2.148 MB / 0.6478 GB, free: 13.66 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.7972, allocations: 2.502 MB / 0.6502 GB, free: 11.16 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003786/0.801, allocations: 1.549 MB / 0.6517 GB, free: 9.605 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.8027, allocations: 0.6183 MB / 0.6523 GB, free: 8.969 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00326/0.806, allocations: 0.9505 MB / 0.6532 GB, free: 8.016 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.8085, allocations: 0.8569 MB / 0.6541 GB, free: 7.156 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003834/0.8089, allocations: 52 kB / 0.6541 GB, free: 7.105 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008002/0.817, allocations: 2.629 MB / 0.6567 GB, free: 4.473 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008915/0.8179, allocations: 319.1 kB / 0.657 GB, free: 4.16 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005186/0.8185, allocations: 229.2 kB / 0.6572 GB, free: 3.93 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006564/0.825, allocations: 2.351 MB / 0.6595 GB, free: 1.574 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.8251, allocations: 7.938 kB / 0.6595 GB, free: 1.566 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.8251, allocations: 3.938 kB / 0.6595 GB, free: 1.562 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.846e-05/0.8251, allocations: 0 / 0.6595 GB, free: 1.562 MB / 458.7 MB 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.005895/0.8311, allocations: 1.624 MB / 0.6611 GB, free: 15.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.8311, allocations: 12.03 kB / 0.6611 GB, free: 15.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.833, allocations: 202.5 kB / 0.6613 GB, free: 15.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.8351, allocations: 0.7032 MB / 0.662 GB, free: 14.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.8352, allocations: 45.3 kB / 0.662 GB, free: 14.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.8354, allocations: 67.97 kB / 0.6621 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/0.8388, allocations: 1.149 MB / 0.6632 GB, free: 13.62 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.8389, allocations: 7.984 kB / 0.6632 GB, free: 13.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.839, allocations: 27.98 kB / 0.6633 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001903/0.8392, allocations: 77.27 kB / 0.6633 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003781/0.843, allocations: 1.168 MB / 0.6645 GB, free: 12.34 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.01297/0.8561, allocations: 4.384 MB / 0.6688 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.8589, allocations: 0.7944 MB / 0.6695 GB, free: 6.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000524/0.8595, allocations: 326.7 kB / 0.6698 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.8595, allocations: 39.12 kB / 0.6699 GB, free: 6.508 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001117/0.8607, allocations: 127.1 kB / 0.67 GB, free: 6.383 MB / 474.7 MB Notification: Performance of pre-optimization done (n=61): time 7.865e-06/0.8607, allocations: 0 / 0.67 GB, free: 6.383 MB / 474.7 MB Notification: Performance of matching and sorting (n=61): time 0.01172/0.8724, allocations: 2.01 MB / 0.672 GB, free: 4.344 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.8726, allocations: 218.2 kB / 0.6722 GB, free: 4.078 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.8744, allocations: 0.8728 MB / 0.673 GB, free: 3.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.8747, allocations: 45.69 kB / 0.6731 GB, free: 3.129 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.8751, allocations: 442.3 kB / 0.6735 GB, free: 2.695 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.8755, allocations: 216.9 kB / 0.6737 GB, free: 2.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.8756, allocations: 16 kB / 0.6737 GB, free: 2.465 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.8757, allocations: 346.8 kB / 0.6741 GB, free: 2.117 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.8771, allocations: 393.8 kB / 0.6744 GB, free: 1.734 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.8786, allocations: 0.6013 MB / 0.675 GB, free: 1.043 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.8802, allocations: 482.9 kB / 0.6755 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/0.8803, allocations: 0 / 0.6755 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004194/0.8845, allocations: 1.243 MB / 0.6767 GB, free: 15.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008483/0.8854, allocations: 2.013 MB / 0.6787 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.8854, allocations: 8 kB / 0.6787 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008677/0.8941, allocations: 0.8396 MB / 0.6795 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.8955, allocations: 168.4 kB / 0.6796 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.8981, allocations: 1.192 MB / 0.6808 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.8997, allocations: 55.95 kB / 0.6809 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.8999, allocations: 67.98 kB / 0.6809 GB, free: 10.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.8999, allocations: 6.656 kB / 0.6809 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004114/0.9041, allocations: 1.101 MB / 0.682 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.9041, allocations: 11.44 kB / 0.682 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009865/0.9051, allocations: 156.9 kB / 0.6822 GB, free: 9.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.9067, allocations: 191.8 kB / 0.6823 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004349/0.9111, allocations: 2.19 MB / 0.6845 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.9123, allocations: 51.95 kB / 0.6845 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.9125, allocations: 68.55 kB / 0.6846 GB, free: 6.895 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (80): * Single equations (assignments): 79 * 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.0008001/0.9133, allocations: 360.9 kB / 0.6849 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/0.9136, allocations: 98.78 kB / 0.685 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005183/0.9188, allocations: 1.377 MB / 0.6864 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.9189, allocations: 4 kB / 0.6864 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.9189, allocations: 4 kB / 0.6864 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.9189, allocations: 7.922 kB / 0.6864 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005374/0.9243, allocations: 1.987 MB / 0.6883 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.9244, allocations: 3.938 kB / 0.6883 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.9251, allocations: 84.08 kB / 0.6884 GB, free: 2.871 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005636/0.9307, allocations: 0.7032 MB / 0.6891 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/0.9309, allocations: 27.98 kB / 0.6891 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.9331, allocations: 1.169 MB / 0.6903 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9332, allocations: 0 / 0.6903 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003376/0.9366, allocations: 1.209 MB / 0.6915 GB, free: 15.65 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.9371, allocations: 183.8 kB / 0.6916 GB, free: 15.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.9373, allocations: 12 kB / 0.6916 GB, free: 15.44 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.9385, allocations: 59.89 kB / 0.6917 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/0.9387, allocations: 52.58 kB / 0.6918 GB, free: 15.33 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.9389, allocations: 43.98 kB / 0.6918 GB, free: 15.29 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001351/0.9403, allocations: 0.6205 MB / 0.6924 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.01e-07/0.9403, allocations: 0 / 0.6924 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003976/0.9443, allocations: 1.042 MB / 0.6934 GB, free: 13.61 MB / 0.4949 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 () * Number of clocked 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.003674/0.948, allocations: 0.9098 MB / 0.6943 GB, free: 12.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.005675/0.9537, allocations: 1.576 MB / 0.6958 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.9538, allocations: 1.312 kB / 0.6959 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.9554, allocations: 430.7 kB / 0.6963 GB, free: 10.68 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004804/0.9602, allocations: 0.5283 MB / 0.6968 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004699/0.965, allocations: 1.993 MB / 0.6987 GB, free: 8.113 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008889/0.9659, allocations: 1.067 MB / 0.6998 GB, free: 7.02 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008659/0.9668, allocations: 127.4 kB / 0.6999 GB, free: 6.895 MB / 0.4949 GB Notification: Performance of SimCode: time 1.132e-06/0.9668, allocations: 0 / 0.6999 GB, free: 6.895 MB / 0.4949 GB Notification: Performance of Templates: time 0.3786/1.345, allocations: 26.69 MB / 0.7259 GB, free: 174 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches