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.001629/0.001629, allocations: 108 kB / 18.44 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 211.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 87.8 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3111, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.1919/0.503, allocations: 186 MB / 0.7133 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005195/0.5082, allocations: 3.253 MB / 0.7165 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005922/0.5088, allocations: 19.88 kB / 0.7165 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009713/0.5098, allocations: 321.8 kB / 0.7168 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003704/0.5136, allocations: 1.396 MB / 0.7182 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.5155, allocations: 0.7351 MB / 0.7189 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.2877/0.8032, allocations: 1.551 MB / 0.7204 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008869/0.8041, allocations: 428.1 kB / 0.7208 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.8054, allocations: 0.5938 MB / 0.7214 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007683/0.8061, allocations: 457.4 kB / 0.7218 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.8063, allocations: 52.78 kB / 0.7219 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.8087, allocations: 1.202 MB / 0.723 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.8089, allocations: 159.5 kB / 0.7232 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004055/0.8093, allocations: 348 kB / 0.7235 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.8116, allocations: 1.504 MB / 0.725 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8116, allocations: 0.875 kB / 0.725 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8116, allocations: 0 / 0.725 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.8116, allocations: 1.875 kB / 0.725 GB, free: 3.27 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.002078/0.8137, allocations: 1.054 MB / 0.726 GB, free: 18.68 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.8137, allocations: 13.98 kB / 0.726 GB, free: 18.68 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.8148, allocations: 142 kB / 0.7262 GB, free: 18.65 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.8156, allocations: 0.4926 MB / 0.7267 GB, free: 18.39 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.8157, allocations: 29.47 kB / 0.7267 GB, free: 18.39 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.8157, allocations: 43.77 kB / 0.7267 GB, free: 18.39 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.8169, allocations: 0.5954 MB / 0.7273 GB, free: 18.28 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.8169, allocations: 2.281 kB / 0.7273 GB, free: 18.28 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/0.8169, allocations: 18.44 kB / 0.7273 GB, free: 18.28 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.817, allocations: 9.781 kB / 0.7273 GB, free: 18.28 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00093/0.8179, allocations: 485.6 kB / 0.7278 GB, free: 18.27 MB / 0.5763 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.002771/0.8207, allocations: 2.673 MB / 0.7304 GB, free: 16.49 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.8214, allocations: 355.7 kB / 0.7308 GB, free: 16.46 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.8217, allocations: 180.1 kB / 0.7309 GB, free: 16.45 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003874/0.822, allocations: 434.5 kB / 0.7313 GB, free: 15.98 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.8221, allocations: 41.72 kB / 0.7314 GB, free: 15.94 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.8221, allocations: 0 / 0.7314 GB, free: 15.94 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.001642/0.8237, allocations: 0.7278 MB / 0.7321 GB, free: 15.77 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.8238, allocations: 135 kB / 0.7322 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/0.8243, allocations: 497.3 kB / 0.7327 GB, free: 15.5 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.8244, allocations: 30.17 kB / 0.7327 GB, free: 15.47 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.8245, allocations: 282.2 kB / 0.733 GB, free: 15.33 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.8246, allocations: 115.5 kB / 0.7331 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.8248, allocations: 106 kB / 0.7332 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8249, allocations: 360.6 kB / 0.7335 GB, free: 14.92 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.8252, allocations: 151.6 kB / 0.7337 GB, free: 14.92 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.8255, allocations: 283 kB / 0.734 GB, free: 14.78 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.8262, allocations: 444.4 kB / 0.7344 GB, free: 14.65 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8262, allocations: 0.8438 kB / 0.7344 GB, free: 14.65 MB / 0.5763 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009289/0.8271, allocations: 0.5426 MB / 0.7349 GB, free: 14.58 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8272, allocations: 7.625 kB / 0.7349 GB, free: 14.58 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.8272, allocations: 6.672 kB / 0.7349 GB, free: 14.58 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.8287, allocations: 236.7 kB / 0.7352 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.8291, allocations: 110.6 kB / 0.7353 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004352/0.8295, allocations: 0.5956 MB / 0.7358 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.8299, allocations: 52.59 kB / 0.7359 GB, free: 14.03 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/0.83, allocations: 43.56 kB / 0.7359 GB, free: 14.03 MB / 0.5763 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.0002407/0.8303, allocations: 182 kB / 0.7361 GB, free: 13.91 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.8304, allocations: 57 kB / 0.7362 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.8321, allocations: 1.091 MB / 0.7372 GB, free: 13.74 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.8321, allocations: 8.438 kB / 0.7372 GB, free: 13.73 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8321, allocations: 0 / 0.7372 GB, free: 13.73 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8321, allocations: 3.375 kB / 0.7372 GB, free: 13.73 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.8334, allocations: 1.037 MB / 0.7383 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.8335, allocations: 0 / 0.7383 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.8337, allocations: 52.38 kB / 0.7383 GB, free: 13.36 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003187/0.8369, allocations: 443.1 kB / 0.7387 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.8369, allocations: 11.84 kB / 0.7387 GB, free: 13.35 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004158/0.8374, allocations: 0.6081 MB / 0.7393 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8374, allocations: 6.531 kB / 0.7393 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007992/0.8382, allocations: 0.5097 MB / 0.7398 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.8383, allocations: 139.2 kB / 0.74 GB, free: 12.49 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.8385, allocations: 19.69 kB / 0.74 GB, free: 12.48 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.8388, allocations: 19.09 kB / 0.74 GB, free: 12.48 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.8389, allocations: 26.83 kB / 0.74 GB, free: 12.48 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.8389, allocations: 18.11 kB / 0.74 GB, free: 12.48 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004593/0.8394, allocations: 423.1 kB / 0.7404 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8.21e-07/0.8394, allocations: 1.062 kB / 0.7405 GB, free: 12.39 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0009115/0.8403, allocations: 284.2 kB / 0.7407 GB, free: 12.36 MB / 0.5763 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.0008896/0.8412, allocations: 385 kB / 0.7411 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0008106/0.842, allocations: 383.4 kB / 0.7415 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.842, allocations: 3.406 kB / 0.7415 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.8424, allocations: 163.2 kB / 0.7416 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.844, allocations: 359.5 kB / 0.742 GB, free: 12.18 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.8454, allocations: 0.9184 MB / 0.7429 GB, free: 11.71 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.8458, allocations: 0.8656 MB / 0.7437 GB, free: 11.01 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/0.8461, allocations: 122.9 kB / 0.7438 GB, free: 11 MB / 0.5763 GB Notification: Performance of SimCode: time 4.61e-07/0.8461, allocations: 3.906 kB / 0.7438 GB, free: 11 MB / 0.5763 GB Notification: Performance of Templates: time 0.01749/0.8636, allocations: 14.73 MB / 0.7582 GB, free: 9.648 MB / 0.5763 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/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