Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 111.2 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.001041, allocations: 189.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.1 MB / 223.2 MB, free: 12.1 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2128/0.2128, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.89 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1301, allocations: 57.78 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4631/0.5932, allocations: 190 MB / 0.6735 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008068/0.6013, allocations: 5.704 MB / 0.679 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006268/0.602, allocations: 19.88 kB / 0.679 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009918/0.6031, allocations: 317.8 kB / 0.6793 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004192/0.6073, allocations: 1.655 MB / 0.681 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.6091, allocations: 0.7368 MB / 0.6817 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.6109, allocations: 1.548 MB / 0.6832 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005334/0.6115, allocations: 427.4 kB / 0.6836 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000775/0.6123, allocations: 0.5878 MB / 0.6842 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004904/0.6128, allocations: 474.1 kB / 0.6846 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.057e-05/0.6129, allocations: 52 kB / 0.6847 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.6154, allocations: 1.404 MB / 0.6861 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.6156, allocations: 155.5 kB / 0.6862 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.6159, allocations: 350.4 kB / 0.6865 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.6182, allocations: 1.625 MB / 0.6881 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.6182, allocations: 0 / 0.6881 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6182, allocations: 0 / 0.6881 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.6182, allocations: 0 / 0.6881 GB, free: 13.36 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001744/0.62, allocations: 1.087 MB / 0.6892 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.62, allocations: 12.03 kB / 0.6892 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/0.621, allocations: 139.2 kB / 0.6893 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007812/0.6218, allocations: 0.4965 MB / 0.6898 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.6218, allocations: 29.56 kB / 0.6898 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.6219, allocations: 40 kB / 0.6899 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009834/0.6229, allocations: 0.5906 MB / 0.6905 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.6229, allocations: 4 kB / 0.6905 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.6229, allocations: 20 kB / 0.6905 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.623, allocations: 12 kB / 0.6905 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008579/0.6238, allocations: 471.6 kB / 0.6909 GB, free: 10.34 MB / 0.5294 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.003047/0.6269, allocations: 2.701 MB / 0.6936 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.6276, allocations: 353.8 kB / 0.6939 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.6279, allocations: 173.3 kB / 0.6941 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/0.6291, allocations: 1.304 MB / 0.6954 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.6292, allocations: 34.84 kB / 0.6954 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.6292, allocations: 3.938 kB / 0.6954 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001644/0.6309, allocations: 0.726 MB / 0.6961 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.6309, allocations: 132.5 kB / 0.6962 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.6315, allocations: 0.4902 MB / 0.6967 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.6315, allocations: 29.7 kB / 0.6967 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.6318, allocations: 283.9 kB / 0.697 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.962e-05/0.6319, allocations: 114.2 kB / 0.6971 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.632, allocations: 106.1 kB / 0.6972 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6322, allocations: 362.7 kB / 0.6976 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.6325, allocations: 148.8 kB / 0.6977 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.6329, allocations: 283.6 kB / 0.698 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.6336, allocations: 445.6 kB / 0.6984 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6336, allocations: 0 / 0.6984 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009267/0.6345, allocations: 0.5365 MB / 0.6989 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6345, allocations: 7.938 kB / 0.6989 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6345, allocations: 4 kB / 0.6989 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.636, allocations: 244.9 kB / 0.6992 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.6364, allocations: 99.89 kB / 0.6993 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004797/0.6368, allocations: 0.603 MB / 0.6998 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.6372, allocations: 43.53 kB / 0.6999 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.6372, allocations: 43.98 kB / 0.6999 GB, free: 452 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.6375, allocations: 189.6 kB / 0.7001 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.6376, allocations: 55.34 kB / 0.7002 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.639, allocations: 0.7305 MB / 0.7009 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.639, allocations: 4 kB / 0.7009 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.6391, allocations: 0 / 0.7009 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6391, allocations: 11.92 kB / 0.7009 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.6405, allocations: 1.038 MB / 0.7019 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6406, allocations: 0 / 0.7019 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.6408, allocations: 60.06 kB / 0.702 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003002/0.6438, allocations: 444.1 kB / 0.7024 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.6438, allocations: 8 kB / 0.7024 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004604/0.6443, allocations: 0.6069 MB / 0.703 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6443, allocations: 4.031 kB / 0.703 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.6451, allocations: 0.5118 MB / 0.7035 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.6453, allocations: 140.3 kB / 0.7036 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.254e-05/0.6454, allocations: 11.91 kB / 0.7036 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.6457, allocations: 19.98 kB / 0.7037 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.6458, allocations: 31.84 kB / 0.7037 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.6458, allocations: 15.98 kB / 0.7037 GB, free: 12.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005001/0.6463, allocations: 422.8 kB / 0.7041 GB, free: 11.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6463, allocations: 0 / 0.7041 GB, free: 11.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009051/0.6472, allocations: 319.8 kB / 0.7044 GB, free: 11.66 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009271/0.6482, allocations: 453.2 kB / 0.7048 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008117/0.649, allocations: 388.9 kB / 0.7052 GB, free: 10.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.649, allocations: 4 kB / 0.7052 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.6493, allocations: 167.8 kB / 0.7054 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.6508, allocations: 357.8 kB / 0.7057 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.6522, allocations: 0.8964 MB / 0.7066 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.6526, allocations: 0.8557 MB / 0.7074 GB, free: 8.484 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005819/0.6532, allocations: 201 kB / 0.7076 GB, free: 8.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.6534, allocations: 75.42 kB / 0.7077 GB, free: 8.219 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.6534, allocations: 0 / 0.7077 GB, free: 8.219 MB / 0.545 GB Notification: Performance of Templates: time 0.02619/0.6796, allocations: 16.88 MB / 0.7242 GB, free: 7.348 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches