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.002014/0.002014, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.00245/0.00245, allocations: 215.7 kB / 23 MB, free: 5.004 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.437/1.437, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2238/0.2238, allocations: 44.23 MB / 330.3 MB, free: 9.625 MB / 270.1 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: 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.002455/0.002455, allocations: 73.61 kB / 467.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1232, allocations: 61.04 MB / 0.5162 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4572/0.5804, allocations: 188.6 MB / 0.7004 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.5915, allocations: 7.093 MB / 0.7073 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008127/0.5923, allocations: 23.81 kB / 0.7073 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.5936, allocations: 349.7 kB / 0.7076 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008361/0.6019, allocations: 2.444 MB / 0.71 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.6049, allocations: 0.9661 MB / 0.711 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003056/0.608, allocations: 1.722 MB / 0.7127 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009504/0.6089, allocations: 370.4 kB / 0.713 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.6111, allocations: 0.8643 MB / 0.7139 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.6123, allocations: 0.5292 MB / 0.7144 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.6125, allocations: 56 kB / 0.7144 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.6159, allocations: 1.537 MB / 0.7159 GB, free: 7.066 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.6162, allocations: 175.4 kB / 0.7161 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007524/0.617, allocations: 370.4 kB / 0.7164 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003951/0.6209, allocations: 1.756 MB / 0.7182 GB, free: 4.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6209, allocations: 0 / 0.7182 GB, free: 4.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.621, allocations: 0 / 0.7182 GB, free: 4.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.552e-05/0.621, allocations: 4 kB / 0.7182 GB, free: 4.766 MB / 0.545 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.002675/0.6237, allocations: 1.092 MB / 0.7192 GB, free: 3.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.6237, allocations: 12.02 kB / 0.7192 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.6239, allocations: 86.47 kB / 0.7193 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.6251, allocations: 155.5 kB / 0.7195 GB, free: 3.383 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.6262, allocations: 461.5 kB / 0.7199 GB, free: 2.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.6263, allocations: 37 kB / 0.72 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.6264, allocations: 47.88 kB / 0.72 GB, free: 2.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.6276, allocations: 0.64 MB / 0.7206 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.6276, allocations: 0 / 0.7206 GB, free: 2.133 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/0.6277, allocations: 23.94 kB / 0.7206 GB, free: 2.109 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.6277, allocations: 12 kB / 0.7207 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009879/0.6287, allocations: 0.4956 MB / 0.7211 GB, free: 1.602 MB / 0.545 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.003897/0.6326, allocations: 2.632 MB / 0.7237 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.6333, allocations: 298.6 kB / 0.724 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.6336, allocations: 152.7 kB / 0.7241 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.6346, allocations: 414.2 kB / 0.7245 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.6347, allocations: 38.56 kB / 0.7246 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.6347, allocations: 0 / 0.7246 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001724/0.6364, allocations: 0.6189 MB / 0.7252 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.6365, allocations: 170 kB / 0.7253 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007449/0.6373, allocations: 0.5184 MB / 0.7258 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.6373, allocations: 33.7 kB / 0.7259 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.6376, allocations: 312.1 kB / 0.7262 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.6377, allocations: 123 kB / 0.7263 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.6379, allocations: 114.1 kB / 0.7264 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.6381, allocations: 366.8 kB / 0.7268 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.6384, allocations: 144.9 kB / 0.7269 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.6389, allocations: 318.4 kB / 0.7272 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007889/0.6397, allocations: 470.7 kB / 0.7276 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.6397, allocations: 4 kB / 0.7276 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001155/0.6408, allocations: 0.573 MB / 0.7282 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.6409, allocations: 8 kB / 0.7282 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.6409, allocations: 10.64 kB / 0.7282 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.6425, allocations: 236.8 kB / 0.7284 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.6429, allocations: 119.8 kB / 0.7286 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000575/0.6435, allocations: 0.5914 MB / 0.7291 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.6439, allocations: 59.56 kB / 0.7292 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.67e-05/0.644, allocations: 51.98 kB / 0.7292 GB, free: 8.844 MB / 0.5606 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.0003484/0.6444, allocations: 193.6 kB / 0.7294 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.6445, allocations: 63.62 kB / 0.7295 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.6461, allocations: 0.7414 MB / 0.7302 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6461, allocations: 4 kB / 0.7302 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6461, allocations: 0 / 0.7302 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.6461, allocations: 3.984 kB / 0.7302 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.6479, allocations: 0.9995 MB / 0.7312 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6479, allocations: 0 / 0.7312 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.6481, allocations: 51.86 kB / 0.7313 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003213/0.6514, allocations: 445.2 kB / 0.7317 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/0.6514, allocations: 8 kB / 0.7317 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005265/0.6519, allocations: 0.5997 MB / 0.7323 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.6519, allocations: 8.062 kB / 0.7323 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.6528, allocations: 0.4938 MB / 0.7328 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.6529, allocations: 63.55 kB / 0.7328 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.653, allocations: 19.94 kB / 0.7328 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.6534, allocations: 13.12 kB / 0.7329 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.6535, allocations: 31.89 kB / 0.7329 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.6535, allocations: 19.98 kB / 0.7329 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005957/0.6541, allocations: 438.8 kB / 0.7333 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6541, allocations: 0 / 0.7333 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00106/0.6552, allocations: 339.2 kB / 0.7336 GB, free: 4.172 MB / 0.5606 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.002303/0.6575, allocations: 1.402 MB / 0.735 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009065/0.6584, allocations: 364.7 kB / 0.7354 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6584, allocations: 0 / 0.7354 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003208/0.6587, allocations: 143.8 kB / 0.7355 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.6606, allocations: 410.2 kB / 0.7359 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007996/0.6686, allocations: 5.041 MB / 0.7408 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.6693, allocations: 0.8677 MB / 0.7417 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009803/0.6703, allocations: 225 kB / 0.7419 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.6708, allocations: 227.4 kB / 0.7421 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.503e-06/0.6708, allocations: 4 kB / 0.7421 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07279/0.7436, allocations: 24.46 MB / 0.766 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.26, allocations: 7.922 kB / 0.766 GB, free: 2.711 MB / 0.5919 GB " [Timeout remaining time 646] (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: 17.55821107304655]