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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001118/0.001118, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001134/0.001134, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 242.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2043/0.2043, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 61.39 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1261, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4723/0.5984, allocations: 183 MB / 0.6377 GB, free: 9.496 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006191/0.6047, allocations: 3.271 MB / 0.6409 GB, free: 6.215 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009118/0.6056, allocations: 19.81 kB / 0.6409 GB, free: 6.195 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.6069, allocations: 321.8 kB / 0.6412 GB, free: 5.879 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004602/0.6116, allocations: 1.394 MB / 0.6426 GB, free: 4.484 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.6137, allocations: 0.7314 MB / 0.6433 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002555/0.6163, allocations: 1.544 MB / 0.6448 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009746/0.6173, allocations: 431.4 kB / 0.6452 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.6187, allocations: 0.5799 MB / 0.6458 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.6197, allocations: 454.2 kB / 0.6462 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.62, allocations: 56 kB / 0.6462 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.6228, allocations: 1.147 MB / 0.6474 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.6232, allocations: 163.4 kB / 0.6475 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006762/0.6239, allocations: 354.4 kB / 0.6479 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.627, allocations: 1.492 MB / 0.6493 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.627, allocations: 0 / 0.6493 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.627, allocations: 0 / 0.6493 GB, free: 13.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.6271, allocations: 0 / 0.6493 GB, free: 13.55 MB / 494.1 MB 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.002582/0.6296, allocations: 1.056 MB / 0.6503 GB, free: 12.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6297, allocations: 12.03 kB / 0.6504 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.6309, allocations: 139.2 kB / 0.6505 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008335/0.6317, allocations: 476.4 kB / 0.6509 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.6318, allocations: 33 kB / 0.651 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.6318, allocations: 43.94 kB / 0.651 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.6331, allocations: 0.5945 MB / 0.6516 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.6331, allocations: 3.938 kB / 0.6516 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.6332, allocations: 24 kB / 0.6516 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.6332, allocations: 15.94 kB / 0.6516 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.6343, allocations: 479.6 kB / 0.6521 GB, free: 10.57 MB / 494.1 MB 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.0034/0.6377, allocations: 2.686 MB / 0.6547 GB, free: 7.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.6385, allocations: 347.5 kB / 0.655 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.6388, allocations: 173.4 kB / 0.6552 GB, free: 7.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/0.6395, allocations: 433.8 kB / 0.6556 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.6395, allocations: 38.84 kB / 0.6557 GB, free: 6.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.645e-06/0.6395, allocations: 0 / 0.6557 GB, free: 6.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001876/0.6414, allocations: 0.7342 MB / 0.6564 GB, free: 5.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/0.6415, allocations: 136.5 kB / 0.6565 GB, free: 5.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/0.6422, allocations: 498 kB / 0.657 GB, free: 5.156 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.6423, allocations: 33.7 kB / 0.657 GB, free: 5.117 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.6425, allocations: 283.8 kB / 0.6573 GB, free: 4.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.6426, allocations: 118.3 kB / 0.6574 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.6428, allocations: 102 kB / 0.6575 GB, free: 4.613 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.643, allocations: 362.7 kB / 0.6578 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.6433, allocations: 148.8 kB / 0.658 GB, free: 4.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.6438, allocations: 279.7 kB / 0.6583 GB, free: 3.781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.6446, allocations: 441.6 kB / 0.6587 GB, free: 3.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.6446, allocations: 8 kB / 0.6587 GB, free: 3.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001174/0.6458, allocations: 0.5403 MB / 0.6592 GB, free: 2.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.6458, allocations: 12.38 kB / 0.6592 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.6458, allocations: 8 kB / 0.6592 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.6474, allocations: 236.5 kB / 0.6595 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.6478, allocations: 103.9 kB / 0.6596 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005305/0.6483, allocations: 0.5962 MB / 0.6601 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.6488, allocations: 47.53 kB / 0.6602 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/0.6489, allocations: 52.05 kB / 0.6602 GB, free: 1.672 MB / 494.1 MB 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.0002982/0.6492, allocations: 185.6 kB / 0.6604 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.6493, allocations: 55.34 kB / 0.6605 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.6514, allocations: 1.097 MB / 0.6615 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.6515, allocations: 4 kB / 0.6615 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.6515, allocations: 0 / 0.6615 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6515, allocations: 3.984 kB / 0.6615 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.6531, allocations: 1.028 MB / 0.6625 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6531, allocations: 4 kB / 0.6625 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.6533, allocations: 55.91 kB / 0.6626 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/0.6565, allocations: 448.3 kB / 0.663 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.6566, allocations: 8 kB / 0.663 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004501/0.657, allocations: 0.6108 MB / 0.6636 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.657, allocations: 3.984 kB / 0.6636 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.6579, allocations: 0.5116 MB / 0.6641 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.6581, allocations: 132.4 kB / 0.6643 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.6582, allocations: 19.78 kB / 0.6643 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.6586, allocations: 19.98 kB / 0.6643 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.6587, allocations: 27.91 kB / 0.6643 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.6587, allocations: 20 kB / 0.6643 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005253/0.6593, allocations: 426.8 kB / 0.6648 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6593, allocations: 0 / 0.6648 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009449/0.6602, allocations: 279.8 kB / 0.665 GB, free: 12.57 MB / 0.4981 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.001058/0.6613, allocations: 395.5 kB / 0.6654 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009652/0.6623, allocations: 392.1 kB / 0.6658 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.6623, allocations: 0 / 0.6658 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.6627, allocations: 169.2 kB / 0.6659 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.6645, allocations: 357 kB / 0.6663 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.6661, allocations: 0.9486 MB / 0.6672 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.6665, allocations: 0.8518 MB / 0.668 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/0.667, allocations: 135.3 kB / 0.6682 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.667, allocations: 0 / 0.6682 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of Templates: time 0.02204/0.689, allocations: 14.6 MB / 0.6824 GB, free: 10.76 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches