Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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 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 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 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.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_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_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 111.6 kB / 17.04 MB, free: 5.812 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.001102/0.001101, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2121/0.2121, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001423, allocations: 72.56 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4674/0.5833, allocations: 187.7 MB / 0.6149 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.5946, allocations: 7.019 MB / 0.6218 GB, free: 14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008701/0.5955, allocations: 18.16 kB / 0.6218 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.5968, allocations: 336 kB / 0.6221 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007314/0.6042, allocations: 2.376 MB / 0.6244 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.6067, allocations: 0.9456 MB / 0.6254 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002327/0.609, allocations: 1.7 MB / 0.627 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007999/0.6098, allocations: 440.6 kB / 0.6274 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.6119, allocations: 0.8455 MB / 0.6283 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.6129, allocations: 498 kB / 0.6287 GB, free: 9.004 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001867/0.6131, allocations: 56 kB / 0.6288 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.6164, allocations: 1.505 MB / 0.6303 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.6167, allocations: 167.5 kB / 0.6304 GB, free: 7.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005878/0.6173, allocations: 370.3 kB / 0.6308 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.6203, allocations: 1.746 MB / 0.6325 GB, free: 5.164 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6203, allocations: 0 / 0.6325 GB, free: 5.164 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6203, allocations: 0 / 0.6325 GB, free: 5.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.663e-05/0.6204, allocations: 3.938 kB / 0.6325 GB, free: 5.16 MB / 446.1 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.002492/0.6229, allocations: 1.141 MB / 0.6336 GB, free: 3.969 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6229, allocations: 11.89 kB / 0.6336 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.6242, allocations: 155 kB / 0.6338 GB, free: 3.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.6254, allocations: 0.5159 MB / 0.6343 GB, free: 3.246 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.6254, allocations: 37 kB / 0.6343 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.6255, allocations: 40 kB / 0.6343 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.6267, allocations: 0.64 MB / 0.635 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.6267, allocations: 0 / 0.635 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.6268, allocations: 31.94 kB / 0.635 GB, free: 2.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.6268, allocations: 12 kB / 0.635 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009651/0.6278, allocations: 499.5 kB / 0.6355 GB, free: 1.953 MB / 446.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.00342/0.6312, allocations: 2.66 MB / 0.6381 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.6319, allocations: 324.8 kB / 0.6384 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.6322, allocations: 160.7 kB / 0.6385 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/0.6336, allocations: 1.304 MB / 0.6398 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.6336, allocations: 39.5 kB / 0.6399 GB, free: 13.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.803e-06/0.6336, allocations: 4 kB / 0.6399 GB, free: 13.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.00165/0.6353, allocations: 0.6937 MB / 0.6405 GB, free: 12.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.6354, allocations: 162.2 kB / 0.6407 GB, free: 12.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006441/0.636, allocations: 0.5222 MB / 0.6412 GB, free: 11.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.6361, allocations: 37.64 kB / 0.6412 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.6363, allocations: 303.6 kB / 0.6415 GB, free: 11.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.6364, allocations: 122.2 kB / 0.6416 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.6366, allocations: 110.2 kB / 0.6418 GB, free: 11.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.6368, allocations: 370.8 kB / 0.6421 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.6371, allocations: 141.1 kB / 0.6422 GB, free: 10.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.6375, allocations: 319 kB / 0.6425 GB, free: 10.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007072/0.6382, allocations: 474.5 kB / 0.643 GB, free: 9.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6382, allocations: 0 / 0.643 GB, free: 9.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001048/0.6393, allocations: 0.5674 MB / 0.6435 GB, free: 9.012 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.6393, allocations: 16.55 kB / 0.6436 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.6393, allocations: 8 kB / 0.6436 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.6409, allocations: 232.5 kB / 0.6438 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.6414, allocations: 122.9 kB / 0.6439 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004624/0.6418, allocations: 0.5836 MB / 0.6445 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.6422, allocations: 55.38 kB / 0.6445 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.945e-05/0.6423, allocations: 51.98 kB / 0.6446 GB, free: 7.926 MB / 462.1 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 (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.0002787/0.6426, allocations: 201.6 kB / 0.6448 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.6428, allocations: 59.34 kB / 0.6448 GB, free: 7.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.6443, allocations: 0.7405 MB / 0.6456 GB, free: 6.895 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.6444, allocations: 4 kB / 0.6456 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6444, allocations: 4 kB / 0.6456 GB, free: 6.887 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6444, allocations: 3.984 kB / 0.6456 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.6459, allocations: 1.013 MB / 0.6466 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.6459, allocations: 192 / 0.6466 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.6461, allocations: 59.91 kB / 0.6466 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003173/0.6493, allocations: 440.2 kB / 0.647 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.6494, allocations: 8 kB / 0.647 GB, free: 5.293 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004337/0.6498, allocations: 0.5992 MB / 0.6476 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6498, allocations: 0 / 0.6476 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007609/0.6506, allocations: 0.5008 MB / 0.6481 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.6508, allocations: 148.2 kB / 0.6483 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.6509, allocations: 8 kB / 0.6483 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.6512, allocations: 12 kB / 0.6483 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.6513, allocations: 27.91 kB / 0.6483 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/0.6514, allocations: 19.98 kB / 0.6483 GB, free: 3.898 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005528/0.6519, allocations: 438.7 kB / 0.6487 GB, free: 3.473 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6519, allocations: 4 kB / 0.6487 GB, free: 3.469 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009921/0.6529, allocations: 339.8 kB / 0.6491 GB, free: 3.137 MB / 462.1 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 (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.001095/0.654, allocations: 467.1 kB / 0.6495 GB, free: 2.676 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008215/0.6549, allocations: 381.4 kB / 0.6499 GB, free: 2.305 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6549, allocations: 0 / 0.6499 GB, free: 2.305 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.6552, allocations: 160.3 kB / 0.65 GB, free: 2.148 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.657, allocations: 407.2 kB / 0.6504 GB, free: 1.754 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.6585, allocations: 0.9303 MB / 0.6513 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.6591, allocations: 0.8715 MB / 0.6522 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007432/0.6598, allocations: 225 kB / 0.6524 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.6601, allocations: 75.42 kB / 0.6525 GB, free: 15.59 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.6601, allocations: 4 kB / 0.6525 GB, free: 15.58 MB / 478.1 MB Notification: Performance of Templates: time 0.03039/0.6905, allocations: 17.97 MB / 0.67 GB, free: 13.64 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches