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.001287/0.001287, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001411/0.001411, allocations: 216.1 kB / 23.77 MB, free: 4.551 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.488/1.488, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.2469/0.2469, allocations: 44.26 MB / 331.1 MB, free: 9.332 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",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.002107/0.002107, allocations: 67.91 kB / 468.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1307, allocations: 61.05 MB / 0.5169 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4843/0.6151, allocations: 162.7 MB / 0.6758 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.626, allocations: 6.458 MB / 0.6821 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.6273, allocations: 23.81 kB / 0.6822 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.6286, allocations: 325.8 kB / 0.6825 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008914/0.6375, allocations: 2.437 MB / 0.6849 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.6404, allocations: 0.961 MB / 0.6858 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003203/0.6436, allocations: 1.722 MB / 0.6875 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007952/0.6444, allocations: 378.3 kB / 0.6878 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.6464, allocations: 0.8721 MB / 0.6887 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008844/0.6473, allocations: 0.5254 MB / 0.6892 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.6474, allocations: 52 kB / 0.6893 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003312/0.6508, allocations: 1.236 MB / 0.6905 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.651, allocations: 175.4 kB / 0.6906 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.6515, allocations: 314.8 kB / 0.6909 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.6546, allocations: 1.686 MB / 0.6926 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6546, allocations: 3.938 kB / 0.6926 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6546, allocations: 0 / 0.6926 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.6546, allocations: 0 / 0.6926 GB, free: 14.27 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.002095/0.6567, allocations: 1.088 MB / 0.6936 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.6568, allocations: 16.03 kB / 0.6937 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.757e-05/0.6568, allocations: 12.94 kB / 0.6937 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.657, allocations: 90.52 kB / 0.6938 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.6583, allocations: 155.5 kB / 0.6939 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008985/0.6592, allocations: 453.5 kB / 0.6943 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.6592, allocations: 33 kB / 0.6944 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-05/0.6593, allocations: 44 kB / 0.6944 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.6606, allocations: 1.038 MB / 0.6954 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.6607, allocations: 7.875 kB / 0.6954 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.6607, allocations: 31.94 kB / 0.6955 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.6607, allocations: 12 kB / 0.6955 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009224/0.6617, allocations: 499.6 kB / 0.6959 GB, free: 10.6 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.003154/0.6648, allocations: 2.114 MB / 0.698 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006903/0.6655, allocations: 298.8 kB / 0.6983 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.6658, allocations: 148.5 kB / 0.6984 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009742/0.6668, allocations: 414.2 kB / 0.6988 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.6668, allocations: 42.5 kB / 0.6989 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.554e-06/0.6668, allocations: 0 / 0.6989 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001678/0.6685, allocations: 0.6188 MB / 0.6995 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.6686, allocations: 166.1 kB / 0.6996 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.6693, allocations: 0.5223 MB / 0.7001 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.6693, allocations: 37.7 kB / 0.7002 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.6696, allocations: 312.1 kB / 0.7005 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.6697, allocations: 123 kB / 0.7006 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.6699, allocations: 114.1 kB / 0.7007 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.6701, allocations: 362.8 kB / 0.7011 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.6704, allocations: 144.9 kB / 0.7012 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.6709, allocations: 421.1 kB / 0.7016 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007659/0.6717, allocations: 474.8 kB / 0.702 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.6717, allocations: 4 kB / 0.7021 GB, free: 4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001022/0.6727, allocations: 0.5771 MB / 0.7026 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6727, allocations: 4 kB / 0.7026 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6727, allocations: 8 kB / 0.7026 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.6743, allocations: 245.1 kB / 0.7029 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.6748, allocations: 119.8 kB / 0.703 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005415/0.6753, allocations: 0.5836 MB / 0.7035 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.6757, allocations: 63.55 kB / 0.7036 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.062e-05/0.6758, allocations: 55.92 kB / 0.7037 GB, free: 2.316 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.0002801/0.676, allocations: 197.5 kB / 0.7038 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.6762, allocations: 63.62 kB / 0.7039 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.6777, allocations: 0.7329 MB / 0.7046 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.6777, allocations: 8 kB / 0.7046 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6777, allocations: 0 / 0.7046 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6777, allocations: 7.922 kB / 0.7046 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.6791, allocations: 0.9255 MB / 0.7055 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6791, allocations: 3.938 kB / 0.7055 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.6793, allocations: 47.97 kB / 0.7056 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/0.6826, allocations: 449.2 kB / 0.706 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.6826, allocations: 11.98 kB / 0.706 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004911/0.6831, allocations: 0.5922 MB / 0.7066 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6831, allocations: 4 kB / 0.7066 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/0.6839, allocations: 0.4977 MB / 0.7071 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.6841, allocations: 63.55 kB / 0.7072 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.6842, allocations: 15.95 kB / 0.7072 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.6845, allocations: 17.11 kB / 0.7072 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.6846, allocations: 35.91 kB / 0.7072 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.6846, allocations: 19.98 kB / 0.7072 GB, free: 14.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005689/0.6852, allocations: 438.8 kB / 0.7077 GB, free: 14.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6852, allocations: 0 / 0.7077 GB, free: 14.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001007/0.6862, allocations: 343.2 kB / 0.708 GB, free: 13.71 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.002081/0.6883, allocations: 1.396 MB / 0.7094 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008331/0.6891, allocations: 355.8 kB / 0.7097 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6891, allocations: 0 / 0.7097 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.6894, allocations: 139.8 kB / 0.7098 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.6913, allocations: 415.2 kB / 0.7102 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007221/0.6985, allocations: 5.06 MB / 0.7152 GB, free: 6.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.6988, allocations: 267.9 kB / 0.7154 GB, free: 5.797 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007964/0.6996, allocations: 221.1 kB / 0.7156 GB, free: 5.578 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.7, allocations: 227.3 kB / 0.7158 GB, free: 5.355 MB / 0.545 GB Notification: Performance of SimCode: time 1.413e-06/0.7, allocations: 4 kB / 0.7159 GB, free: 5.352 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06314/0.7631, allocations: 25.67 MB / 0.7409 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.93, allocations: 19.98 kB / 0.7409 GB, free: 11.64 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.381682886043563]