Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 84 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 162.6 kB / 23.95 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1933/0.1933, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.34e-05, allocations: 6.281 kB / 440.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3605/0.3606, allocations: 161.6 MB / 0.5876 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005815/0.3664, allocations: 3.026 MB / 0.5906 GB, free: 5.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006558/0.367, allocations: 19.81 kB / 0.5906 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.3681, allocations: 325.6 kB / 0.5909 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004562/0.3727, allocations: 1.462 MB / 0.5923 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.375, allocations: 0.7496 MB / 0.5931 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002586/0.3775, allocations: 1.59 MB / 0.5946 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008142/0.3784, allocations: 359.9 kB / 0.595 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.38, allocations: 0.8065 MB / 0.5958 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007686/0.3808, allocations: 422.6 kB / 0.5962 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.381, allocations: 52 kB / 0.5962 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.383, allocations: 0.9152 MB / 0.5971 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.3833, allocations: 163.4 kB / 0.5973 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003965/0.3837, allocations: 255.4 kB / 0.5975 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.3863, allocations: 1.552 MB / 0.599 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3863, allocations: 0 / 0.599 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.093e-06/0.3863, allocations: 0 / 0.599 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.515e-05/0.3863, allocations: 0 / 0.599 GB, free: 12.57 MB / 0.4981 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.002145/0.3884, allocations: 1.002 MB / 0.6 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3885, allocations: 8.031 kB / 0.6 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.3896, allocations: 143.5 kB / 0.6001 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009117/0.3905, allocations: 430.2 kB / 0.6005 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.3905, allocations: 36.62 kB / 0.6006 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.074e-05/0.3906, allocations: 44 kB / 0.6006 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.3919, allocations: 0.8957 MB / 0.6015 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.392, allocations: 3.938 kB / 0.6015 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.392, allocations: 20 kB / 0.6015 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.392, allocations: 16 kB / 0.6015 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.3931, allocations: 479.6 kB / 0.602 GB, free: 9.344 MB / 0.4981 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.003091/0.3962, allocations: 1.889 MB / 0.6038 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/0.397, allocations: 330.5 kB / 0.6042 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.3973, allocations: 157.4 kB / 0.6043 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.3975, allocations: 52.25 kB / 0.6044 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.3976, allocations: 38.84 kB / 0.6044 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.043e-06/0.3976, allocations: 0 / 0.6044 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001822/0.3994, allocations: 0.6516 MB / 0.605 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.3995, allocations: 132.5 kB / 0.6052 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.4, allocations: 437.8 kB / 0.6056 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.4001, allocations: 33.7 kB / 0.6056 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.4003, allocations: 292.3 kB / 0.6059 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.4004, allocations: 119 kB / 0.606 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.4006, allocations: 106.1 kB / 0.6061 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4008, allocations: 354.8 kB / 0.6064 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.4011, allocations: 144.9 kB / 0.6066 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.4016, allocations: 369.3 kB / 0.6069 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.4024, allocations: 445.6 kB / 0.6074 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4024, allocations: 3.938 kB / 0.6074 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00108/0.4035, allocations: 0.537 MB / 0.6079 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4035, allocations: 8 kB / 0.6079 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4035, allocations: 4 kB / 0.6079 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.4051, allocations: 244.7 kB / 0.6081 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.4055, allocations: 103.8 kB / 0.6082 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005086/0.406, allocations: 0.6031 MB / 0.6088 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.4063, allocations: 39.72 kB / 0.6089 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.754e-05/0.4064, allocations: 44.06 kB / 0.6089 GB, free: 1.965 MB / 0.4981 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.0002524/0.4066, allocations: 186.4 kB / 0.6091 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.4067, allocations: 51.66 kB / 0.6091 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.4087, allocations: 1.096 MB / 0.6102 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4087, allocations: 0 / 0.6102 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4087, allocations: 3.938 kB / 0.6102 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4087, allocations: 8 kB / 0.6102 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.4103, allocations: 0.8777 MB / 0.6111 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4103, allocations: 7.938 kB / 0.6111 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.4105, allocations: 43.98 kB / 0.6111 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/0.4138, allocations: 444.4 kB / 0.6115 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.264e-05/0.4139, allocations: 12 kB / 0.6115 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005943/0.4145, allocations: 0.6148 MB / 0.6121 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4145, allocations: 0 / 0.6121 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009603/0.4154, allocations: 0.5002 MB / 0.6126 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.4155, allocations: 39.66 kB / 0.6127 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.4157, allocations: 23.94 kB / 0.6127 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.416, allocations: 12 kB / 0.6127 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.4161, allocations: 28.02 kB / 0.6127 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.4161, allocations: 23.98 kB / 0.6128 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004673/0.4166, allocations: 339.1 kB / 0.6131 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4166, allocations: 0 / 0.6131 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009323/0.4175, allocations: 299.1 kB / 0.6134 GB, free: 13.25 MB / 0.5137 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.0009145/0.4184, allocations: 390.3 kB / 0.6137 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008942/0.4193, allocations: 368.7 kB / 0.6141 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4193, allocations: 0 / 0.6141 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.4197, allocations: 159.8 kB / 0.6142 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.4211, allocations: 286 kB / 0.6145 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.4227, allocations: 0.8578 MB / 0.6153 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.4229, allocations: 267.1 kB / 0.6156 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000987/0.4239, allocations: 0.5434 MB / 0.6161 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.4242, allocations: 80.47 kB / 0.6162 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.4242, allocations: 0 / 0.6162 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.02558/0.4498, allocations: 14.49 MB / 0.6304 GB, free: 12 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.512997046113014]