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.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.0008021/0.0008021, allocations: 80.53 kB / 19.92 MB, free: 4.637 MB / 18.57 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.001248/0.001248, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.824/0.824, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1246/0.1246, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.537e-05, allocations: 6.078 kB / 406.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3082/0.3083, allocations: 162.8 MB / 0.5563 GB, free: 2.145 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00627/0.3145, allocations: 6.466 MB / 0.5626 GB, free: 13.84 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006401/0.3152, allocations: 22.41 kB / 0.5626 GB, free: 13.83 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007848/0.316, allocations: 335.3 kB / 0.5629 GB, free: 13.56 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004866/0.3208, allocations: 2.479 MB / 0.5653 GB, free: 11.82 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.3227, allocations: 0.9818 MB / 0.5663 GB, free: 11.1 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.3242, allocations: 1.719 MB / 0.568 GB, free: 10.09 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.3247, allocations: 378.7 kB / 0.5683 GB, free: 9.832 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.3259, allocations: 1.082 MB / 0.5694 GB, free: 9.172 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.3264, allocations: 460.1 kB / 0.5698 GB, free: 8.945 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.3264, allocations: 57.22 kB / 0.5699 GB, free: 8.941 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.3282, allocations: 1.191 MB / 0.5711 GB, free: 8.375 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.3284, allocations: 175.6 kB / 0.5712 GB, free: 8.242 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.3286, allocations: 275.5 kB / 0.5715 GB, free: 8.121 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.3305, allocations: 1.827 MB / 0.5733 GB, free: 6.996 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3305, allocations: 0 / 0.5733 GB, free: 6.996 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3305, allocations: 0 / 0.5733 GB, free: 6.996 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3305, allocations: 3.938 kB / 0.5733 GB, free: 6.992 MB / 458.7 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.001346/0.3319, allocations: 1.09 MB / 0.5743 GB, free: 6.176 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3319, allocations: 7.906 kB / 0.5744 GB, free: 6.176 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.073e-05/0.332, allocations: 86.78 kB / 0.5744 GB, free: 6.098 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005943/0.3326, allocations: 156.2 kB / 0.5746 GB, free: 6.027 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.3332, allocations: 458.9 kB / 0.575 GB, free: 5.668 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3332, allocations: 32.25 kB / 0.5751 GB, free: 5.656 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.3332, allocations: 42.81 kB / 0.5751 GB, free: 5.641 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008166/0.334, allocations: 1.05 MB / 0.5761 GB, free: 4.699 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.3341, allocations: 2.625 kB / 0.5761 GB, free: 4.699 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.3341, allocations: 20.91 kB / 0.5761 GB, free: 4.684 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3341, allocations: 13.22 kB / 0.5762 GB, free: 4.684 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/0.3347, allocations: 0.4889 MB / 0.5766 GB, free: 4.453 MB / 458.7 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.001805/0.3365, allocations: 2.107 MB / 0.5787 GB, free: 2.711 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.3369, allocations: 303.7 kB / 0.579 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.337, allocations: 145.1 kB / 0.5791 GB, free: 2.484 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.3376, allocations: 414.8 kB / 0.5795 GB, free: 2.121 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3376, allocations: 38.56 kB / 0.5795 GB, free: 2.074 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.3376, allocations: 0 / 0.5795 GB, free: 2.074 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.001038/0.3387, allocations: 0.6264 MB / 0.5802 GB, free: 1.438 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.3387, allocations: 166.2 kB / 0.5803 GB, free: 1.238 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.3391, allocations: 0.5223 MB / 0.5808 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.3392, allocations: 37.7 kB / 0.5809 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.3393, allocations: 304.1 kB / 0.5812 GB, free: 368 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.3394, allocations: 130.9 kB / 0.5813 GB, free: 236 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3395, allocations: 118.1 kB / 0.5814 GB, free: 108 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3396, allocations: 362.8 kB / 0.5817 GB, free: 15.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.3398, allocations: 140.9 kB / 0.5819 GB, free: 15.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.3401, allocations: 425.1 kB / 0.5823 GB, free: 15.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.3406, allocations: 482.5 kB / 0.5827 GB, free: 14.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3406, allocations: 1.5 kB / 0.5827 GB, free: 14.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006215/0.3412, allocations: 0.5669 MB / 0.5833 GB, free: 13.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3412, allocations: 8 kB / 0.5833 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3412, allocations: 4 kB / 0.5833 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007616/0.342, allocations: 249.1 kB / 0.5835 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.3422, allocations: 123.8 kB / 0.5837 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003165/0.3425, allocations: 0.5836 MB / 0.5842 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.3427, allocations: 55.56 kB / 0.5843 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.3427, allocations: 55.98 kB / 0.5843 GB, free: 12.88 MB / 474.7 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.000191/0.3429, allocations: 193.6 kB / 0.5845 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.343, allocations: 63.62 kB / 0.5846 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009241/0.3439, allocations: 0.7356 MB / 0.5853 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3439, allocations: 4 kB / 0.5853 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3439, allocations: 0 / 0.5853 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3439, allocations: 0 / 0.5853 GB, free: 11.87 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008524/0.3448, allocations: 0.9294 MB / 0.5862 GB, free: 10.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.3448, allocations: 0 / 0.5862 GB, free: 10.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.3449, allocations: 55.34 kB / 0.5863 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.3462, allocations: 444.3 kB / 0.5867 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.3463, allocations: 11.98 kB / 0.5867 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002733/0.3465, allocations: 0.6047 MB / 0.5873 GB, free: 9.738 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3465, allocations: 0 / 0.5873 GB, free: 9.738 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.347, allocations: 0.4983 MB / 0.5878 GB, free: 9.203 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.716e-05/0.3471, allocations: 67.48 kB / 0.5878 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.3471, allocations: 11.95 kB / 0.5879 GB, free: 9.125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3473, allocations: 24.05 kB / 0.5879 GB, free: 9.102 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.3473, allocations: 23.91 kB / 0.5879 GB, free: 9.078 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.3473, allocations: 19.98 kB / 0.5879 GB, free: 9.059 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003443/0.3477, allocations: 438.8 kB / 0.5883 GB, free: 8.633 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3477, allocations: 4 kB / 0.5883 GB, free: 8.629 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007168/0.3484, allocations: 339.2 kB / 0.5887 GB, free: 8.297 MB / 474.7 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.001401/0.3498, allocations: 1.418 MB / 0.59 GB, free: 6.844 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005609/0.3504, allocations: 355.6 kB / 0.5904 GB, free: 6.496 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3504, allocations: 7.938 kB / 0.5904 GB, free: 6.488 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.3506, allocations: 149.5 kB / 0.5905 GB, free: 6.344 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.3516, allocations: 403.5 kB / 0.5909 GB, free: 5.957 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.3562, allocations: 5.055 MB / 0.5959 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.3563, allocations: 268 kB / 0.5961 GB, free: 372 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005316/0.3568, allocations: 222.8 kB / 0.5963 GB, free: 148 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.3571, allocations: 228.4 kB / 0.5965 GB, free: 15.92 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3571, allocations: 0 / 0.5965 GB, free: 15.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.3953, allocations: 26.17 MB / 0.6221 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.324, allocations: 3.938 kB / 0.6221 GB, free: 5.727 MB / 0.4948 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 10.36287713702768]