Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2359/0.2359, allocations: 44.9 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 67.88 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3824, allocations: 65.48 MB / 0.557 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5952/0.9776, allocations: 184.9 MB / 0.7376 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007424/0.985, allocations: 4.648 MB / 0.7422 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000923/0.9859, allocations: 20.56 kB / 0.7422 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.987, allocations: 348.9 kB / 0.7425 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00519/0.9922, allocations: 1.833 MB / 0.7443 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.9948, allocations: 0.9733 MB / 0.7452 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002986/0.9978, allocations: 1.734 MB / 0.7469 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007495/0.9985, allocations: 379.4 kB / 0.7473 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/1.001, allocations: 0.8718 MB / 0.7482 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009239/1.002, allocations: 0.5248 MB / 0.7487 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.271e-05/1.002, allocations: 56.62 kB / 0.7487 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/1.005, allocations: 1.343 MB / 0.75 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/1.005, allocations: 173.7 kB / 0.7502 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005481/1.006, allocations: 379.2 kB / 0.7506 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003054/1.009, allocations: 1.639 MB / 0.7522 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.009, allocations: 4.344 kB / 0.7522 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/1.009, allocations: 1.203 kB / 0.7522 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.104e-05/1.009, allocations: 0 / 0.7522 GB, free: 1.555 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.002025/1.011, allocations: 1.066 MB / 0.7532 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/1.011, allocations: 8.344 kB / 0.7532 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/1.011, allocations: 90.23 kB / 0.7533 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/1.012, allocations: 163.1 kB / 0.7535 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008858/1.013, allocations: 452.8 kB / 0.7539 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/1.013, allocations: 34.56 kB / 0.7539 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/1.013, allocations: 48.66 kB / 0.754 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/1.014, allocations: 0.6425 MB / 0.7546 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/1.014, allocations: 4.297 kB / 0.7546 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.663e-05/1.014, allocations: 19.62 kB / 0.7546 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/1.014, allocations: 11.69 kB / 0.7546 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/1.015, allocations: 0.495 MB / 0.7551 GB, free: 16.57 MB / 0.5762 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.003097/1.018, allocations: 2.61 MB / 0.7577 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006135/1.019, allocations: 303.4 kB / 0.758 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/1.019, allocations: 143.8 kB / 0.7581 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/1.019, allocations: 55.44 kB / 0.7581 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/1.019, allocations: 49.78 kB / 0.7582 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/1.019, allocations: 0.9062 kB / 0.7582 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001482/1.021, allocations: 0.6309 MB / 0.7588 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.021, allocations: 158.5 kB / 0.759 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/1.021, allocations: 0.5211 MB / 0.7595 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/1.021, allocations: 37.14 kB / 0.7595 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/1.022, allocations: 308.4 kB / 0.7598 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.351e-05/1.022, allocations: 134.2 kB / 0.7599 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/1.022, allocations: 117.2 kB / 0.76 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.022, allocations: 366.2 kB / 0.7604 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/1.022, allocations: 145 kB / 0.7605 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/1.023, allocations: 323.5 kB / 0.7608 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005999/1.023, allocations: 474.2 kB / 0.7613 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/1.023, allocations: 2.812 kB / 0.7613 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009259/1.024, allocations: 0.5779 MB / 0.7618 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.024, allocations: 7.188 kB / 0.7619 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.024, allocations: 6.234 kB / 0.7619 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/1.026, allocations: 239.2 kB / 0.7621 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/1.026, allocations: 124.8 kB / 0.7622 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005412/1.026, allocations: 0.5842 MB / 0.7628 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/1.027, allocations: 58.83 kB / 0.7628 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/1.027, allocations: 59.19 kB / 0.7629 GB, free: 12.83 MB / 0.5762 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.0003631/1.027, allocations: 193.5 kB / 0.7631 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/1.027, allocations: 59.86 kB / 0.7631 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/1.029, allocations: 1.104 MB / 0.7642 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.029, allocations: 4.781 kB / 0.7642 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.029, allocations: 0 / 0.7642 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/1.029, allocations: 9.172 kB / 0.7642 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/1.031, allocations: 0.9779 MB / 0.7652 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.031, allocations: 2.938 kB / 0.7652 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/1.031, allocations: 56.2 kB / 0.7652 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002949/1.034, allocations: 438.8 kB / 0.7657 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/1.034, allocations: 11.97 kB / 0.7657 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005123/1.034, allocations: 0.5959 MB / 0.7662 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.034, allocations: 4.125 kB / 0.7663 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/1.035, allocations: 0.5059 MB / 0.7667 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/1.035, allocations: 69.48 kB / 0.7668 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.982e-05/1.035, allocations: 14.64 kB / 0.7668 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/1.036, allocations: 17.08 kB / 0.7668 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/1.036, allocations: 27.56 kB / 0.7669 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/1.036, allocations: 22.52 kB / 0.7669 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005046/1.036, allocations: 454.4 kB / 0.7673 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.036, allocations: 0 / 0.7673 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009329/1.037, allocations: 298.2 kB / 0.7676 GB, free: 11.21 MB / 0.5762 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.001698/1.039, allocations: 1.305 MB / 0.7689 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007449/1.04, allocations: 359.7 kB / 0.7692 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.04, allocations: 4.312 kB / 0.7692 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/1.04, allocations: 149.8 kB / 0.7694 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/1.042, allocations: 419.4 kB / 0.7698 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/1.048, allocations: 5.046 MB / 0.7747 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/1.049, allocations: 0.8691 MB / 0.7755 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001128/1.05, allocations: 0.569 MB / 0.7761 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/1.05, allocations: 243.6 kB / 0.7763 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/1.05, allocations: 0 / 0.7763 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08777/1.138, allocations: 23.5 MB / 0.7993 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.9, allocations: 7.797 kB / 0.7993 GB, free: 14.94 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.242896858835593]