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.001075/0.001075, allocations: 108.2 kB / 17.03 MB, free: 5.66 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.001209/0.00121, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.602/1.602, allocations: 205.1 MB / 223.8 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.2429/0.2429, allocations: 43.53 MB / 314.7 MB, free: 472 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.002232/0.002232, allocations: 68.44 kB / 384.2 MB, free: 56.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.139, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5879/0.7269, allocations: 187.7 MB / 0.6149 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.7378, allocations: 7.013 MB / 0.6218 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.7389, allocations: 13.47 kB / 0.6218 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.7402, allocations: 344.5 kB / 0.6221 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008035/0.7482, allocations: 2.383 MB / 0.6244 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.751, allocations: 0.9557 MB / 0.6254 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002862/0.7539, allocations: 1.691 MB / 0.627 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008265/0.7547, allocations: 446.2 kB / 0.6274 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.7566, allocations: 0.8372 MB / 0.6283 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006698/0.7573, allocations: 0.5019 MB / 0.6288 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.733e-05/0.7574, allocations: 52 kB / 0.6288 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.7608, allocations: 1.494 MB / 0.6303 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.761, allocations: 175.4 kB / 0.6304 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004297/0.7614, allocations: 370.3 kB / 0.6308 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.7643, allocations: 1.742 MB / 0.6325 GB, free: 5.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.7643, allocations: 4 kB / 0.6325 GB, free: 5.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.7644, allocations: 4 kB / 0.6325 GB, free: 5.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.7644, allocations: 0 / 0.6325 GB, free: 5.312 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.002155/0.7665, allocations: 1.138 MB / 0.6336 GB, free: 4.125 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.7666, allocations: 15.89 kB / 0.6336 GB, free: 4.109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.7678, allocations: 159 kB / 0.6338 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.7689, allocations: 0.512 MB / 0.6343 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.7689, allocations: 33 kB / 0.6343 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.769, allocations: 44 kB / 0.6343 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.7701, allocations: 0.6438 MB / 0.635 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.7702, allocations: 0 / 0.635 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/0.7702, allocations: 23.94 kB / 0.635 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.7703, allocations: 12 kB / 0.635 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008789/0.7712, allocations: 495.6 kB / 0.6355 GB, free: 2.113 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.003674/0.7748, allocations: 2.664 MB / 0.6381 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008/0.7757, allocations: 324.8 kB / 0.6384 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.776, allocations: 156.8 kB / 0.6385 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/0.7778, allocations: 1.308 MB / 0.6398 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.217e-05/0.7779, allocations: 38.5 kB / 0.6398 GB, free: 13.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 3.266e-06/0.7779, allocations: 4 kB / 0.6399 GB, free: 13.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.00196/0.7799, allocations: 0.6976 MB / 0.6405 GB, free: 12.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.78, allocations: 158.2 kB / 0.6407 GB, free: 12.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007263/0.7808, allocations: 0.5223 MB / 0.6412 GB, free: 11.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.7808, allocations: 33.7 kB / 0.6412 GB, free: 11.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.7812, allocations: 299.7 kB / 0.6415 GB, free: 11.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.7813, allocations: 122.2 kB / 0.6416 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.7815, allocations: 122.2 kB / 0.6417 GB, free: 11.17 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.7817, allocations: 358.8 kB / 0.6421 GB, free: 10.81 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.782, allocations: 153 kB / 0.6422 GB, free: 10.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.7825, allocations: 319 kB / 0.6425 GB, free: 10.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.7832, allocations: 478.5 kB / 0.643 GB, free: 9.738 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.7832, allocations: 3.938 kB / 0.643 GB, free: 9.734 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009705/0.7841, allocations: 0.5638 MB / 0.6435 GB, free: 9.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.7842, allocations: 11.94 kB / 0.6436 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7842, allocations: 5.812 kB / 0.6436 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.7857, allocations: 236.8 kB / 0.6438 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.7861, allocations: 119.8 kB / 0.6439 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005147/0.7866, allocations: 0.5836 MB / 0.6445 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.787, allocations: 59.36 kB / 0.6445 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/0.7871, allocations: 52 kB / 0.6446 GB, free: 8.074 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.0002715/0.7873, allocations: 202.7 kB / 0.6448 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.7875, allocations: 59.28 kB / 0.6448 GB, free: 7.809 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.7889, allocations: 0.7325 MB / 0.6455 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.7889, allocations: 4 kB / 0.6456 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.789, allocations: 0 / 0.6456 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.789, allocations: 4 kB / 0.6456 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.7905, allocations: 1.016 MB / 0.6465 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7905, allocations: 4 kB / 0.6466 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.7907, allocations: 47.91 kB / 0.6466 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002998/0.7937, allocations: 448.3 kB / 0.647 GB, free: 5.457 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.7937, allocations: 8 kB / 0.647 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004286/0.7942, allocations: 0.5954 MB / 0.6476 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7942, allocations: 3.938 kB / 0.6476 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007033/0.7949, allocations: 0.4969 MB / 0.6481 GB, free: 4.289 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.7951, allocations: 144.2 kB / 0.6482 GB, free: 4.129 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.204e-05/0.7952, allocations: 11.94 kB / 0.6483 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.7955, allocations: 19.98 kB / 0.6483 GB, free: 4.098 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.7956, allocations: 27.91 kB / 0.6483 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.7956, allocations: 19.98 kB / 0.6483 GB, free: 4.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005253/0.7961, allocations: 442.8 kB / 0.6487 GB, free: 3.621 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7961, allocations: 0 / 0.6487 GB, free: 3.621 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001117/0.7973, allocations: 335.7 kB / 0.6491 GB, free: 3.293 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.001133/0.7984, allocations: 467.8 kB / 0.6495 GB, free: 2.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008485/0.7993, allocations: 380.9 kB / 0.6499 GB, free: 2.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7993, allocations: 0 / 0.6499 GB, free: 2.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.7996, allocations: 160.2 kB / 0.65 GB, free: 2.305 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.8013, allocations: 407.8 kB / 0.6504 GB, free: 1.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.8028, allocations: 0.9381 MB / 0.6513 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.8033, allocations: 0.8598 MB / 0.6522 GB, free: 44 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006519/0.8039, allocations: 221.2 kB / 0.6524 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.8041, allocations: 87.28 kB / 0.6525 GB, free: 15.74 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.8041, allocations: 4 kB / 0.6525 GB, free: 15.73 MB / 478.1 MB Notification: Performance of Templates: time 0.03114/0.8353, allocations: 17.96 MB / 0.67 GB, free: 13.8 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 cvode -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