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.001233/0.001233, allocations: 115.7 kB / 17.05 MB, free: 6.035 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.001208/0.001208, allocations: 189.7 kB / 17.98 MB, free: 5.121 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.389/1.389, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2145/0.2145, allocations: 43.52 MB / 314.7 MB, free: 472 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.001435/0.001436, allocations: 67.91 kB / 442.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1267, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5295/0.6562, allocations: 190 MB / 0.6741 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01222/0.6685, allocations: 5.702 MB / 0.6796 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.6698, allocations: 15.88 kB / 0.6797 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.6714, allocations: 329.8 kB / 0.68 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007033/0.6785, allocations: 1.626 MB / 0.6816 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.6816, allocations: 0.7309 MB / 0.6823 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003505/0.6851, allocations: 1.551 MB / 0.6838 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009969/0.6861, allocations: 415.6 kB / 0.6842 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.6877, allocations: 0.5799 MB / 0.6847 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009068/0.6887, allocations: 466.1 kB / 0.6852 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.6888, allocations: 52 kB / 0.6852 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004703/0.6935, allocations: 1.408 MB / 0.6866 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003432/0.6939, allocations: 159.4 kB / 0.6868 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007128/0.6946, allocations: 346.5 kB / 0.6871 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.6991, allocations: 1.617 MB / 0.6887 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.6991, allocations: 0 / 0.6887 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.136e-06/0.6991, allocations: 0 / 0.6887 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.6992, allocations: 0 / 0.6887 GB, free: 13.42 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.002429/0.7016, allocations: 1.094 MB / 0.6897 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.7016, allocations: 12.03 kB / 0.6898 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.7029, allocations: 139.2 kB / 0.6899 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009915/0.7039, allocations: 0.4964 MB / 0.6904 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.7039, allocations: 33 kB / 0.6904 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-05/0.704, allocations: 36 kB / 0.6904 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.7053, allocations: 0.5945 MB / 0.691 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.7053, allocations: 4 kB / 0.691 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.7054, allocations: 16 kB / 0.691 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.7054, allocations: 15.94 kB / 0.6911 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.7065, allocations: 483.5 kB / 0.6915 GB, free: 10.39 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.003113/0.7096, allocations: 2.686 MB / 0.6941 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/0.7104, allocations: 355.3 kB / 0.6945 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.7107, allocations: 173.4 kB / 0.6946 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.7121, allocations: 1.304 MB / 0.6959 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/0.7121, allocations: 34.84 kB / 0.6959 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/0.7122, allocations: 0 / 0.6959 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001946/0.7141, allocations: 0.726 MB / 0.6967 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.7142, allocations: 136.5 kB / 0.6968 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006861/0.7149, allocations: 0.4941 MB / 0.6973 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.715, allocations: 33.7 kB / 0.6973 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.7152, allocations: 275.9 kB / 0.6976 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.7153, allocations: 122.2 kB / 0.6977 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.7155, allocations: 102.1 kB / 0.6978 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7156, allocations: 358.8 kB / 0.6981 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.716, allocations: 144.8 kB / 0.6983 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.7164, allocations: 286.4 kB / 0.6985 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.7171, allocations: 452.3 kB / 0.699 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7171, allocations: 0 / 0.699 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001105/0.7182, allocations: 0.5365 MB / 0.6995 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.7183, allocations: 11.88 kB / 0.6995 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.7183, allocations: 4.438 kB / 0.6995 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.7199, allocations: 240.5 kB / 0.6997 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.7203, allocations: 103.9 kB / 0.6998 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005835/0.7209, allocations: 0.5952 MB / 0.7004 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.7213, allocations: 51.52 kB / 0.7005 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.654e-05/0.7214, allocations: 39.98 kB / 0.7005 GB, free: 0.4961 MB / 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.0003614/0.7217, allocations: 193.7 kB / 0.7007 GB, free: 304 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.7219, allocations: 55.34 kB / 0.7007 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.7234, allocations: 0.7337 MB / 0.7015 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.7235, allocations: 4 kB / 0.7015 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7235, allocations: 0 / 0.7015 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7235, allocations: 0 / 0.7015 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.7251, allocations: 1.041 MB / 0.7025 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.7251, allocations: 0 / 0.7025 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.7253, allocations: 51.97 kB / 0.7025 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003144/0.7285, allocations: 448.2 kB / 0.703 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.7285, allocations: 8 kB / 0.703 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005267/0.7291, allocations: 0.6109 MB / 0.7036 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7291, allocations: 4.031 kB / 0.7036 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009513/0.73, allocations: 0.5079 MB / 0.7041 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.7302, allocations: 136.3 kB / 0.7042 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.7304, allocations: 19.95 kB / 0.7042 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.7307, allocations: 23.98 kB / 0.7042 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.967e-05/0.7308, allocations: 27.91 kB / 0.7043 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.7308, allocations: 8 kB / 0.7043 GB, free: 12.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000606/0.7314, allocations: 426.8 kB / 0.7047 GB, free: 12.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7315, allocations: 0 / 0.7047 GB, free: 12.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001253/0.7327, allocations: 323.7 kB / 0.705 GB, free: 11.71 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.001139/0.7339, allocations: 444.6 kB / 0.7054 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009905/0.7349, allocations: 396 kB / 0.7058 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7349, allocations: 0 / 0.7058 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.7353, allocations: 169 kB / 0.7059 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.7371, allocations: 369.1 kB / 0.7063 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.739, allocations: 0.9177 MB / 0.7072 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.7395, allocations: 0.8557 MB / 0.708 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.7399, allocations: 107.4 kB / 0.7081 GB, free: 8.406 MB / 0.545 GB Notification: Performance of SimCode: time 1.784e-06/0.7399, allocations: 0 / 0.7081 GB, free: 8.406 MB / 0.545 GB Notification: Performance of Templates: time 0.02433/0.7642, allocations: 15.06 MB / 0.7228 GB, free: 9.344 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/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