Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001311/0.001311, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.002394/0.002394, allocations: 208.7 kB / 23.72 MB, free: 4.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 46.95 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003071/0.003071, allocations: 67.91 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3387, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2454/0.5841, allocations: 161.7 MB / 0.7185 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006626/0.5907, allocations: 3.028 MB / 0.7215 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007871/0.5915, allocations: 23.81 kB / 0.7215 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.5925, allocations: 309.9 kB / 0.7218 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.5965, allocations: 1.434 MB / 0.7232 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.5985, allocations: 0.7355 MB / 0.7239 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002196/0.6007, allocations: 1.579 MB / 0.7255 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005967/0.6013, allocations: 371.7 kB / 0.7258 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009742/0.6023, allocations: 0.6073 MB / 0.7264 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006657/0.603, allocations: 458 kB / 0.7269 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.6031, allocations: 52 kB / 0.7269 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.6053, allocations: 0.9087 MB / 0.7278 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.6055, allocations: 163.4 kB / 0.7279 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.6058, allocations: 290.8 kB / 0.7282 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.6081, allocations: 1.448 MB / 0.7296 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6081, allocations: 4 kB / 0.7296 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6081, allocations: 0 / 0.7296 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.6081, allocations: 0 / 0.7296 GB, free: 6.473 MB / 0.5606 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.002092/0.6102, allocations: 0.9983 MB / 0.7306 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.6102, allocations: 12.03 kB / 0.7306 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.6104, allocations: 86.52 kB / 0.7307 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009785/0.6114, allocations: 143.5 kB / 0.7308 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.6123, allocations: 441.6 kB / 0.7313 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.6123, allocations: 32.94 kB / 0.7313 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.6124, allocations: 36 kB / 0.7313 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.6137, allocations: 0.8958 MB / 0.7322 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.6138, allocations: 7.938 kB / 0.7322 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/0.6138, allocations: 16 kB / 0.7322 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.6138, allocations: 12 kB / 0.7322 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.6149, allocations: 483.6 kB / 0.7327 GB, free: 3.156 MB / 0.5606 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.003098/0.618, allocations: 1.977 MB / 0.7346 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000789/0.6187, allocations: 327.4 kB / 0.7349 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.6191, allocations: 153.3 kB / 0.7351 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/0.6193, allocations: 56.23 kB / 0.7351 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.6194, allocations: 42.78 kB / 0.7352 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.485e-06/0.6194, allocations: 0 / 0.7352 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.2396/0.859, allocations: 0.6575 MB / 0.7358 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.8591, allocations: 133.4 kB / 0.736 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008537/0.8599, allocations: 0.4928 MB / 0.7364 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.86, allocations: 31.8 kB / 0.7365 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.8602, allocations: 288.2 kB / 0.7367 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.8603, allocations: 123.7 kB / 0.7369 GB, free: 176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.8605, allocations: 105.3 kB / 0.737 GB, free: 176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.8605, allocations: 358.2 kB / 0.7373 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.8609, allocations: 150.7 kB / 0.7374 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.8613, allocations: 365.1 kB / 0.7378 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007626/0.8621, allocations: 448.1 kB / 0.7382 GB, free: 175 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8621, allocations: 1.094 kB / 0.7382 GB, free: 175 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001044/0.8632, allocations: 0.5438 MB / 0.7388 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.8632, allocations: 6.859 kB / 0.7388 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.8632, allocations: 4 kB / 0.7388 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/0.8647, allocations: 246.5 kB / 0.739 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.8651, allocations: 105.4 kB / 0.7391 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003354/0.8654, allocations: 0.5918 MB / 0.7397 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.8657, allocations: 51.44 kB / 0.7397 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.8658, allocations: 46.84 kB / 0.7398 GB, free: 174.2 MB / 0.5606 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.0002035/0.866, allocations: 198.6 kB / 0.74 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.8661, allocations: 56.12 kB / 0.74 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.8678, allocations: 1.093 MB / 0.7411 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.8678, allocations: 3.719 kB / 0.7411 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8678, allocations: 1.266 kB / 0.7411 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8678, allocations: 7.609 kB / 0.7411 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.8689, allocations: 0.936 MB / 0.742 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8689, allocations: 0 / 0.742 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.8691, allocations: 62.66 kB / 0.7421 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/0.8721, allocations: 444.4 kB / 0.7425 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.8721, allocations: 11.7 kB / 0.7425 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002891/0.8724, allocations: 0.6077 MB / 0.7431 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8724, allocations: 0 / 0.7431 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.873, allocations: 0.5173 MB / 0.7436 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.8731, allocations: 66.5 kB / 0.7437 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.793e-05/0.8732, allocations: 8 kB / 0.7437 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.8735, allocations: 17.55 kB / 0.7437 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.8736, allocations: 31.89 kB / 0.7437 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.8736, allocations: 19.98 kB / 0.7437 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003784/0.874, allocations: 418.8 kB / 0.7441 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.874, allocations: 0 / 0.7441 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006858/0.8747, allocations: 293.2 kB / 0.7444 GB, free: 170.8 MB / 0.5606 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.00132/0.876, allocations: 1.317 MB / 0.7457 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000715/0.8767, allocations: 362.1 kB / 0.7461 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8767, allocations: 4 kB / 0.7461 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.877, allocations: 156.7 kB / 0.7462 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.8786, allocations: 370.9 kB / 0.7466 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/0.8837, allocations: 4.93 MB / 0.7514 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.8839, allocations: 263.5 kB / 0.7516 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008798/0.8848, allocations: 0.5522 MB / 0.7522 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.8851, allocations: 223.3 kB / 0.7524 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.8851, allocations: 0 / 0.7524 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0511/0.9362, allocations: 23.45 MB / 0.7753 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.4, allocations: 7.688 kB / 0.7753 GB, free: 139.4 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 17.494583023246378]