Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 121.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 203.8 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 71.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3394, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2191/0.5586, allocations: 186 MB / 0.7126 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006545/0.5651, allocations: 3.26 MB / 0.7158 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009647/0.5661, allocations: 15.94 kB / 0.7158 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.5675, allocations: 321.8 kB / 0.7161 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004559/0.5721, allocations: 1.4 MB / 0.7175 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.5742, allocations: 0.7333 MB / 0.7182 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4519/1.026, allocations: 1.56 MB / 0.7197 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/1.027, allocations: 427.4 kB / 0.7201 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/1.029, allocations: 0.592 MB / 0.7207 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000843/1.03, allocations: 458.1 kB / 0.7212 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/1.03, allocations: 51.91 kB / 0.7212 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/1.032, allocations: 1.201 MB / 0.7224 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/1.033, allocations: 163 kB / 0.7225 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004712/1.033, allocations: 352.6 kB / 0.7229 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002797/1.036, allocations: 1.499 MB / 0.7243 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.036, allocations: 1.781 kB / 0.7243 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.385e-06/1.036, allocations: 0 / 0.7243 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.126e-05/1.036, allocations: 0 / 0.7243 GB, free: 3.375 MB / 0.5606 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.002442/1.038, allocations: 1.053 MB / 0.7254 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/1.038, allocations: 14.17 kB / 0.7254 GB, free: 18.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/1.04, allocations: 139.9 kB / 0.7255 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008834/1.04, allocations: 0.494 MB / 0.726 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/1.041, allocations: 33.55 kB / 0.726 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.989e-05/1.041, allocations: 42.97 kB / 0.7261 GB, free: 18.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/1.042, allocations: 0.5879 MB / 0.7266 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/1.042, allocations: 5.656 kB / 0.7267 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.547e-05/1.042, allocations: 21.58 kB / 0.7267 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/1.042, allocations: 10.5 kB / 0.7267 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/1.043, allocations: 483.2 kB / 0.7271 GB, free: 18.38 MB / 0.5762 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.003072/1.046, allocations: 2.672 MB / 0.7298 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/1.047, allocations: 360.6 kB / 0.7301 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/1.047, allocations: 175.1 kB / 0.7303 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/1.047, allocations: 433.8 kB / 0.7307 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.047, allocations: 41.64 kB / 0.7307 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 3.096e-06/1.047, allocations: 0.875 kB / 0.7307 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001639/1.049, allocations: 0.7264 MB / 0.7314 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/1.049, allocations: 141 kB / 0.7316 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/1.05, allocations: 494.5 kB / 0.732 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/1.05, allocations: 31.55 kB / 0.7321 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/1.05, allocations: 282.3 kB / 0.7323 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.215e-05/1.05, allocations: 117.6 kB / 0.7324 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/1.05, allocations: 104.5 kB / 0.7325 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.05, allocations: 358.9 kB / 0.7329 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/1.051, allocations: 152.7 kB / 0.733 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/1.051, allocations: 284.5 kB / 0.7333 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000767/1.052, allocations: 442.6 kB / 0.7337 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.052, allocations: 3.844 kB / 0.7337 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001083/1.053, allocations: 0.5446 MB / 0.7343 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/1.053, allocations: 6.094 kB / 0.7343 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.053, allocations: 5.562 kB / 0.7343 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/1.055, allocations: 240.1 kB / 0.7345 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/1.055, allocations: 103.6 kB / 0.7346 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005069/1.055, allocations: 0.6034 MB / 0.7352 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/1.056, allocations: 40.28 kB / 0.7352 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.089e-05/1.056, allocations: 54.02 kB / 0.7353 GB, free: 14.13 MB / 0.5762 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.0002643/1.056, allocations: 172.8 kB / 0.7354 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/1.056, allocations: 54.44 kB / 0.7355 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/1.058, allocations: 1.1 MB / 0.7366 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.058, allocations: 7.062 kB / 0.7366 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.058, allocations: 0 / 0.7366 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/1.058, allocations: 3.875 kB / 0.7366 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/1.06, allocations: 1.03 MB / 0.7376 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.06, allocations: 1.062 kB / 0.7376 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/1.06, allocations: 55.36 kB / 0.7376 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002946/1.063, allocations: 443.5 kB / 0.7381 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/1.063, allocations: 14.64 kB / 0.7381 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004131/1.063, allocations: 0.605 MB / 0.7387 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.063, allocations: 3.938 kB / 0.7387 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007957/1.064, allocations: 0.5137 MB / 0.7392 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/1.064, allocations: 134.3 kB / 0.7393 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/1.064, allocations: 14.72 kB / 0.7393 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/1.065, allocations: 19.3 kB / 0.7393 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/1.065, allocations: 30.86 kB / 0.7394 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/1.065, allocations: 18.39 kB / 0.7394 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005777/1.065, allocations: 420.7 kB / 0.7398 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.065, allocations: 2.016 kB / 0.7398 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001299/1.067, allocations: 277.6 kB / 0.74 GB, free: 12.48 MB / 0.5762 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.001157/1.068, allocations: 389 kB / 0.7404 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001008/1.069, allocations: 388 kB / 0.7408 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.069, allocations: 0 / 0.7408 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/1.069, allocations: 165.6 kB / 0.7409 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.071, allocations: 363.9 kB / 0.7413 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/1.072, allocations: 0.8922 MB / 0.7422 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/1.073, allocations: 0.862 MB / 0.743 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009856/1.074, allocations: 0.5504 MB / 0.7435 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/1.074, allocations: 92.55 kB / 0.7436 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.503e-06/1.074, allocations: 0 / 0.7436 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.03011/1.104, allocations: 16 MB / 0.7593 GB, free: 9.789 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches