Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002341/0.00234, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 98.83 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3004/0.3004, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005064, allocations: 8 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1181, allocations: 58.86 MB / 490.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5721/0.6902, allocations: 145.8 MB / 0.6211 GB, free: 8.984 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.709, allocations: 9.258 MB / 0.6301 GB, free: 15.71 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000798/0.7099, allocations: 19.81 kB / 0.6301 GB, free: 15.69 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.7112, allocations: 270.7 kB / 0.6304 GB, free: 15.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007857/0.7191, allocations: 1.834 MB / 0.6322 GB, free: 13.59 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.7226, allocations: 0.7836 MB / 0.633 GB, free: 12.8 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002797/0.7254, allocations: 1.015 MB / 0.634 GB, free: 11.79 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009198/0.7264, allocations: 367.4 kB / 0.6343 GB, free: 11.43 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.7288, allocations: 0.6817 MB / 0.635 GB, free: 10.74 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009452/0.7298, allocations: 378.6 kB / 0.6353 GB, free: 10.37 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.7299, allocations: 28 kB / 0.6354 GB, free: 10.34 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/0.7341, allocations: 1.24 MB / 0.6366 GB, free: 9.098 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000394/0.7345, allocations: 143.5 kB / 0.6367 GB, free: 8.957 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.7349, allocations: 153.4 kB / 0.6369 GB, free: 8.801 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.738, allocations: 1.15 MB / 0.638 GB, free: 7.648 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7381, allocations: 0 / 0.638 GB, free: 7.648 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.7381, allocations: 0 / 0.638 GB, free: 7.648 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.7381, allocations: 0 / 0.638 GB, free: 7.648 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002856/0.741, allocations: 0.9818 MB / 0.6389 GB, free: 6.617 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.7411, allocations: 8.031 kB / 0.6389 GB, free: 6.609 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.7429, allocations: 155.1 kB / 0.6391 GB, free: 6.457 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.7441, allocations: 472.7 kB / 0.6395 GB, free: 5.957 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.008e-05/0.7442, allocations: 33 kB / 0.6396 GB, free: 5.926 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.7443, allocations: 44 kB / 0.6396 GB, free: 5.883 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.7462, allocations: 0.636 MB / 0.6402 GB, free: 5.199 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.7463, allocations: 0 / 0.6402 GB, free: 5.199 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.7464, allocations: 24 kB / 0.6403 GB, free: 5.176 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.7465, allocations: 12 kB / 0.6403 GB, free: 5.164 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.748, allocations: 0.4918 MB / 0.6407 GB, free: 4.672 MB / 442.7 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.005229/0.7533, allocations: 2.656 MB / 0.6433 GB, free: 1.828 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.7545, allocations: 317.8 kB / 0.6436 GB, free: 1.512 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/0.7551, allocations: 333.1 kB / 0.644 GB, free: 1.133 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.7551, allocations: 42.5 kB / 0.644 GB, free: 1.082 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.396e-06/0.7552, allocations: 4 kB / 0.644 GB, free: 1.078 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002701/0.7579, allocations: 0.6905 MB / 0.6447 GB, free: 368 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.758, allocations: 166.2 kB / 0.6448 GB, free: 164 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.7591, allocations: 0.5145 MB / 0.6453 GB, free: 15.63 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.7592, allocations: 37.7 kB / 0.6454 GB, free: 15.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.7595, allocations: 334 kB / 0.6457 GB, free: 15.26 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.7597, allocations: 118.2 kB / 0.6458 GB, free: 15.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.7598, allocations: 8 kB / 0.6458 GB, free: 15.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7599, allocations: 330.8 kB / 0.6461 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.7605, allocations: 149 kB / 0.6463 GB, free: 14.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006805/0.7612, allocations: 327 kB / 0.6466 GB, free: 14.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.7618, allocations: 192.9 kB / 0.6468 GB, free: 14.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.7618, allocations: 0 / 0.6468 GB, free: 14.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00173/0.7636, allocations: 0.5329 MB / 0.6473 GB, free: 13.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.7636, allocations: 8 kB / 0.6473 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.7637, allocations: 4 kB / 0.6473 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/0.7665, allocations: 288.9 kB / 0.6476 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008102/0.7674, allocations: 115.9 kB / 0.6477 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000725/0.7681, allocations: 0.5913 MB / 0.6483 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/0.769, allocations: 72.92 kB / 0.6483 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.7692, allocations: 51.98 kB / 0.6484 GB, free: 12.38 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004428/0.7696, allocations: 189.7 kB / 0.6486 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.7698, allocations: 59.34 kB / 0.6486 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.7727, allocations: 0.7544 MB / 0.6494 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.7728, allocations: 4 kB / 0.6494 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.7728, allocations: 7.891 kB / 0.6494 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.7728, allocations: 0 / 0.6494 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.7754, allocations: 0.9995 MB / 0.6503 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.7755, allocations: 8.078 kB / 0.6504 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.7759, allocations: 59.97 kB / 0.6504 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006297/0.7822, allocations: 0.5353 MB / 0.6509 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.403e-05/0.7823, allocations: 11.98 kB / 0.6509 GB, free: 9.637 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007298/0.7831, allocations: 0.5914 MB / 0.6515 GB, free: 9.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7831, allocations: 4.062 kB / 0.6515 GB, free: 9.016 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.7847, allocations: 0.5614 MB / 0.6521 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.7852, allocations: 160.2 kB / 0.6522 GB, free: 8.203 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.7854, allocations: 12 kB / 0.6522 GB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007607/0.7862, allocations: 23.98 kB / 0.6523 GB, free: 8.168 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.7864, allocations: 31.86 kB / 0.6523 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/0.7865, allocations: 23.98 kB / 0.6523 GB, free: 8.113 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009297/0.7874, allocations: 410.8 kB / 0.6527 GB, free: 7.715 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7874, allocations: 0 / 0.6527 GB, free: 7.715 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001771/0.7892, allocations: 339.7 kB / 0.653 GB, free: 7.383 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001865/0.7911, allocations: 458.6 kB / 0.6535 GB, free: 6.926 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.7928, allocations: 381.8 kB / 0.6538 GB, free: 6.555 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.7929, allocations: 3.859 kB / 0.6538 GB, free: 6.551 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006026/0.7935, allocations: 151.8 kB / 0.654 GB, free: 6.402 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/0.7969, allocations: 333.8 kB / 0.6543 GB, free: 6.082 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.7998, allocations: 1.144 MB / 0.6554 GB, free: 4.883 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.8006, allocations: 0.8792 MB / 0.6563 GB, free: 3.977 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007309/0.8014, allocations: 111.4 kB / 0.6564 GB, free: 3.867 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8014, allocations: 0 / 0.6564 GB, free: 3.867 MB / 458.7 MB Notification: Performance of Templates: time 0.03727/0.8387, allocations: 15.53 MB / 0.6715 GB, free: 4.344 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches