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.001751/0.001751, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002003/0.002003, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2371/0.2371, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002287, allocations: 80.33 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1467, allocations: 62.46 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.443/0.5898, allocations: 186 MB / 0.6505 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005946/0.5958, allocations: 3.256 MB / 0.6537 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007031/0.5965, allocations: 11.94 kB / 0.6537 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.5978, allocations: 329.8 kB / 0.654 GB, free: 5.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005041/0.6029, allocations: 1.396 MB / 0.6554 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.6051, allocations: 0.7387 MB / 0.6561 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002629/0.6077, allocations: 1.551 MB / 0.6576 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008326/0.6086, allocations: 427 kB / 0.658 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.6097, allocations: 0.5839 MB / 0.6586 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006047/0.6103, allocations: 462 kB / 0.659 GB, free: 276 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.481e-05/0.6104, allocations: 52 kB / 0.6591 GB, free: 224 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.6131, allocations: 1.158 MB / 0.6602 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.6133, allocations: 159.4 kB / 0.6604 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.6137, allocations: 350.5 kB / 0.6607 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.616, allocations: 1.496 MB / 0.6621 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.616, allocations: 4 kB / 0.6622 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.336e-06/0.616, allocations: 3.984 kB / 0.6622 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.616, allocations: 0 / 0.6622 GB, free: 13.05 MB / 0.4981 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.001892/0.6179, allocations: 1.056 MB / 0.6632 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.618, allocations: 12.03 kB / 0.6632 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.619, allocations: 143.2 kB / 0.6633 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007334/0.6197, allocations: 476.5 kB / 0.6638 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.6198, allocations: 29 kB / 0.6638 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.6198, allocations: 47.94 kB / 0.6639 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.621, allocations: 0.5984 MB / 0.6644 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.621, allocations: 0 / 0.6644 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.6211, allocations: 24 kB / 0.6645 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.6211, allocations: 8 kB / 0.6645 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009407/0.6221, allocations: 479.5 kB / 0.6649 GB, free: 10.07 MB / 0.4981 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.003174/0.6252, allocations: 2.686 MB / 0.6676 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.626, allocations: 346 kB / 0.6679 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.6263, allocations: 173.3 kB / 0.6681 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004651/0.6268, allocations: 441.8 kB / 0.6685 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.6269, allocations: 42.78 kB / 0.6685 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.502e-06/0.6269, allocations: 0 / 0.6685 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00181/0.6287, allocations: 0.7343 MB / 0.6692 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.6288, allocations: 132.5 kB / 0.6694 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.6294, allocations: 498 kB / 0.6698 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.6294, allocations: 33.7 kB / 0.6699 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.6297, allocations: 283.8 kB / 0.6701 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.6298, allocations: 118.3 kB / 0.6702 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.6299, allocations: 102 kB / 0.6703 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6301, allocations: 366.8 kB / 0.6707 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.6304, allocations: 152.8 kB / 0.6708 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.6309, allocations: 275.7 kB / 0.6711 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007334/0.6316, allocations: 445.6 kB / 0.6715 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6316, allocations: 0 / 0.6715 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001027/0.6326, allocations: 0.5481 MB / 0.6721 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6327, allocations: 15.92 kB / 0.6721 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.6327, allocations: 4 kB / 0.6721 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.6342, allocations: 232.9 kB / 0.6723 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.6345, allocations: 110.3 kB / 0.6724 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004822/0.635, allocations: 0.5953 MB / 0.673 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.6354, allocations: 55.42 kB / 0.673 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/0.6354, allocations: 47.98 kB / 0.6731 GB, free: 1.152 MB / 0.4981 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.0002451/0.6357, allocations: 177.7 kB / 0.6733 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.6358, allocations: 51.44 kB / 0.6733 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.6379, allocations: 1.089 MB / 0.6744 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.6379, allocations: 4 kB / 0.6744 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.6379, allocations: 0.875 kB / 0.6744 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6379, allocations: 7.938 kB / 0.6744 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.6396, allocations: 1.026 MB / 0.6754 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.6396, allocations: 7.984 kB / 0.6754 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.6398, allocations: 56.06 kB / 0.6754 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003064/0.6429, allocations: 452.1 kB / 0.6759 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.6429, allocations: 8 kB / 0.6759 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005078/0.6434, allocations: 0.6031 MB / 0.6765 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.6435, allocations: 5.344 kB / 0.6765 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009125/0.6444, allocations: 0.5196 MB / 0.677 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.6446, allocations: 144.2 kB / 0.6771 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.813e-05/0.6447, allocations: 8 kB / 0.6771 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.645, allocations: 15.98 kB / 0.6771 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.6451, allocations: 27.91 kB / 0.6772 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.6451, allocations: 23.92 kB / 0.6772 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005536/0.6457, allocations: 422.8 kB / 0.6776 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6457, allocations: 0 / 0.6776 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008597/0.6465, allocations: 283.8 kB / 0.6779 GB, free: 12.07 MB / 0.5137 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.0008935/0.6474, allocations: 378.5 kB / 0.6782 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.6485, allocations: 393 kB / 0.6786 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.6485, allocations: 0 / 0.6786 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.649, allocations: 168.3 kB / 0.6788 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.6508, allocations: 364.9 kB / 0.6791 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.6523, allocations: 0.9173 MB / 0.68 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.6528, allocations: 0.8596 MB / 0.6809 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001219/0.6541, allocations: 0.5607 MB / 0.6814 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.6543, allocations: 83.41 kB / 0.6815 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.6543, allocations: 0 / 0.6815 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of Templates: time 0.03073/0.6851, allocations: 15.99 MB / 0.6971 GB, free: 8.441 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/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