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.001683/0.001683, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.002083/0.002083, allocations: 212.9 kB / 23.74 MB, free: 4.688 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.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.2232/0.2232, allocations: 46.94 MB / 360.9 MB, free: 4.301 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.002157/0.002157, allocations: 67.89 kB / 0.4962 GB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3104, allocations: 66.04 MB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5001/0.8104, allocations: 186.8 MB / 0.7431 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00582/0.8163, allocations: 3.289 MB / 0.7463 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009482/0.8172, allocations: 23.53 kB / 0.7464 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.8182, allocations: 332.8 kB / 0.7467 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.822, allocations: 1.433 MB / 0.7481 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.8238, allocations: 0.7509 MB / 0.7488 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001816/0.8256, allocations: 1.577 MB / 0.7504 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000509/0.8261, allocations: 360.2 kB / 0.7507 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008258/0.8269, allocations: 0.6013 MB / 0.7513 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005948/0.8275, allocations: 488.4 kB / 0.7518 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.265e-05/0.8276, allocations: 53.94 kB / 0.7518 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.8298, allocations: 1.231 MB / 0.753 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.83, allocations: 167.2 kB / 0.7532 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.8304, allocations: 347.9 kB / 0.7535 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00238/0.8327, allocations: 1.514 MB / 0.755 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.8327, allocations: 0.9375 kB / 0.755 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8327, allocations: 0 / 0.755 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.8328, allocations: 0.8125 kB / 0.755 GB, free: 1.598 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.001877/0.8346, allocations: 1.008 MB / 0.756 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.8347, allocations: 7.375 kB / 0.756 GB, free: 17.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.273e-05/0.8348, allocations: 87.81 kB / 0.7561 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000933/0.8357, allocations: 142.7 kB / 0.7562 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.8364, allocations: 449.1 kB / 0.7566 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.8365, allocations: 32.69 kB / 0.7567 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.8365, allocations: 41.31 kB / 0.7567 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009033/0.8374, allocations: 0.5907 MB / 0.7573 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.8374, allocations: 3.094 kB / 0.7573 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.8375, allocations: 20.09 kB / 0.7573 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.8375, allocations: 17.55 kB / 0.7573 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007833/0.8383, allocations: 480 kB / 0.7578 GB, free: 16.64 MB / 0.5762 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.002853/0.8411, allocations: 2.639 MB / 0.7603 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/0.8418, allocations: 323.4 kB / 0.7606 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.842, allocations: 162.8 kB / 0.7608 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.8422, allocations: 49.44 kB / 0.7609 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.8422, allocations: 40.86 kB / 0.7609 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.8423, allocations: 0 / 0.7609 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001521/0.8438, allocations: 0.666 MB / 0.7615 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.8439, allocations: 131.7 kB / 0.7617 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.8443, allocations: 0.4895 MB / 0.7621 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.8444, allocations: 31.08 kB / 0.7622 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.8445, allocations: 287.7 kB / 0.7624 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/0.8446, allocations: 125.9 kB / 0.7626 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.8448, allocations: 102.5 kB / 0.7627 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.8449, allocations: 364.1 kB / 0.763 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.8452, allocations: 150.4 kB / 0.7632 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/0.8455, allocations: 289.4 kB / 0.7634 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.8462, allocations: 440.5 kB / 0.7639 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8462, allocations: 0 / 0.7639 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009074/0.8471, allocations: 0.5492 MB / 0.7644 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.8471, allocations: 4.938 kB / 0.7644 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.8471, allocations: 6.719 kB / 0.7644 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.8486, allocations: 238 kB / 0.7646 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.8489, allocations: 102 kB / 0.7647 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005592/0.8494, allocations: 0.6041 MB / 0.7653 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.8498, allocations: 50.52 kB / 0.7654 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.8499, allocations: 50.69 kB / 0.7654 GB, free: 12.96 MB / 0.5762 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.0002566/0.8501, allocations: 174.4 kB / 0.7656 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.8502, allocations: 58.27 kB / 0.7656 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.852, allocations: 1.101 MB / 0.7667 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.852, allocations: 5.156 kB / 0.7667 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.852, allocations: 0.8438 kB / 0.7667 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.852, allocations: 3.031 kB / 0.7667 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.8534, allocations: 1.004 MB / 0.7677 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.8534, allocations: 0 / 0.7677 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.8536, allocations: 54.53 kB / 0.7677 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003087/0.8567, allocations: 444.1 kB / 0.7682 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.8567, allocations: 10.22 kB / 0.7682 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004848/0.8572, allocations: 0.6179 MB / 0.7688 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.8572, allocations: 3.625 kB / 0.7688 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007682/0.8579, allocations: 0.5043 MB / 0.7693 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.8581, allocations: 67.55 kB / 0.7693 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.8582, allocations: 14.03 kB / 0.7694 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.8585, allocations: 18.27 kB / 0.7694 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.8586, allocations: 29.91 kB / 0.7694 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.8586, allocations: 18.97 kB / 0.7694 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000448/0.859, allocations: 424.4 kB / 0.7698 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.859, allocations: 0 / 0.7698 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008349/0.8599, allocations: 289.9 kB / 0.7701 GB, free: 11.4 MB / 0.5762 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.001723/0.8616, allocations: 1.323 MB / 0.7714 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008301/0.8624, allocations: 362.2 kB / 0.7717 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.8624, allocations: 5.031 kB / 0.7717 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.8628, allocations: 169.7 kB / 0.7719 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.8644, allocations: 350.3 kB / 0.7722 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00671/0.8711, allocations: 4.94 MB / 0.7771 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.8716, allocations: 0.8617 MB / 0.7779 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001036/0.8726, allocations: 0.5643 MB / 0.7785 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.8729, allocations: 224 kB / 0.7787 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.8729, allocations: 0 / 0.7787 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05872/0.9317, allocations: 21.98 MB / 0.8001 GB, free: 392 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.64, allocations: 0 / 0.8001 GB, free: 392 kB / 0.5762 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.702904728008434]