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.001308/0.001308, allocations: 104.3 kB / 19.7 MB, free: 2.059 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.00195/0.00195, allocations: 212.5 kB / 22.98 MB, free: 4.879 MB / 14.72 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 1.64/1.64, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.2424/0.2424, allocations: 44.27 MB / 330.3 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 71.89 kB / 467.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1486, allocations: 61.04 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5478/0.6964, allocations: 162.9 MB / 0.6752 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.7079, allocations: 6.487 MB / 0.6815 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008729/0.7088, allocations: 23.75 kB / 0.6816 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.71, allocations: 325.8 kB / 0.6819 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007692/0.7176, allocations: 2.426 MB / 0.6842 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.7206, allocations: 0.9535 MB / 0.6852 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002776/0.7234, allocations: 1.718 MB / 0.6868 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006425/0.724, allocations: 378.3 kB / 0.6872 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.7258, allocations: 0.8721 MB / 0.6881 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007809/0.7266, allocations: 0.498 MB / 0.6885 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.7267, allocations: 56 kB / 0.6886 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.7299, allocations: 1.182 MB / 0.6898 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.7301, allocations: 175.3 kB / 0.6899 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.7305, allocations: 314.8 kB / 0.6902 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.7333, allocations: 1.682 MB / 0.6919 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7333, allocations: 0 / 0.6919 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7333, allocations: 0 / 0.6919 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.7333, allocations: 4 kB / 0.6919 GB, free: 14.17 MB / 0.5294 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.002205/0.7355, allocations: 1.088 MB / 0.6929 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.7356, allocations: 11.97 kB / 0.6929 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.7357, allocations: 94.47 kB / 0.693 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.7368, allocations: 155.5 kB / 0.6932 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.7379, allocations: 453.5 kB / 0.6936 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.7379, allocations: 37 kB / 0.6936 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.94e-05/0.738, allocations: 44 kB / 0.6937 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.7395, allocations: 1.042 MB / 0.6947 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.7396, allocations: 0 / 0.6947 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.7396, allocations: 23.94 kB / 0.6947 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/0.7396, allocations: 12 kB / 0.6947 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009749/0.7406, allocations: 0.4917 MB / 0.6952 GB, free: 10.52 MB / 0.5294 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.003311/0.7439, allocations: 2.11 MB / 0.6973 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007345/0.7447, allocations: 294.8 kB / 0.6976 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.745, allocations: 156.5 kB / 0.6977 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.746, allocations: 406.2 kB / 0.6981 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.7461, allocations: 38.56 kB / 0.6981 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.204e-06/0.7461, allocations: 3.938 kB / 0.6981 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.00182/0.7479, allocations: 0.6344 MB / 0.6988 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.748, allocations: 166.1 kB / 0.6989 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007484/0.7488, allocations: 0.5261 MB / 0.6994 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.7488, allocations: 33.7 kB / 0.6995 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.7491, allocations: 304.1 kB / 0.6998 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.7492, allocations: 130.9 kB / 0.6999 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.7494, allocations: 122.1 kB / 0.7 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.7496, allocations: 362.8 kB / 0.7003 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.75, allocations: 144.9 kB / 0.7005 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/0.7505, allocations: 427.8 kB / 0.7009 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007707/0.7513, allocations: 470.8 kB / 0.7013 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.7513, allocations: 4 kB / 0.7013 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001144/0.7524, allocations: 0.5754 MB / 0.7019 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.7525, allocations: 4.625 kB / 0.7019 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.7525, allocations: 12 kB / 0.7019 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.7541, allocations: 244.6 kB / 0.7022 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004346/0.7545, allocations: 115.8 kB / 0.7023 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005924/0.7551, allocations: 0.5875 MB / 0.7028 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.7556, allocations: 59.56 kB / 0.7029 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-05/0.7556, allocations: 51.98 kB / 0.7029 GB, free: 2.23 MB / 0.5294 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.000356/0.756, allocations: 189.6 kB / 0.7031 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.7562, allocations: 67.62 kB / 0.7032 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.7578, allocations: 0.7524 MB / 0.7039 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.7579, allocations: 4 kB / 0.7039 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7579, allocations: 0 / 0.7039 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7579, allocations: 0 / 0.7039 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.7595, allocations: 0.9216 MB / 0.7048 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7595, allocations: 4.188 kB / 0.7048 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.7598, allocations: 55.86 kB / 0.7049 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003207/0.763, allocations: 440.2 kB / 0.7053 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.763, allocations: 8 kB / 0.7053 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005637/0.7636, allocations: 0.6038 MB / 0.7059 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.7636, allocations: 4.031 kB / 0.7059 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009691/0.7645, allocations: 0.4977 MB / 0.7064 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.7647, allocations: 67.61 kB / 0.7065 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.7648, allocations: 20.48 kB / 0.7065 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.7652, allocations: 15.94 kB / 0.7065 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.7653, allocations: 31.89 kB / 0.7065 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.7653, allocations: 19.98 kB / 0.7065 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007281/0.7661, allocations: 438.8 kB / 0.707 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.7661, allocations: 0 / 0.707 GB, free: 13.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001377/0.7675, allocations: 339.2 kB / 0.7073 GB, free: 13.62 MB / 0.545 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.002753/0.7702, allocations: 1.405 MB / 0.7087 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009683/0.7712, allocations: 355.5 kB / 0.709 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7712, allocations: 1.25 kB / 0.709 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.7715, allocations: 140.2 kB / 0.7091 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.7734, allocations: 402 kB / 0.7095 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007772/0.7812, allocations: 5.045 MB / 0.7144 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.7815, allocations: 271.9 kB / 0.7147 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008307/0.7823, allocations: 225.1 kB / 0.7149 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/0.7827, allocations: 223.4 kB / 0.7151 GB, free: 5.27 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.7827, allocations: 0 / 0.7151 GB, free: 5.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06871/0.8514, allocations: 26.1 MB / 0.7406 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.42, allocations: 4.062 kB / 0.7406 GB, free: 11.14 MB / 0.5762 GB " [Timeout remaining time 645] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.606657406315207]