Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.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.2219/0.2219, allocations: 44.92 MB / 349.6 MB, free: 1.742 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 67.77 kB / 491.8 MB, free: 29.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1406, allocations: 64.26 MB / 0.543 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5154/0.6561, allocations: 183.7 MB / 0.7224 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006376/0.6624, allocations: 3.286 MB / 0.7256 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000892/0.6633, allocations: 11.94 kB / 0.7256 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.6645, allocations: 329.8 kB / 0.7259 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004239/0.6688, allocations: 1.413 MB / 0.7273 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.6709, allocations: 0.726 MB / 0.728 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.6732, allocations: 1.559 MB / 0.7295 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006533/0.6738, allocations: 379.5 kB / 0.7299 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009485/0.6748, allocations: 0.5956 MB / 0.7305 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005913/0.6754, allocations: 478 kB / 0.7309 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.6755, allocations: 52 kB / 0.731 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.6778, allocations: 1.209 MB / 0.7321 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.6779, allocations: 159.4 kB / 0.7323 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003611/0.6783, allocations: 350.4 kB / 0.7326 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.6805, allocations: 1.511 MB / 0.7341 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6805, allocations: 0 / 0.7341 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6805, allocations: 0 / 0.7341 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.6805, allocations: 0 / 0.7341 GB, free: 10.78 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001931/0.6824, allocations: 1.081 MB / 0.7352 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.6824, allocations: 8.031 kB / 0.7352 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.6826, allocations: 82.53 kB / 0.7352 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009854/0.6835, allocations: 147.5 kB / 0.7354 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.6844, allocations: 0.489 MB / 0.7359 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.6845, allocations: 36.98 kB / 0.7359 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.6845, allocations: 39.94 kB / 0.7359 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.6856, allocations: 0.5906 MB / 0.7365 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.6857, allocations: 3.938 kB / 0.7365 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.6857, allocations: 24 kB / 0.7365 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.6857, allocations: 15.94 kB / 0.7366 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009528/0.6867, allocations: 483.6 kB / 0.737 GB, free: 7.652 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.003302/0.69, allocations: 2.663 MB / 0.7396 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007395/0.6907, allocations: 331.5 kB / 0.7399 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.691, allocations: 157.3 kB / 0.7401 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004433/0.6915, allocations: 433.8 kB / 0.7405 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.6915, allocations: 38.84 kB / 0.7405 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/0.6915, allocations: 3.938 kB / 0.7405 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001812/0.6933, allocations: 0.7345 MB / 0.7413 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.6934, allocations: 132.5 kB / 0.7414 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.694, allocations: 498.1 kB / 0.7419 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.6941, allocations: 33.7 kB / 0.7419 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.6943, allocations: 288.3 kB / 0.7422 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.6944, allocations: 119 kB / 0.7423 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.6946, allocations: 110.1 kB / 0.7424 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.6948, allocations: 358.8 kB / 0.7427 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.6951, allocations: 148.8 kB / 0.7429 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.6955, allocations: 283.7 kB / 0.7431 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007492/0.6963, allocations: 445.5 kB / 0.7436 GB, free: 436 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6963, allocations: 0 / 0.7436 GB, free: 436 kB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001057/0.6973, allocations: 0.5406 MB / 0.7441 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.6973, allocations: 13.97 kB / 0.7441 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.6974, allocations: 7.984 kB / 0.7441 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.6989, allocations: 237 kB / 0.7443 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.6992, allocations: 103.9 kB / 0.7444 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005255/0.6998, allocations: 0.5992 MB / 0.745 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.7001, allocations: 47.66 kB / 0.7451 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.7002, allocations: 47.98 kB / 0.7451 GB, free: 14.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0002605/0.7004, allocations: 193.5 kB / 0.7453 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.7005, allocations: 59.62 kB / 0.7454 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.7025, allocations: 1.091 MB / 0.7464 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.7025, allocations: 4 kB / 0.7464 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.7025, allocations: 0 / 0.7464 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.7025, allocations: 0 / 0.7464 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.704, allocations: 1.026 MB / 0.7474 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7041, allocations: 0.875 kB / 0.7474 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.7043, allocations: 51.91 kB / 0.7475 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003181/0.7074, allocations: 452.2 kB / 0.7479 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.7075, allocations: 19.98 kB / 0.7479 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004909/0.708, allocations: 0.6031 MB / 0.7485 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.708, allocations: 4.031 kB / 0.7485 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/0.7088, allocations: 0.5157 MB / 0.749 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.709, allocations: 144.6 kB / 0.7492 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.99e-05/0.7091, allocations: 8 kB / 0.7492 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.7094, allocations: 23.98 kB / 0.7492 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.7094, allocations: 27.91 kB / 0.7492 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.7095, allocations: 15.98 kB / 0.7492 GB, free: 10.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005251/0.71, allocations: 422.8 kB / 0.7496 GB, free: 9.984 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.71, allocations: 0 / 0.7496 GB, free: 9.984 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008176/0.7108, allocations: 287.3 kB / 0.7499 GB, free: 9.703 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.001907/0.7127, allocations: 1.333 MB / 0.7512 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008507/0.7136, allocations: 351.6 kB / 0.7515 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7136, allocations: 4 kB / 0.7516 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.7139, allocations: 167.1 kB / 0.7517 GB, free: 7.824 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.7155, allocations: 372.4 kB / 0.7521 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00696/0.7225, allocations: 4.928 MB / 0.7569 GB, free: 2.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.723, allocations: 0.8596 MB / 0.7577 GB, free: 1.453 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00108/0.7241, allocations: 0.5593 MB / 0.7583 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.7245, allocations: 227.3 kB / 0.7585 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.7245, allocations: 0 / 0.7585 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05624/0.7807, allocations: 21.67 MB / 0.7796 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.71, allocations: 11.73 kB / 0.7797 GB, free: 11.23 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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: 16.863866723142564]