Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 119.5 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 71.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3464, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.194/0.5404, allocations: 184.1 MB / 0.7103 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006911/0.5474, allocations: 4.612 MB / 0.7148 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/0.5481, allocations: 15.88 kB / 0.7148 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.5492, allocations: 345.7 kB / 0.7151 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005332/0.5546, allocations: 1.799 MB / 0.7169 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.5572, allocations: 0.9477 MB / 0.7178 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3051/0.8622, allocations: 1.706 MB / 0.7195 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008683/0.8631, allocations: 439.5 kB / 0.7199 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.8652, allocations: 0.8664 MB / 0.7207 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009423/0.8662, allocations: 0.4926 MB / 0.7212 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.8663, allocations: 55.09 kB / 0.7213 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.8698, allocations: 1.303 MB / 0.7225 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.87, allocations: 167.5 kB / 0.7227 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.8704, allocations: 378.3 kB / 0.7231 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.8729, allocations: 1.645 MB / 0.7247 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.873, allocations: 1.031 kB / 0.7247 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.873, allocations: 0.9688 kB / 0.7247 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.873, allocations: 0 / 0.7247 GB, free: 3.871 MB / 0.5606 GB 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.001995/0.875, allocations: 1.131 MB / 0.7258 GB, free: 19.21 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.875, allocations: 9.781 kB / 0.7258 GB, free: 19.21 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.8751, allocations: 90.45 kB / 0.7259 GB, free: 19.18 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.8764, allocations: 170 kB / 0.726 GB, free: 19.14 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007639/0.8772, allocations: 0.5084 MB / 0.7265 GB, free: 18.87 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.8773, allocations: 34.81 kB / 0.7266 GB, free: 18.87 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.8774, allocations: 41 kB / 0.7266 GB, free: 18.87 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.8784, allocations: 0.6495 MB / 0.7272 GB, free: 18.73 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.8784, allocations: 3.688 kB / 0.7272 GB, free: 18.73 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.8785, allocations: 23.5 kB / 0.7273 GB, free: 18.73 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.8785, allocations: 11.56 kB / 0.7273 GB, free: 18.73 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/0.8794, allocations: 0.4937 MB / 0.7278 GB, free: 18.73 MB / 0.5763 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.002628/0.882, allocations: 2.648 MB / 0.7303 GB, free: 17.05 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.8826, allocations: 323.9 kB / 0.7307 GB, free: 17.02 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.8829, allocations: 159.1 kB / 0.7308 GB, free: 17.01 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003629/0.8832, allocations: 434.9 kB / 0.7312 GB, free: 16.54 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.8833, allocations: 42.22 kB / 0.7313 GB, free: 16.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=35): time 1.763e-06/0.8833, allocations: 2.938 kB / 0.7313 GB, free: 16.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=35): time 0.001447/0.8848, allocations: 0.7088 MB / 0.732 GB, free: 16.33 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.8848, allocations: 167.3 kB / 0.7321 GB, free: 16.14 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.8853, allocations: 0.5181 MB / 0.7326 GB, free: 16.02 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.8854, allocations: 32.95 kB / 0.7327 GB, free: 15.99 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.8856, allocations: 312.3 kB / 0.733 GB, free: 15.84 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 7.36e-05/0.8857, allocations: 127.1 kB / 0.7331 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.8858, allocations: 117.1 kB / 0.7332 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.886, allocations: 367.1 kB / 0.7335 GB, free: 15.42 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.8862, allocations: 148.2 kB / 0.7337 GB, free: 15.42 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.8865, allocations: 317.6 kB / 0.734 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.8871, allocations: 479.5 kB / 0.7344 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8871, allocations: 4.281 kB / 0.7344 GB, free: 15.05 MB / 0.5763 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008691/0.888, allocations: 0.5779 MB / 0.735 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.888, allocations: 5.5 kB / 0.735 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.888, allocations: 5.812 kB / 0.735 GB, free: 14.97 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.8895, allocations: 233.7 kB / 0.7352 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.8899, allocations: 120.5 kB / 0.7354 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004094/0.8903, allocations: 0.592 MB / 0.7359 GB, free: 14.44 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.8906, allocations: 56.28 kB / 0.736 GB, free: 14.41 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/0.8907, allocations: 50.89 kB / 0.736 GB, free: 14.41 MB / 0.5763 GB 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.0002267/0.891, allocations: 199.6 kB / 0.7362 GB, free: 14.29 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.8911, allocations: 65.55 kB / 0.7363 GB, free: 14.26 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.8927, allocations: 1.103 MB / 0.7374 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.8927, allocations: 5.406 kB / 0.7374 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.8927, allocations: 3 kB / 0.7374 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.8927, allocations: 3.281 kB / 0.7374 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.8939, allocations: 1.021 MB / 0.7384 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.8939, allocations: 2.094 kB / 0.7384 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.8941, allocations: 56.78 kB / 0.7384 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002928/0.897, allocations: 439.9 kB / 0.7388 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.8971, allocations: 8.984 kB / 0.7389 GB, free: 13.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003885/0.8975, allocations: 0.6025 MB / 0.7394 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8975, allocations: 3.344 kB / 0.7394 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.8981, allocations: 0.501 MB / 0.7399 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.8982, allocations: 141.5 kB / 0.7401 GB, free: 12.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.883e-05/0.8983, allocations: 12.58 kB / 0.7401 GB, free: 12.82 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.8987, allocations: 23.27 kB / 0.7401 GB, free: 12.81 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.8987, allocations: 33.23 kB / 0.7401 GB, free: 12.81 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.8988, allocations: 17.73 kB / 0.7402 GB, free: 12.81 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004406/0.8992, allocations: 448.1 kB / 0.7406 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8992, allocations: 0.9062 kB / 0.7406 GB, free: 12.71 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0008457/0.9001, allocations: 295.9 kB / 0.7409 GB, free: 12.67 MB / 0.5763 GB 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.001562/0.9016, allocations: 1.335 MB / 0.7422 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0006893/0.9024, allocations: 380.8 kB / 0.7425 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.9024, allocations: 1.094 kB / 0.7425 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.9026, allocations: 154.9 kB / 0.7427 GB, free: 11.86 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.9042, allocations: 398.3 kB / 0.7431 GB, free: 11.8 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005612/0.9098, allocations: 5.053 MB / 0.748 GB, free: 9.766 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.9103, allocations: 0.8678 MB / 0.7488 GB, free: 9.066 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0009693/0.9113, allocations: 0.5735 MB / 0.7494 GB, free: 9.008 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.9116, allocations: 246.6 kB / 0.7496 GB, free: 8.996 MB / 0.5763 GB Notification: Performance of SimCode: time 5.81e-07/0.9116, allocations: 1.062 kB / 0.7496 GB, free: 8.996 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04685/0.9585, allocations: 23.08 MB / 0.7722 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.33, allocations: 14.16 kB / 0.7722 GB, free: 3.746 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches